From 0d242997021955dce4a1d39b4c9e7836a15e873a Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 11 九月 2023 16:19:38 +0800
Subject: [PATCH] 打开H撤

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

diff --git a/huaxin_client/l2_client.py b/huaxin_client/l2_client.py
index 272f22b..16a6a88 100644
--- a/huaxin_client/l2_client.py
+++ b/huaxin_client/l2_client.py
@@ -11,7 +11,7 @@
 from huaxin_client import l2_data_manager
 import lev2mdapi
 from huaxin_client.command_manager import L2ActionCallback
-from log_module import log
+from log_module import log, async_log_util
 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
 
@@ -284,7 +284,7 @@
             if transaction_big_order_nos and pTransaction['BuyNo'] in transaction_big_order_nos:
                 # 姝e湪鎴愪氦鐨勮鍗曟挙鍗曚簡
                 l2_data_manager.trading_order_canceled(code, pTransaction['BuyNo'])
-                logger_local_huaxin_g_cancel.info(f"G鎾ゆ挙鍗曪細{code} - {pTransaction['BuyNo']}")
+                async_log_util.info(logger_local_huaxin_g_cancel, f"G鎾ゆ挙鍗曪細{code} - {pTransaction['BuyNo']}")
             if min_volume is None:
                 # 榛樿绛涢��50w
                 if pTransaction['TradePrice'] * pTransaction['Volume'] < 500000:
@@ -360,7 +360,7 @@
                 if transaction_big_order_nos and pOrderDetail['OrderNO'] in transaction_big_order_nos:
                     # 姝e湪鎴愪氦鐨勮鍗曟挙鍗曚簡
                     l2_data_manager.trading_order_canceled(code, pOrderDetail['OrderNO'])
-                    logger_local_huaxin_g_cancel.info(f"G鎾ゆ挙鍗曪細{code} - {pOrderDetail['OrderNO']}")
+                    async_log_util.info(logger_local_huaxin_g_cancel, f"G鎾ゆ挙鍗曪細{code} - {pOrderDetail['OrderNO']}")
 
             min_volume, limit_up_price = self.codes_volume_and_price_dict.get(code)
             if min_volume is None:

--
Gitblit v1.8.0