From a00da3062c6c825b585f82275823ac45cdeb6502 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 19 一月 2024 19:16:20 +0800 Subject: [PATCH] L后成交太快撤单 --- third_data/kpl_data_manager.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/third_data/kpl_data_manager.py b/third_data/kpl_data_manager.py index 34e589a..032e98e 100644 --- a/third_data/kpl_data_manager.py +++ b/third_data/kpl_data_manager.py @@ -401,10 +401,9 @@ def get_limit_up(): while True: - if tool.is_trade_time(): + if tool.is_trade_time() and int(tool.get_now_time_str().replace(':', '')) > int("092530"): try: results = kpl_api.getLimitUpInfoNew() - results = kpl_util.filter_block(results) result = json.loads(results) start_time = time.time() __upload_data("limit_up", result) @@ -447,7 +446,7 @@ time.sleep(3) threading.Thread(target=get_limit_up, daemon=True).start() - threading.Thread(target=get_bidding_money, daemon=True).start() + # threading.Thread(target=get_bidding_money, daemon=True).start() # threading.Thread(target=get_market_industry, daemon=True).start() # threading.Thread(target=get_market_jingxuan, daemon=True).start() -- Gitblit v1.8.0