소스 검색

移除不必要检测

skyfffire 10 달 전
부모
커밋
0a29ea6a1d
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      strategy/src/predictor.rs

+ 0 - 8
strategy/src/predictor.rs

@@ -451,14 +451,6 @@ impl Predictor {
             return;
         }
 
-        if self.optimal_ask_price < self.ask_price {
-            return;
-        }
-
-        if self.optimal_bid_price > self.bid_price {
-            return;
-        }
-
         if self.trade_long_vec.len() < 100 {
             return;
         }