From ff6d60a42364ba8e2d0d5cfb5504454bee8017ad Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 05 九月 2024 15:38:09 +0800
Subject: [PATCH] L2数据输出接口修改

---
 servers/data_server.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/servers/data_server.py b/servers/data_server.py
index f12c0fb..b95354c 100644
--- a/servers/data_server.py
+++ b/servers/data_server.py
@@ -362,6 +362,8 @@
                 date = ps_dict.get('date')
                 time_str = ps_dict.get('time')
                 end_index = ps_dict.get('end_index')
+                if end_index:
+                    end_index = int(end_index)
                 total_datas = l2_data_util.local_today_datas.get(code)
                 if not total_datas:
                     total_datas = []
@@ -828,7 +830,7 @@
                         pass
                     try:
                         OpenLimitUpGoodBlocksBuyStrategy.set_current_limit_up_data(result_list_)
-                        RadicalBuyBlockManager.compute_open_limit_up_code_dict_for_radical_buy(result_list_)
+                        RadicalBuyBlockManager.set_current_limit_up_datas(result_list_)
                     except:
                         pass
 

--
Gitblit v1.8.0