Administrator
2024-01-30 122da3ffa74a8ab894b918f96814dc3ca1c8da73
L撤囊括范围修改
1个文件已修改
4 ■■■■ 已修改文件
l2/cancel_buy_strategy.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/cancel_buy_strategy.py
@@ -1089,9 +1089,9 @@
                min_num = 0
                if not_cancel_indexes_with_num:
                    temp_count = len(not_cancel_indexes_with_num)
                    # 取后1/3的数据
                    # 取后1/5的数据
                    if temp_count >= 30:
                        temp_index = int(temp_count * 5 / 6)
                        temp_index = int(temp_count * 4 / 5)
                        re_start_index = not_cancel_indexes_with_num[temp_index][0]
                        MAX_COUNT = len(not_cancel_indexes_with_num[temp_index:])
                    else: