skyfffire 11 місяців тому
батько
коміт
5efaeda398
1 змінених файлів з 1 додано та 1 видалено
  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);
             }
         });