ソースを参照

保存数据70w.

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);
             }
         });