From 5401f10e1aa9cd98683b8f9639b0e9ac13b05f9a Mon Sep 17 00:00:00 2001
From: log
Date: Thu, 23 Jul 2026 20:01:33 +0800
Subject: [PATCH] fix: exclude ST and delisted stocks during data updates
---
data/selection_result.json | 165 +++++++++++++++++++++++++++++++++++++------------------
1 files changed, 111 insertions(+), 54 deletions(-)
diff --git a/data/selection_result.json b/data/selection_result.json
index d968a0f..c02e676 100644
--- a/data/selection_result.json
+++ b/data/selection_result.json
@@ -2,87 +2,144 @@
"selected_stocks": [
{
"rank": 1,
- "stock_code": 1242,
- "stock_name": "紫金矿业",
- "score": 5.0750884,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "000537",
+ "stock_name": "绿发电力",
+ "score": 1.0,
+ "industry": "制造"
},
{
"rank": 2,
- "stock_code": 1008,
- "stock_name": "中国海油",
- "score": 4.86056442,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "002281",
+ "stock_name": "光迅科技",
+ "score": 0.7343,
+ "industry": "制造"
},
{
"rank": 3,
- "stock_code": 602,
- "stock_name": "华胜天成",
- "score": 4.50454551,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "600977",
+ "stock_name": "中国电影",
+ "score": 0.7283,
+ "industry": "工业"
},
{
"rank": 4,
- "stock_code": 1225,
- "stock_name": "中国石油",
- "score": 3.5582546,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "300251",
+ "stock_name": "光线传媒",
+ "score": 0.6934,
+ "industry": "科技"
},
{
"rank": 5,
- "stock_code": 1040,
- "stock_name": "宝丰能源",
- "score": 3.3200589,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "688223",
+ "stock_name": "晶科能源",
+ "score": 0.6345,
+ "industry": "工业"
},
{
"rank": 6,
- "stock_code": 1232,
- "stock_name": "招商轮船",
- "score": 3.1214925,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "300623",
+ "stock_name": "捷捷微电",
+ "score": 0.6286,
+ "industry": "科技"
},
{
"rank": 7,
- "stock_code": 3271,
- "stock_name": "湖南黄金",
- "score": 2.94284,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "002739",
+ "stock_name": "万达电影",
+ "score": 0.6268,
+ "industry": "制造"
},
{
"rank": 8,
- "stock_code": 648,
- "stock_name": "中金黄金",
- "score": 2.8352792,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "688561",
+ "stock_name": "奇安信",
+ "score": 0.6092,
+ "industry": "工业"
},
{
"rank": 9,
- "stock_code": 4556,
- "stock_name": "新易盛",
- "score": 2.83095134,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "300316",
+ "stock_name": "晶盛机电",
+ "score": 0.5992,
+ "industry": "科技"
},
{
"rank": 10,
- "stock_code": 655,
- "stock_name": "烽火通信",
- "score": 2.681085,
- "reasons": "基于市场活跃度推荐"
+ "stock_code": "300454",
+ "stock_name": "深信服",
+ "score": 0.5943,
+ "industry": "科技"
+ },
+ {
+ "rank": 11,
+ "stock_code": "300394",
+ "stock_name": "天孚通信",
+ "score": 0.5885,
+ "industry": "科技"
+ },
+ {
+ "rank": 12,
+ "stock_code": "300383",
+ "stock_name": "光环新网",
+ "score": 0.5828,
+ "industry": "科技"
+ },
+ {
+ "rank": 13,
+ "stock_code": "300661",
+ "stock_name": "圣邦股份",
+ "score": 0.5804,
+ "industry": "科技"
+ },
+ {
+ "rank": 14,
+ "stock_code": "300122",
+ "stock_name": "智飞生物",
+ "score": 0.5725,
+ "industry": "科技"
+ },
+ {
+ "rank": 15,
+ "stock_code": "300373",
+ "stock_name": "扬杰科技",
+ "score": 0.5667,
+ "industry": "科技"
+ },
+ {
+ "rank": 16,
+ "stock_code": "000596",
+ "stock_name": "古井贡酒",
+ "score": 0.5662,
+ "industry": "制造"
+ },
+ {
+ "rank": 17,
+ "stock_code": "688506",
+ "stock_name": "百利天恒",
+ "score": 0.5641,
+ "industry": "工业"
+ },
+ {
+ "rank": 18,
+ "stock_code": "601233",
+ "stock_name": "桐昆股份",
+ "score": 0.5497,
+ "industry": "工业"
+ },
+ {
+ "rank": 19,
+ "stock_code": "300496",
+ "stock_name": "中科创达",
+ "score": 0.5484,
+ "industry": "科技"
+ },
+ {
+ "rank": 20,
+ "stock_code": "688520",
+ "stock_name": "神州细胞",
+ "score": 0.5458,
+ "industry": "工业"
}
],
- "portfolio_config": {
- "n": 10,
- "rebalance_frequency": "daily",
- "weighting_method": "equal_weight",
- "score_threshold": 0,
- "factor_weights": {}
- },
- "timestamp": "2026-03-02T14:07:57.026420",
- "data_month": "daily",
- "control_summary": {
- "industry": "行业分散: N/A",
- "volatility": "未应用",
- "drawdown": "未应用"
- }
+ "timestamp": "2026-03-11T02:05:50.506946"
}
\ No newline at end of file
--
Gitblit v1.8.0