@@ -379,8 +379,8 @@ impl Platform for BitgetSwap {
let max_qty = Decimal::NEGATIVE_ONE;
let min_notional = Decimal::from_str(market_info["minTradeUSDT"].as_str().unwrap()).unwrap();
let max_notional = Decimal::NEGATIVE_ONE;
- // let multiplier = Decimal::from_str(&market_info["sizeMultiplier"].as_str().unwrap()).unwrap();
- let multiplier = Decimal::ONE;
+ let multiplier = Decimal::from_str(&market_info["sizeMultiplier"].as_str().unwrap()).unwrap();
+ // let multiplier = Decimal::ONE;
let result = Market {
symbol: format!("{}_{}", base_asset, quote_asset),
@@ -6,7 +6,7 @@ use tokio::time::Instant;
use tracing::error;
use exchanges::response_base::ResponseData;
use global::trace_stack::TraceStack;
-use crate::{Account, OrderBook, Order, Position, PositionModeEnum, SpecialOrder, Depth, Trade, Ticker, Record};
+use crate::{Account, OrderBook, Order, Position, PositionModeEnum, SpecialOrder, Depth, Trade, Record};
// 处理账号信息
pub fn handle_account_info(response: &ResponseData, _symbol: &String) -> Account {