third_data/kpl_data_manager.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
third_data/kpl_data_manager.py
@@ -325,11 +325,13 @@ def get_limit_up(): while True: if tool.is_trade_time(): if tool.is_trade_time() or True: try: results = kpl_api.daBanList(kpl_api.DABAN_TYPE_LIMIT_UP) result = json.loads(results) start_time = time.time() __upload_data("limit_up", result) logger_kpl_limit_up_reason_change.info("上传耗时:{}", time.time() - start_time) except Exception as e: pass time.sleep(3)