From 69c26b43a88ced7a18a637ea6dd120671382deb0 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 19 九月 2024 00:46:04 +0800
Subject: [PATCH] bug修复

---
 l2/l2_transaction_data_processor.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/l2/l2_transaction_data_processor.py b/l2/l2_transaction_data_processor.py
index db3be19..07bb467 100644
--- a/l2/l2_transaction_data_processor.py
+++ b/l2/l2_transaction_data_processor.py
@@ -79,9 +79,7 @@
     @classmethod
     def process_huaxin_transaction_datas(cls, code, datas):
         __start_time = time.time()
-        limit_up_price = gpcode_manager.get_limit_up_price(code)
-        if limit_up_price:
-            limit_up_price = round(float(limit_up_price), 2)
+        limit_up_price = gpcode_manager.get_limit_up_price_as_num(code)
         # 璁剧疆鎴愪氦浠�
         try:
             current_price_process_manager.set_trade_price(code, datas[-1][1])
@@ -143,7 +141,7 @@
                     # GCancelBigNumComputer().set_big_sell_order_info(code, big_sell_order_info)
                     use_time_list.append(("澶勭悊鍗栧崟鐩稿叧鎾ゆ暟鎹�", time.time() - _start_time))
                     _start_time = time.time()
-                HuaXinSellOrderStatisticManager.statistic_total_deal_volume(code, datas)
+                HuaXinSellOrderStatisticManager.statistic_total_deal_volume(code, datas, limit_up_price)
                 use_time_list.append(("缁熻鎴愪氦閲忔暟鎹�", time.time() - _start_time))
             except Exception as e:
                 async_log_util.error(logger_debug, f"鍗栧崟缁熻寮傚父锛歿big_sell_order_info}")

--
Gitblit v1.8.0