skyfffire 1 жил өмнө
parent
commit
20c174a31c

+ 1 - 1
exchanges/tests/binance_swap_test.rs

@@ -19,7 +19,7 @@ const SECRET_KEY: &str = "";
 
 
 //ws-订阅公共频道信息
-#[tokio::test(flavor = "multi_thread", worker_threads = 5)]
+#[tokio::test(flavor = "multi_thread")]
 async fn ws_custom_subscribe() {
     global::log_utils::init_log_with_trace();
 

+ 0 - 1
strategy/src/binance_usdt_swap.rs

@@ -10,7 +10,6 @@ use crate::model::{OriginalTradeBa};
 use crate::quant::Quant;
 use exchanges::binance_swap_ws::{BinanceSwapSubscribeType, BinanceSwapWs, BinanceSwapWsType};
 use futures_util::StreamExt;
-use tracing::info;
 use crate::exchange_disguise::{on_special_depth};
 
 // 参考 币安 合约 启动