|
@@ -306,7 +306,7 @@ impl Core {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#[instrument(skip(self, data, trace_stack), level="TRACE")]
|
|
#[instrument(skip(self, data, trace_stack), level="TRACE")]
|
|
|
- pub async fn update_local_order(&mut self, data: OrderInfo, mut trace_stack: TraceStack) {
|
|
|
|
|
|
|
+ pub async fn update_local_order(&mut self, data: OrderInfo, trace_stack: TraceStack) {
|
|
|
// if data.filled != Decimal::ZERO {
|
|
// if data.filled != Decimal::ZERO {
|
|
|
// info!("\n\n");
|
|
// info!("\n\n");
|
|
|
// info!("接收到订单信息①:{:?}", data);
|
|
// info!("接收到订单信息①:{:?}", data);
|
|
@@ -608,7 +608,7 @@ impl Core {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#[instrument(skip(self, depth, name, trace_stack), level="TRACE")]
|
|
#[instrument(skip(self, depth, name, trace_stack), level="TRACE")]
|
|
|
- pub async fn _update_depth(&mut self, depth: Vec<Decimal>, name: String, mut trace_stack: TraceStack) {
|
|
|
|
|
|
|
+ pub async fn _update_depth(&mut self, depth: Vec<Decimal>, name: String, trace_stack: TraceStack) {
|
|
|
// 要从回调传入的深度信息中获取data.name
|
|
// 要从回调传入的深度信息中获取data.name
|
|
|
let market_update_interval_key = name.clone();
|
|
let market_update_interval_key = name.clone();
|
|
|
let market_update_time_key = name.clone();
|
|
let market_update_time_key = name.clone();
|