From 8d9d134ef893b7dcf1e7f9112810cc1358c27d20 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 26 四月 2024 18:16:16 +0800 Subject: [PATCH] S快撤大单修改 --- third_data/kpl_data_manager.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/third_data/kpl_data_manager.py b/third_data/kpl_data_manager.py index b2fef47..b4cd314 100644 --- a/third_data/kpl_data_manager.py +++ b/third_data/kpl_data_manager.py @@ -427,6 +427,7 @@ @return: """ # 淇娑ㄥ仠 + logger_debug.info("浠诲姟淇-寮�鐩樺暒锛氬惎鍔ㄤ慨澶�") key = "limit_up" if key not in cls.__latest_update_time_dict or time.time() - cls.__latest_update_time_dict[key] > 20: logger_debug.info("浠诲姟淇-寮�鐩樺暒锛氭定鍋滃垪琛�") @@ -437,7 +438,7 @@ def run_limit_up_task(cls): while True: try: - if (tool.is_trade_time() and int(tool.get_now_time_str().replace(':', '')) > int("092530")): + if (tool.is_trade_time() and int(tool.get_now_time_str().replace(':', '')) > int("092530")) or True: results = kpl_api.getLimitUpInfoNew() result = json.loads(results) start_time = time.time() -- Gitblit v1.8.0