From e59b4e4ae8e4861d850b208ffac75c0b967c6500 Mon Sep 17 00:00:00 2001
From: admin <admin@example.com>
Date: 星期一, 26 五月 2025 14:33:27 +0800
Subject: [PATCH] 1.修改有概念的强拉参数 2.修改充分交易量函数基础条件 3.GUI新增及修改 行情板块强度模块,服务端解析日志数据及应答 4.

---
 log_module/log_export.py |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/log_module/log_export.py b/log_module/log_export.py
index d9b077e..b916c31 100644
--- a/log_module/log_export.py
+++ b/log_module/log_export.py
@@ -53,6 +53,31 @@
     return contents
 
 
+def load_market_stock_heat(date=tool.get_now_date_str()):
+    """
+     鑾峰彇绮鹃�夋祦鍏ョ殑鎴愬垎鑲�
+    :param date:
+    :return:
+    """
+    path = f"{constant.get_path_prefix()}/low_suction_log/gp/kpl/market_sift_plate.{date}.log"
+    fdatas = []
+    if os.path.exists(path):
+        with open(path, 'r', encoding="utf-8") as f:
+            lines = f.readlines()
+            for line in lines:
+                if line:
+                    time_str = __get_async_log_time(line)
+                    try:
+                        data = line.split(" - ")[1].strip()
+                        if data.startswith("["):
+                            data = data[data.find("]") + 1:].strip()
+                        data_dict = eval(data)
+                        fdatas.append((time_str, data_dict))
+                    except:
+                        pass
+    return fdatas
+
+
 def load_stock_of_markets_plate(date=tool.get_now_date_str()):
     """
      鑾峰彇绮鹃�夋祦鍏ョ殑鎴愬垎鑲�

--
Gitblit v1.8.0