From 0d5e54227474721a5c25704a9e285e8a6fa1ac8b Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期日, 07 四月 2024 17:03:55 +0800 Subject: [PATCH] 测试激进买1手 --- l2/l2_data_manager_new.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/l2/l2_data_manager_new.py b/l2/l2_data_manager_new.py index efa9021..47415e3 100644 --- a/l2/l2_data_manager_new.py +++ b/l2/l2_data_manager_new.py @@ -1056,6 +1056,9 @@ if zyltgb_as_yi < zylt_threshold_as_yi[0]: return False, True, f"{zylt_threshold_as_yi[0]}浜夸互涓嬬殑閮戒笉涔帮紙{zyltgb_as_yi}锛�" + if constant.ALL_ACTIVE_BUY: + return True, False, "涔版墍鏈�" + # 鏈�浼樺競鍊� is_best_zylt = True if zylt_threshold_as_yi[4] <= zyltgb_as_yi <= zylt_threshold_as_yi[5] else False @@ -1644,7 +1647,7 @@ # 鑾峰彇鏉垮潡鏄惁鍙互婵�杩涗拱 # 鍙拱鐨勬澘鍧�, 鏄惁鐙嫍, 娑堟伅, 鍙拱鐨勫己鍔挎澘鍧�, 鍏抽敭璇�, 婵�杩涗拱鐨勬澘鍧� can_buy_result = CodePlateKeyBuyManager.can_buy(code) - if can_buy_result and can_buy_result[0] and can_buy_result[5]: + if (can_buy_result and can_buy_result[0] and can_buy_result[5]) or constant.ALL_ACTIVE_BUY: # 鏈夊彲涔版澘鍧楋紝鏈夋縺杩涗拱鏉垮潡 # 绗竴姝ワ細 璁$畻鎬诲崠棰� threshold_money = refer_sell_data[1] -- Gitblit v1.8.0