|
|
@@ -127,8 +127,11 @@ async fn on_private_data(core_arc_clone: Arc<Mutex<Core>>, ct_val: &Decimal, run
|
|
|
let mut order_infos:Vec<OrderInfo> = Vec::new();
|
|
|
for order in orders.order {
|
|
|
if order.status == "NULL" {
|
|
|
+ error!("bybit_usdt_swap 未识别的订单状态:{:?}", response);
|
|
|
+
|
|
|
continue;
|
|
|
}
|
|
|
+
|
|
|
let order_info = OrderInfo {
|
|
|
symbol: "".to_string(),
|
|
|
amount: order.amount.abs(),
|