From 3e451a1ef62913628d63035daaff6c6716548b1d Mon Sep 17 00:00:00 2001
From: admin <admin@example.com>
Date: 星期四, 27 二月 2025 14:36:55 +0800
Subject: [PATCH] 指数日志记录

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

diff --git a/huaxin_client/l1_api_client.py b/huaxin_client/l1_api_client.py
index cc290c0..5c60f4f 100644
--- a/huaxin_client/l1_api_client.py
+++ b/huaxin_client/l1_api_client.py
@@ -203,12 +203,12 @@
         # 鎸囨暟鏁版嵁
         try:
             data = {
-                # "LastPrice": pStockIndexData["LastPrice"],
-                "SecurityID": pStockIndexData["SecurityID"],
-                "UpdateTime": pStockIndexData["UpdateTime"],
-                "Volume": pStockIndexData["Volume"],
-                "Turnover": pStockIndexData["Turnover"],
-                "LXLastPrice": pStockIndexData["LXLastPrice"],
+                "LastPrice": pStockIndexData.LastPrice,
+                "SecurityID": pStockIndexData.SecurityID,
+                "UpdateTime": pStockIndexData.UpdateTime,
+                "Volume": pStockIndexData.Volume,
+                "Turnover": pStockIndexData.Turnover,
+                "LXLastPrice": pStockIndexData.LXLastPrice,
             }
             logger_debug.info(f"鎸囨暟琛屾儏搴旂瓟锛歿data}")
         except Exception as e:

--
Gitblit v1.8.0