From dbc2ec056e478704cc352586a22e9e07755b15f0 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 25 八月 2023 15:33:34 +0800 Subject: [PATCH] 共享内存测试 --- trade/l2_trade_factor.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trade/l2_trade_factor.py b/trade/l2_trade_factor.py index 0c62558..61d4d00 100644 --- a/trade/l2_trade_factor.py +++ b/trade/l2_trade_factor.py @@ -140,7 +140,7 @@ # 鑾峰彇鏃堕棿璁$畻鑼冨洿锛岃繑鍥瀞 def get_time_range(self): # ts = [pow(3, 1), pow(3, 1), pow(3, 1), pow(3, 2), pow(3, 2), pow(3, 3), pow(3, 3), pow(3, 3)] - ts = [pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 1)] + ts = [pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 1), pow(2, 2), pow(2, 2), pow(2, 2), pow(2, 2)] # 鏆傛椂鍘婚櫎鍒嗙殑褰卞搷 # if -1 < self.score_index < 3: # return ts[0] -- Gitblit v1.8.0