third_data/kpl_data_manager.py
@@ -395,7 +395,6 @@ requests.post("http://127.0.0.1:9004/upload_kpl_data", json.dumps(root_data)) def get_limit_up(): last_time = 0 while True: if tool.is_trade_time(): try: @@ -403,11 +402,6 @@ result = json.loads(results) start_time = time.time() __upload_data("limit_up", result) if start_time - last_time >= 60: last_time = time.time() # 记录涨停数据 logger_kpl_limit_up.info(result) # logger_kpl_limit_up_reason_change.info("上传耗时:{}", time.time() - start_time) except Exception as e: logging.exception(e) time.sleep(3)