|
|
@@ -6,7 +6,7 @@ use rust_decimal::Decimal;
|
|
|
use tokio::{spawn, time};
|
|
|
use tokio::sync::Mutex;
|
|
|
use tokio::time::Instant;
|
|
|
-use tracing::{error};
|
|
|
+use tracing::{error, info};
|
|
|
use exchanges::bybit_swap_ws::{BybitSwapLogin, BybitSwapSubscribeType, BybitSwapWs, BybitSwapWsType};
|
|
|
use exchanges::response_base::ResponseData;
|
|
|
use global::trace_stack::TraceStack;
|
|
|
@@ -133,6 +133,10 @@ async fn on_private_data(core_arc_clone: Arc<Mutex<Core>>, ct_val: &Decimal, run
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
+ if order.deal_amount != Decimal::ZERO {
|
|
|
+ info!("bybit order 消息原文:{:?}", response);
|
|
|
+ }
|
|
|
+
|
|
|
let order_info = OrderInfo {
|
|
|
symbol: "".to_string(),
|
|
|
amount: order.amount.abs(),
|