From e3ce9cb70874170882c5972c729cd506eebb635e Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 11 七月 2025 16:40:57 +0800 Subject: [PATCH] 加绿的规则调整/接口调整 --- cancel_strategy/s_l_h_cancel_strategy.py | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/cancel_strategy/s_l_h_cancel_strategy.py b/cancel_strategy/s_l_h_cancel_strategy.py index a69465f..5f39eca 100644 --- a/cancel_strategy/s_l_h_cancel_strategy.py +++ b/cancel_strategy/s_l_h_cancel_strategy.py @@ -599,10 +599,8 @@ if deal_big_order_info[0] <= 0: # 澶у崟瓒冲锛屽皢鍩虹姣斾緥璋冩暣鑷�79% threshold_rate = max(threshold_rate, 0.79) - return max(threshold_rate, human_rate), False, (threshold_rate, human_rate) else: - 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) -- Gitblit v1.8.0