From f4333824e6fc82eb7e6c0ff536f31baf6c7c8df2 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 26 六月 2025 14:21:47 +0800 Subject: [PATCH] L后自然最大撤单率最大80% --- 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 59bfd35..3ea367d 100644 --- a/cancel_strategy/s_l_h_cancel_strategy.py +++ b/cancel_strategy/s_l_h_cancel_strategy.py @@ -578,7 +578,7 @@ # 鏍规嵁鎴愪氦棰濈殑澶у崟鎴愪氦鍗犳瘮鏉ヨ绠楁挙鍗曟瘮渚� big_money_rate = radical_buy_data_manager.TotalDealBigOrderInfoManager.get_big_order_rate(code) if big_money_rate is not None: - threshold_rate = min(big_money_rate * 3, 0.95) + threshold_rate = min(big_money_rate * 3, 0.8) return threshold_rate, False else: deal_big_order_info = radical_buy_data_manager.get_total_deal_big_order_info(code, @@ -587,7 +587,7 @@ deal_rate = round(deal_big_order_info[1] / deal_big_order_info[2], 2) threshold_rate = 0.5 * deal_rate + 0.35 threshold_rate = max(threshold_rate, 0.375) - threshold_rate = min(threshold_rate, 0.95) + threshold_rate = min(threshold_rate, 0.8) return threshold_rate, False if must_buy: if is_up: -- Gitblit v1.8.0