Administrator
2024-03-27 b8e738e18f8aefc6dfb2737c01c2b2037862b079
third_data/kpl_data_manager.py
@@ -417,16 +417,22 @@
    def get_limit_up():
        while True:
            if (tool.is_trade_time() and int(tool.get_now_time_str().replace(':', '')) > int("092530")) or True:
                try:
            try:
                if (tool.is_trade_time() and int(tool.get_now_time_str().replace(':', '')) > int("092530")):
                    results = kpl_api.getLimitUpInfoNew()
                    result = json.loads(results)
                    start_time = time.time()
                    __upload_data("limit_up", result)
                except Exception as e:
            except Exception as e:
                try:
                    logging.exception(e)
                    logger_debug.exception(e)
            time.sleep(3)
                except:
                    pass
            except:
                pass
            finally:
                time.sleep(3)
    def get_bidding_money():
        # 竞价数据上传