Administrator
2023-08-15 491ab7a9956d78f5dfdfb21fa288b423f06f10a1
++++++++++++++++
bug修复-
1个文件已修改
6 ■■■■ 已修改文件
trade/huaxin/trade_server.py 6 ●●●● 补丁 | 查看 | 原始文档 | 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):