Browse Source

完成bitget

gepangpang 1 year ago
parent
commit
5a8a66a96f
1 changed files with 0 additions and 2 deletions
  1. 0 2
      standard/src/bitget_swap.rs

+ 0 - 2
standard/src/bitget_swap.rs

@@ -450,7 +450,6 @@ impl Platform for BitgetSwap {
             "marginCoin": "USDT",
             "size": amount.to_string()
         });
-        println!("000000000000000000000000000000 {},{},{},{},{},{}", price.eq(&Decimal::ZERO), amount, multiplier, amount % multiplier, amount % multiplier != dec!(0), ((amount / multiplier).ceil() * multiplier).to_string());
         if price.eq(&Decimal::ZERO) {
             params["orderType"] = json!("market");
             params["force"] = json!("gtc");
@@ -482,7 +481,6 @@ impl Platform for BitgetSwap {
             _ => { panic!("bitget_usdt_swap 下单参数错误"); }
         };
 
-        info!(?params);
         let res_data = self.request.swap_order(params).await;
         if res_data.code != 200 {
             return Err(Error::new(ErrorKind::Other, res_data.to_string()));