From 0acb55dbb2d251472f902b3bb721fd888ab9a31f Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 08 一月 2024 17:37:32 +0800
Subject: [PATCH] 增加获取当前正在委托详情API/下单后立马移除红名单

---
 huaxin_client/l2_client.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/huaxin_client/l2_client.py b/huaxin_client/l2_client.py
index 2905103..054d3b4 100644
--- a/huaxin_client/l2_client.py
+++ b/huaxin_client/l2_client.py
@@ -16,6 +16,7 @@
 from huaxin_client.command_manager import L2ActionCallback
 from huaxin_client.l2_data_manager import L2DataUploadManager
 from log_module import log, async_log_util
+from log_module.async_log_util import huaxin_l2_log
 from log_module.log import logger_local_huaxin_l2_subscript, logger_system, logger_local_huaxin_l2_transaction, \
     logger_local_huaxin_g_cancel, logger_l2_codes_subscript
 from utils import tool
@@ -193,8 +194,7 @@
             self.l2_data_upload_manager.set_order_fileter_condition(code, min_volume, limit_up_price,
                                                                     {volume, constant.SHADOW_ORDER_VOLUME},
                                                                     time.time() + 3)
-
-            async_log_util.info(logger_local_huaxin_l2_subscript, f"璁剧疆涓嬪崟閲忕洃鍚細{code}-{volume}")
+            huaxin_l2_log.info(logger_local_huaxin_l2_subscript, f"璁剧疆涓嬪崟閲忕洃鍚細{code}-{volume}")
 
     def OnFrontConnected(self):
         print("OnFrontConnected")

--
Gitblit v1.8.0