skyfffire 11 mesiacov pred
rodič
commit
5efaeda398
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      strategy/src/avellaneda_stoikov.rs

+ 1 - 1
strategy/src/avellaneda_stoikov.rs

@@ -573,7 +573,7 @@ impl AvellanedaStoikov {
             });
 
             // 长度限定,最大100w条
-            if cci.predictor_state_vec.len() > 10_000 {
+            if cci.predictor_state_vec.len() > 700_000 {
                 cci.predictor_state_vec.remove(0);
             }
         });