Browse Source

fair显示

skyffire 9 months ago
parent
commit
789d906bdb
1 changed files with 2 additions and 2 deletions
  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 cci_arc = self.cci_arc.clone();
         let now = data_time;
         let now = data_time;
         let mid_price = self.mid_price;
         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_ask_price = self.optimal_ask_price;
         let optimal_bid_price = self.optimal_bid_price;
         let optimal_bid_price = self.optimal_bid_price;
         let last_price = Self::DONT_VIEW;
         let last_price = Self::DONT_VIEW;