trade/huaxin/trade_server.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
trade/huaxin/trade_server.py
@@ -375,13 +375,13 @@ val = pipe_l1.recv() if val: val = json.loads(val) print("收到来自L1的数据:", val) print("收到来自L1的数据:", val["type"]) # 处理数据 type_ = val["type"] if type_ == "set_target_codes": TradeServerProcessor.set_target_codes(val) except: pass except Exception as e: logging.exception(e) class OutsideApiCommandCallback(outside_api_command_manager.ActionCallback):