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: