Explorar o código

移除非必要日志。

skyfffire hai 1 ano
pai
achega
accec8f16c
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      strategy/src/strategy.rs

+ 0 - 2
strategy/src/strategy.rs

@@ -1012,7 +1012,6 @@ impl Strategy {
                     continue
                 }
                 // debug!(?key, ?order.price, ?long_upper, ?long_lower);
-                info!("kd-{}-{}", self.side, key);
                 command.cancel.insert(key.clone(), value.clone());
             }
 
@@ -1022,7 +1021,6 @@ impl Strategy {
                 if order.price >= short_lower && order.price <= short_upper && self.side == "short".to_string() {
                     continue
                 }
-                info!("kk-{}-{}", self.side, key);
                 // debug!(?key, ?order.price, ?short_lower, ?short_upper);
                 command.cancel.insert(key.clone(), value.clone());
             }