skyffire 9 meses atrás
pai
commit
789d906bdb
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      strategy/src/predictor.rs

+ 2 - 2
strategy/src/predictor.rs

@@ -387,8 +387,8 @@ impl Predictor {
         // let cci_arc = self.cci_arc.clone();
         let now = data_time;
         let mid_price = self.mid_price;
-        let ask_price = self.fair_price_std_vec[0];
-        let bid_price = self.fair_price_std_vec[1];
+        let ask_price = self.fair_price;
+        let bid_price = Self::DONT_VIEW;
         let optimal_ask_price = self.optimal_ask_price;
         let optimal_bid_price = self.optimal_bid_price;
         let last_price = Self::DONT_VIEW;