cancel_strategy/s_l_h_cancel_strategy.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
cancel_strategy/s_l_h_cancel_strategy.py
@@ -1551,7 +1551,7 @@ # 除开最大单的影响权重 if not must_buy: temp_thresh_hold_rate = round((total_num - max_num * max_num_count) * 0.9 / total_num, 2) temp_thresh_hold_rate = round((total_num - max_num * max_num_count) * 0.8 / total_num, 2) if thresh_hold_rate > temp_thresh_hold_rate: # 目标撤单比例大于大单撤单比例就取比例均值 thresh_hold_rate = round((thresh_hold_rate + temp_thresh_hold_rate) / 2, 2)