From 045e713ec1ac2f7c92c69ef31c02035661fc98dc Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 16 七月 2025 14:05:52 +0800 Subject: [PATCH] 续买金额设置/L后撤日志修改 --- cancel_strategy/s_l_h_cancel_strategy.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cancel_strategy/s_l_h_cancel_strategy.py b/cancel_strategy/s_l_h_cancel_strategy.py index fcf732a..cdafb0a 100644 --- a/cancel_strategy/s_l_h_cancel_strategy.py +++ b/cancel_strategy/s_l_h_cancel_strategy.py @@ -578,7 +578,7 @@ """ try: must_buy = cls.__MustBuyCodesManager.is_in_cache(code) - if buy_mode == OrderBeginPosInfo.MODE_RADICAL: + if buy_mode == OrderBeginPosInfo.MODE_RADICAL or True: try: human_rate = CancelRateHumanSettingManager().get_l_down(code) if human_rate is None: @@ -1603,7 +1603,7 @@ # 鐩爣鎾ゅ崟姣斾緥澶т簬澶у崟鎾ゅ崟姣斾緥灏卞彇姣斾緥鍧囧�� thresh_hold_rate = round((thresh_hold_rate + temp_thresh_hold_rate) / 2, 2) l2_log.l_cancel_debug(code, - f"L鍚庤绠楄寖鍥达細{start_index}-{end_index},宸叉挙鍗曟瘮渚嬶細{rate}/{thresh_hold_rate}, 涓嬪崟浣嶄箣鍚庣殑绱㈠紩锛歿after_place_order_index_dict}, 鏈�澶у崟-({max_num}锛寋max_num_count})") + f"L鍚庤绠楄寖鍥达細{start_index}-{end_index},宸叉挙鍗曟瘮渚嬶細{rate}/{thresh_hold_rate}, 涓嬪崟浣嶄箣鍚庣殑绱㈠紩锛歿after_place_order_index_dict}, 鏈�澶у崟-({max_num}锛寋max_num_count}), 浜轰负璁剧疆-{cancel_rate_info}") if rate >= thresh_hold_rate: canceled_indexes.sort() l2_log.l_cancel_debug(code, f"L鍚庢挙鍗�,鎾ゅ崟浣嶇疆锛歿canceled_indexes[-1]}") -- Gitblit v1.8.0