From 4fa4ef19ea145ec3582909cb9c6deb6c92a6e220 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期三, 19 七月 2023 13:12:54 +0800
Subject: [PATCH] bug修复

---
 l2/l2_data_manager_new.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/l2/l2_data_manager_new.py b/l2/l2_data_manager_new.py
index b0c3625..42f28e4 100644
--- a/l2/l2_data_manager_new.py
+++ b/l2/l2_data_manager_new.py
@@ -237,6 +237,7 @@
             # 鑾峰彇涓嬪崟浣嶇疆
             place_order_index = huaxin_delegate_postion_manager.get_l2_place_order_position(code, datas)
             if place_order_index:
+                logger_l2_process.info("code:{} 鑾峰彇鍒颁笅鍗曠湡瀹炰綅缃細{}",code,place_order_index)
                 DCancelBigNumComputer.set_real_order_index(code, place_order_index)
 
             __start_time = round(t.time() * 1000)
@@ -295,6 +296,9 @@
             cls.volume_rate_info[code] = (volume_rate, volume_rate_index)
 
             latest_time = add_datas[len(add_datas) - 1]["val"]["time"]
+
+            __start_time = l2_data_log.l2_time(code, round(t.time() * 1000) - __start_time,
+                                               "l2鏁版嵁鍑嗗鏃堕棿")
             # 鏃堕棿宸笉鑳藉お澶ф墠鑳藉鐞�
             if not l2_trade_util.is_in_forbidden_trade_codes(code):
                 # 鍒ゆ柇鏄惁宸茬粡鎸傚崟

--
Gitblit v1.8.0