huaxin_client/trade_client.py
@@ -892,7 +892,7 @@ def OnTrade(self, client_id, request_id, sk, type_, data): if type_ == 1: async_log_util.info(logger_local_huaxin_trade_debug, f"\n---------------------\n请求下单:client_id-{client_id} request_id-{request_id}") f"\n---------------------\n请求下单:client_id-{client_id} request_id-{request_id} data:{data}") # 下单 # 1-买 2-卖 direction = data["direction"]