Explorar o código

保存数据70w.

skyfffire hai 11 meses
pai
achega
5efaeda398
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
             }
         });