记录名称发布与Redis资金源对照结论

This commit is contained in:
baobao 2026-11-16 15:19:56 +08:00
parent 39f9989a39
commit cb1b513d60
7 changed files with 1464 additions and 7 deletions

View File

@ -3209,3 +3209,8 @@ a44c994于10:53:29仅发布155的web,镜像pms:proposal-copy-a44c994。开发
## 2026-11-16 信号巡检与名称独立加载
14:52至14:54只读确认关注持仓14条正式信号最新11:07,原始流无午后遗漏,PMS消费无积压;15只高优先覆盖继续。实时资金源停10:18至10:20,分钟资金基线仅13/30天,已列明逐股证据并询问采集位置。修复页面等全体面板再加载名称:证券列表返回即查询,持仓关注优先、两批并发、6小时会话缓存,失败保留名称。范围仅页面,发布与验证见[接续](docs/信号运行巡检与名称刷新修复_2026-11-16.md)。
### 15:18 Redis对照与页面发布结论
按用户明确的214:36379/db0核验,239个当日分钟键已到15:00,五时点15只关注持仓均存在;需纠正“资金源停更”的泛化表述。问题在现有ITD资金告警仍读取滞后Mongo,当前129只池内全部落后,其他114只同样受影响。Redis只缺3个分钟键,抽查发现一条完全相同重复;历史日期22日还不能证明满足30日标定。原始消费和Redis事实均保留,未改188取数路径。名称页面39f9989于15:12:20仅发布155 web;最终88组候选断网回归和真实响应隔离浏览器通过,29个其他容器不变,15:12:51对账与连续确认正常。详情见本日[接续](docs/信号运行巡检与名称刷新修复_2026-11-16.md)。

View File

@ -0,0 +1,650 @@
{
"at": "2026-11-16T15:17:54.044951",
"endpoint": {
"host": "192.168.16.214",
"port": 36379,
"db": 0
},
"keys_today": 239,
"first_key": "stock_flow_realtime:2026-11-16:09:30",
"last_key": "stock_flow_realtime:2026-11-16:15:00",
"missing_key_minutes": [
"11:13",
"13:42",
"14:19"
],
"snapshots": [
{
"focused_unique": 15,
"duplicate_codes": {
"300133": {
"rows": 2,
"identical": true
}
},
"key": "stock_flow_realtime:2026-11-16:10:18",
"date": "2026-11-16",
"time": "10:18",
"crawl_time": "2026-11-16 10:18:00",
"hs_stocks": 5221,
"focused_present": 16,
"focused_missing": [],
"focused": [
{
"ts_code": "300291.SZ",
"stock_name": "百纳千成",
"api_timestamp": 1794795477,
"main_net_amount": 5642504.0,
"main_net_ratio": 2.09
},
{
"ts_code": "300750.SZ",
"stock_name": "宁德时代",
"api_timestamp": 1794795477,
"main_net_amount": 161879632.0,
"main_net_ratio": 4.3
},
{
"ts_code": "688625.SH",
"stock_name": "呈和科技",
"api_timestamp": 1794795485,
"main_net_amount": -2467374.0,
"main_net_ratio": -3.7
},
{
"ts_code": "300244.SZ",
"stock_name": "迪安诊断",
"api_timestamp": 1794795486,
"main_net_amount": -3340091.0,
"main_net_ratio": -1.34
},
{
"ts_code": "002979.SZ",
"stock_name": "雷赛智能",
"api_timestamp": 1794795486,
"main_net_amount": -4376078.0,
"main_net_ratio": -1.37
},
{
"ts_code": "688356.SH",
"stock_name": "键凯科技",
"api_timestamp": 1794795487,
"main_net_amount": -4411511.0,
"main_net_ratio": -5.81
},
{
"ts_code": "688485.SH",
"stock_name": "九州一轨",
"api_timestamp": 1794795486,
"main_net_amount": -9019596.0,
"main_net_ratio": -6.17
},
{
"ts_code": "688185.SH",
"stock_name": "康希诺",
"api_timestamp": 1794795486,
"main_net_amount": -10368043.0,
"main_net_ratio": -7.52
},
{
"ts_code": "300133.SZ",
"stock_name": "华策影视",
"api_timestamp": 1794795486,
"main_net_amount": -18818253.0,
"main_net_ratio": -2.4
},
{
"ts_code": "300182.SZ",
"stock_name": "捷成股份",
"api_timestamp": 1794795486,
"main_net_amount": -20672173.0,
"main_net_ratio": -3.24
},
{
"ts_code": "601126.SH",
"stock_name": "四方股份",
"api_timestamp": 1794795486,
"main_net_amount": -16852816.0,
"main_net_ratio": -10.32
},
{
"ts_code": "300133.SZ",
"stock_name": "华策影视",
"api_timestamp": 1794795486,
"main_net_amount": -18818253.0,
"main_net_ratio": -2.4
},
{
"ts_code": "301052.SZ",
"stock_name": "果麦文化",
"api_timestamp": 1794795486,
"main_net_amount": -18756409.0,
"main_net_ratio": -2.19
},
{
"ts_code": "603533.SH",
"stock_name": "掌阅科技",
"api_timestamp": 1794795486,
"main_net_amount": -48191962.0,
"main_net_ratio": -4.49
},
{
"ts_code": "300364.SZ",
"stock_name": "中文在线",
"api_timestamp": 1794795486,
"main_net_amount": -156147831.0,
"main_net_ratio": -13.42
},
{
"ts_code": "603259.SH",
"stock_name": "药明康德",
"api_timestamp": 1794795487,
"main_net_amount": -175838929.0,
"main_net_ratio": -11.54
}
]
},
{
"focused_unique": 15,
"duplicate_codes": {},
"key": "stock_flow_realtime:2026-11-16:11:00",
"date": "2026-11-16",
"time": "11:00",
"crawl_time": "2026-11-16 11:00:00",
"hs_stocks": 5223,
"focused_present": 15,
"focused_missing": [],
"focused": [
{
"ts_code": "300133.SZ",
"stock_name": "华策影视",
"api_timestamp": 1794797997,
"main_net_amount": 25898600.0,
"main_net_ratio": 2.05
},
{
"ts_code": "300750.SZ",
"stock_name": "宁德时代",
"api_timestamp": 1794797997,
"main_net_amount": 202807056.0,
"main_net_ratio": 4.29
},
{
"ts_code": "300291.SZ",
"stock_name": "百纳千成",
"api_timestamp": 1794797997,
"main_net_amount": 8287157.0,
"main_net_ratio": 2.37
},
{
"ts_code": "300244.SZ",
"stock_name": "迪安诊断",
"api_timestamp": 1794797997,
"main_net_amount": 4828568.0,
"main_net_ratio": 1.27
},
{
"ts_code": "002979.SZ",
"stock_name": "雷赛智能",
"api_timestamp": 1794798003,
"main_net_amount": -1857061.0,
"main_net_ratio": -0.46
},
{
"ts_code": "688625.SH",
"stock_name": "呈和科技",
"api_timestamp": 1794798002,
"main_net_amount": -3038991.0,
"main_net_ratio": -3.37
},
{
"ts_code": "688485.SH",
"stock_name": "九州一轨",
"api_timestamp": 1794798003,
"main_net_amount": -3383771.0,
"main_net_ratio": -1.81
},
{
"ts_code": "688356.SH",
"stock_name": "键凯科技",
"api_timestamp": 1794798004,
"main_net_amount": -4221682.0,
"main_net_ratio": -4.62
},
{
"ts_code": "688185.SH",
"stock_name": "康希诺",
"api_timestamp": 1794798003,
"main_net_amount": -7318888.0,
"main_net_ratio": -4.08
},
{
"ts_code": "301052.SZ",
"stock_name": "果麦文化",
"api_timestamp": 1794798003,
"main_net_amount": -13486043.0,
"main_net_ratio": -1.25
},
{
"ts_code": "601126.SH",
"stock_name": "四方股份",
"api_timestamp": 1794798006,
"main_net_amount": -20108841.0,
"main_net_ratio": -8.64
},
{
"ts_code": "300182.SZ",
"stock_name": "捷成股份",
"api_timestamp": 1794798003,
"main_net_amount": -20763438.0,
"main_net_ratio": -2.37
},
{
"ts_code": "603259.SH",
"stock_name": "药明康德",
"api_timestamp": 1794798004,
"main_net_amount": -193601569.0,
"main_net_ratio": -10.1
},
{
"ts_code": "300364.SZ",
"stock_name": "中文在线",
"api_timestamp": 1794798003,
"main_net_amount": -213092498.0,
"main_net_ratio": -14.91
},
{
"ts_code": "603533.SH",
"stock_name": "掌阅科技",
"api_timestamp": 1794798006,
"main_net_amount": -67581057.0,
"main_net_ratio": -5.03
}
]
},
{
"focused_unique": 15,
"duplicate_codes": {},
"key": "stock_flow_realtime:2026-11-16:13:30",
"date": "2026-11-16",
"time": "13:30",
"crawl_time": "2026-11-16 13:30:00",
"hs_stocks": 5222,
"focused_present": 15,
"focused_missing": [],
"focused": [
{
"ts_code": "300291.SZ",
"stock_name": "百纳千成",
"api_timestamp": 1794806997,
"main_net_amount": 7345043.0,
"main_net_ratio": 1.81
},
{
"ts_code": "300750.SZ",
"stock_name": "宁德时代",
"api_timestamp": 1794806997,
"main_net_amount": 266439280.0,
"main_net_ratio": 4.41
},
{
"ts_code": "601126.SH",
"stock_name": "四方股份",
"api_timestamp": 1794807000,
"main_net_amount": 13740879.0,
"main_net_ratio": 2.96
},
{
"ts_code": "002979.SZ",
"stock_name": "雷赛智能",
"api_timestamp": 1794807000,
"main_net_amount": 4073276.0,
"main_net_ratio": 0.8
},
{
"ts_code": "300244.SZ",
"stock_name": "迪安诊断",
"api_timestamp": 1794806997,
"main_net_amount": 6308875.0,
"main_net_ratio": 1.34
},
{
"ts_code": "300133.SZ",
"stock_name": "华策影视",
"api_timestamp": 1794807006,
"main_net_amount": 3048820.0,
"main_net_ratio": 0.21
},
{
"ts_code": "688356.SH",
"stock_name": "键凯科技",
"api_timestamp": 1794807007,
"main_net_amount": -3809085.0,
"main_net_ratio": -3.39
},
{
"ts_code": "688625.SH",
"stock_name": "呈和科技",
"api_timestamp": 1794807008,
"main_net_amount": -4088379.0,
"main_net_ratio": -3.37
},
{
"ts_code": "688185.SH",
"stock_name": "康希诺",
"api_timestamp": 1794807009,
"main_net_amount": -6464585.0,
"main_net_ratio": -2.85
},
{
"ts_code": "688485.SH",
"stock_name": "九州一轨",
"api_timestamp": 1794807009,
"main_net_amount": -5823335.0,
"main_net_ratio": -2.44
},
{
"ts_code": "301052.SZ",
"stock_name": "果麦文化",
"api_timestamp": 1794807009,
"main_net_amount": -15763492.0,
"main_net_ratio": -1.33
},
{
"ts_code": "603533.SH",
"stock_name": "掌阅科技",
"api_timestamp": 1794807009,
"main_net_amount": -75344816.0,
"main_net_ratio": -5.04
},
{
"ts_code": "300182.SZ",
"stock_name": "捷成股份",
"api_timestamp": 1794807009,
"main_net_amount": -44465404.0,
"main_net_ratio": -4.23
},
{
"ts_code": "603259.SH",
"stock_name": "药明康德",
"api_timestamp": 1794807010,
"main_net_amount": -178713536.0,
"main_net_ratio": -6.92
},
{
"ts_code": "300364.SZ",
"stock_name": "中文在线",
"api_timestamp": 1794807009,
"main_net_amount": -247787684.0,
"main_net_ratio": -14.66
}
]
},
{
"focused_unique": 15,
"duplicate_codes": {},
"key": "stock_flow_realtime:2026-11-16:14:30",
"date": "2026-11-16",
"time": "14:30",
"crawl_time": "2026-11-16 14:30:00",
"hs_stocks": 5223,
"focused_present": 15,
"focused_missing": [],
"focused": [
{
"ts_code": "002979.SZ",
"stock_name": "雷赛智能",
"api_timestamp": 1794810597,
"main_net_amount": 8079451.0,
"main_net_ratio": 1.33
},
{
"ts_code": "601126.SH",
"stock_name": "四方股份",
"api_timestamp": 1794810597,
"main_net_amount": 3433448.0,
"main_net_ratio": 0.61
},
{
"ts_code": "300133.SZ",
"stock_name": "华策影视",
"api_timestamp": 1794810597,
"main_net_amount": 10618751.0,
"main_net_ratio": 0.66
},
{
"ts_code": "300750.SZ",
"stock_name": "宁德时代",
"api_timestamp": 1794810597,
"main_net_amount": 401777248.0,
"main_net_ratio": 5.43
},
{
"ts_code": "300244.SZ",
"stock_name": "迪安诊断",
"api_timestamp": 1794810597,
"main_net_amount": 990826.0,
"main_net_ratio": 0.18
},
{
"ts_code": "688356.SH",
"stock_name": "键凯科技",
"api_timestamp": 1794810604,
"main_net_amount": -5781679.0,
"main_net_ratio": -4.28
},
{
"ts_code": "688625.SH",
"stock_name": "呈和科技",
"api_timestamp": 1794810602,
"main_net_amount": -5395755.0,
"main_net_ratio": -3.57
},
{
"ts_code": "300291.SZ",
"stock_name": "百纳千成",
"api_timestamp": 1794810603,
"main_net_amount": -6511329.0,
"main_net_ratio": -1.35
},
{
"ts_code": "688185.SH",
"stock_name": "康希诺",
"api_timestamp": 1794810603,
"main_net_amount": -10134540.0,
"main_net_ratio": -3.85
},
{
"ts_code": "301052.SZ",
"stock_name": "果麦文化",
"api_timestamp": 1794810603,
"main_net_amount": -20035716.0,
"main_net_ratio": -1.56
},
{
"ts_code": "688485.SH",
"stock_name": "九州一轨",
"api_timestamp": 1794810603,
"main_net_amount": -20475503.0,
"main_net_ratio": -6.49
},
{
"ts_code": "300182.SZ",
"stock_name": "捷成股份",
"api_timestamp": 1794810603,
"main_net_amount": -66884178.0,
"main_net_ratio": -5.42
},
{
"ts_code": "603533.SH",
"stock_name": "掌阅科技",
"api_timestamp": 1794810606,
"main_net_amount": -97618764.0,
"main_net_ratio": -5.92
},
{
"ts_code": "603259.SH",
"stock_name": "药明康德",
"api_timestamp": 1794810604,
"main_net_amount": -223799760.0,
"main_net_ratio": -7.04
},
{
"ts_code": "300364.SZ",
"stock_name": "中文在线",
"api_timestamp": 1794810603,
"main_net_amount": -301955589.0,
"main_net_ratio": -15.31
}
]
},
{
"focused_unique": 15,
"duplicate_codes": {},
"key": "stock_flow_realtime:2026-11-16:15:00",
"date": "2026-11-16",
"time": "15:00",
"crawl_time": "2026-11-16 15:00:00",
"hs_stocks": 5223,
"focused_present": 15,
"focused_missing": [],
"focused": [
{
"ts_code": "300750.SZ",
"stock_name": "宁德时代",
"api_timestamp": 1794812391,
"main_net_amount": 494639296.0,
"main_net_ratio": 5.78
},
{
"ts_code": "002979.SZ",
"stock_name": "雷赛智能",
"api_timestamp": 1794812391,
"main_net_amount": 8122627.0,
"main_net_ratio": 1.19
},
{
"ts_code": "601126.SH",
"stock_name": "四方股份",
"api_timestamp": 1794812400,
"main_net_amount": 1415561.0,
"main_net_ratio": 0.22
},
{
"ts_code": "300133.SZ",
"stock_name": "华策影视",
"api_timestamp": 1794812400,
"main_net_amount": -538357.0,
"main_net_ratio": -0.03
},
{
"ts_code": "300244.SZ",
"stock_name": "迪安诊断",
"api_timestamp": 1794812400,
"main_net_amount": -4439508.0,
"main_net_ratio": -0.7
},
{
"ts_code": "300291.SZ",
"stock_name": "百纳千成",
"api_timestamp": 1794812400,
"main_net_amount": -9030963.0,
"main_net_ratio": -1.69
},
{
"ts_code": "688625.SH",
"stock_name": "呈和科技",
"api_timestamp": 1794812402,
"main_net_amount": -7157864.0,
"main_net_ratio": -4.15
},
{
"ts_code": "688356.SH",
"stock_name": "键凯科技",
"api_timestamp": 1794812401,
"main_net_amount": -11457514.0,
"main_net_ratio": -6.81
},
{
"ts_code": "688185.SH",
"stock_name": "康希诺",
"api_timestamp": 1794812400,
"main_net_amount": -16185906.0,
"main_net_ratio": -5.35
},
{
"ts_code": "688485.SH",
"stock_name": "九州一轨",
"api_timestamp": 1794812400,
"main_net_amount": -13175660.0,
"main_net_ratio": -3.62
},
{
"ts_code": "301052.SZ",
"stock_name": "果麦文化",
"api_timestamp": 1794812400,
"main_net_amount": -21204191.0,
"main_net_ratio": -1.45
},
{
"ts_code": "300182.SZ",
"stock_name": "捷成股份",
"api_timestamp": 1794812400,
"main_net_amount": -76090694.0,
"main_net_ratio": -5.63
},
{
"ts_code": "603533.SH",
"stock_name": "掌阅科技",
"api_timestamp": 1794812400,
"main_net_amount": -113113323.0,
"main_net_ratio": -6.36
},
{
"ts_code": "603259.SH",
"stock_name": "药明康德",
"api_timestamp": 1794812401,
"main_net_amount": -244150688.0,
"main_net_ratio": -6.39
},
{
"ts_code": "300364.SZ",
"stock_name": "中文在线",
"api_timestamp": 1794812400,
"main_net_amount": -312031318.0,
"main_net_ratio": -13.92
}
]
}
],
"retained_key_dates": {
"from": "2026-10-12",
"through": "2026-11-16",
"prior_days": 22,
"counts": {
"2026-10-12": 239,
"2026-10-13": 97,
"2026-10-19": 237,
"2026-10-20": 240,
"2026-10-21": 239,
"2026-10-22": 239,
"2026-10-23": 241,
"2026-10-26": 238,
"2026-10-27": 241,
"2026-10-28": 238,
"2026-10-29": 239,
"2026-10-30": 241,
"2026-11-02": 242,
"2026-11-03": 241,
"2026-11-04": 239,
"2026-11-05": 240,
"2026-11-06": 240,
"2026-11-09": 240,
"2026-11-10": 241,
"2026-11-11": 241,
"2026-11-12": 240,
"2026-11-13": 239,
"2026-11-16": 239
}
}
}

View File

@ -0,0 +1,653 @@
{
"at": "2026-11-16T15:05:03.601323+08:00",
"database": "judge",
"pool_size": 129,
"pool": [
{
"_id": "002050",
"latest": "10:21",
"rows": 51
},
{
"_id": "300693",
"latest": "10:21",
"rows": 52
},
{
"_id": "301395",
"latest": "10:21",
"rows": 52
},
{
"_id": "300776",
"latest": "10:21",
"rows": 52
},
{
"_id": "000007",
"latest": "10:21",
"rows": 51
},
{
"_id": "601689",
"latest": "10:21",
"rows": 52
},
{
"_id": "300182",
"latest": "10:20",
"rows": 51
},
{
"_id": "600016",
"latest": "10:21",
"rows": 49
},
{
"_id": "603606",
"latest": "10:21",
"rows": 52
},
{
"_id": "601012",
"latest": "10:20",
"rows": 51
},
{
"_id": "603667",
"latest": "10:19",
"rows": 50
},
{
"_id": "688088",
"latest": "10:21",
"rows": 51
},
{
"_id": "688525",
"latest": "10:20",
"rows": 50
},
{
"_id": "300291",
"latest": "10:22",
"rows": 51
},
{
"_id": "300073",
"latest": "10:20",
"rows": 50
},
{
"_id": "002852",
"latest": "10:21",
"rows": 51
},
{
"_id": "300308",
"latest": "10:19",
"rows": 49
},
{
"_id": "300684",
"latest": "10:20",
"rows": 50
},
{
"_id": "600123",
"latest": "10:21",
"rows": 52
},
{
"_id": "301052",
"latest": "10:20",
"rows": 51
},
{
"_id": "688100",
"latest": "10:21",
"rows": 52
},
{
"_id": "600281",
"latest": "10:20",
"rows": 50
},
{
"_id": "301037",
"latest": "10:21",
"rows": 51
},
{
"_id": "688012",
"latest": "10:20",
"rows": 50
},
{
"_id": "300274",
"latest": "10:20",
"rows": 50
},
{
"_id": "002008",
"latest": "10:20",
"rows": 50
},
{
"_id": "688719",
"latest": "10:22",
"rows": 50
},
{
"_id": "300891",
"latest": "10:21",
"rows": 52
},
{
"_id": "603113",
"latest": "10:22",
"rows": 53
},
{
"_id": "688275",
"latest": "10:20",
"rows": 51
},
{
"_id": "688356",
"latest": "10:21",
"rows": 50
},
{
"_id": "603533",
"latest": "10:21",
"rows": 51
},
{
"_id": "688337",
"latest": "10:22",
"rows": 52
},
{
"_id": "300956",
"latest": "10:22",
"rows": 52
},
{
"_id": "688006",
"latest": "10:20",
"rows": 50
},
{
"_id": "300003",
"latest": "10:21",
"rows": 52
},
{
"_id": "002661",
"latest": "10:21",
"rows": 50
},
{
"_id": "300620",
"latest": "10:20",
"rows": 50
},
{
"_id": "688676",
"latest": "10:21",
"rows": 51
},
{
"_id": "000021",
"latest": "10:21",
"rows": 52
},
{
"_id": "300432",
"latest": "10:19",
"rows": 50
},
{
"_id": "688556",
"latest": "10:20",
"rows": 50
},
{
"_id": "002850",
"latest": "10:21",
"rows": 50
},
{
"_id": "002920",
"latest": "10:21",
"rows": 51
},
{
"_id": "603416",
"latest": "10:21",
"rows": 52
},
{
"_id": "688041",
"latest": "10:20",
"rows": 50
},
{
"_id": "688795",
"latest": "10:20",
"rows": 50
},
{
"_id": "002463",
"latest": "10:20",
"rows": 49
},
{
"_id": "688185",
"latest": "10:20",
"rows": 51
},
{
"_id": "300133",
"latest": "10:21",
"rows": 51
},
{
"_id": "688036",
"latest": "10:22",
"rows": 53
},
{
"_id": "000720",
"latest": "10:20",
"rows": 48
},
{
"_id": "002475",
"latest": "10:22",
"rows": 51
},
{
"_id": "300627",
"latest": "10:19",
"rows": 49
},
{
"_id": "688599",
"latest": "10:20",
"rows": 51
},
{
"_id": "600941",
"latest": "10:22",
"rows": 52
},
{
"_id": "002851",
"latest": "10:20",
"rows": 50
},
{
"_id": "002335",
"latest": "10:21",
"rows": 50
},
{
"_id": "688625",
"latest": "10:20",
"rows": 51
},
{
"_id": "300340",
"latest": "10:21",
"rows": 51
},
{
"_id": "600828",
"latest": "10:21",
"rows": 52
},
{
"_id": "301326",
"latest": "10:20",
"rows": 50
},
{
"_id": "002126",
"latest": "10:20",
"rows": 50
},
{
"_id": "603578",
"latest": "10:22",
"rows": 52
},
{
"_id": "603596",
"latest": "10:21",
"rows": 52
},
{
"_id": "688825",
"latest": "10:20",
"rows": 50
},
{
"_id": "002205",
"latest": "10:20",
"rows": 48
},
{
"_id": "002045",
"latest": "10:22",
"rows": 50
},
{
"_id": "688485",
"latest": "10:21",
"rows": 52
},
{
"_id": "002139",
"latest": "10:22",
"rows": 53
},
{
"_id": "002049",
"latest": "10:19",
"rows": 50
},
{
"_id": "688580",
"latest": "10:20",
"rows": 51
},
{
"_id": "002340",
"latest": "10:21",
"rows": 48
},
{
"_id": "300354",
"latest": "10:21",
"rows": 51
},
{
"_id": "300870",
"latest": "10:19",
"rows": 50
},
{
"_id": "300124",
"latest": "10:21",
"rows": 51
},
{
"_id": "300236",
"latest": "10:21",
"rows": 50
},
{
"_id": "688223",
"latest": "10:20",
"rows": 50
},
{
"_id": "688469",
"latest": "10:21",
"rows": 51
},
{
"_id": "601126",
"latest": "10:20",
"rows": 49
},
{
"_id": "600875",
"latest": "10:21",
"rows": 52
},
{
"_id": "688279",
"latest": "10:19",
"rows": 50
},
{
"_id": "301018",
"latest": "10:20",
"rows": 50
},
{
"_id": "300679",
"latest": "10:21",
"rows": 51
},
{
"_id": "002594",
"latest": "10:22",
"rows": 53
},
{
"_id": "300244",
"latest": "10:21",
"rows": 51
},
{
"_id": "300092",
"latest": "10:21",
"rows": 52
},
{
"_id": "002979",
"latest": "10:21",
"rows": 50
},
{
"_id": "300364",
"latest": "10:20",
"rows": 50
},
{
"_id": "002535",
"latest": "10:21",
"rows": 52
},
{
"_id": "300953",
"latest": "10:21",
"rows": 50
},
{
"_id": "301115",
"latest": "10:21",
"rows": 52
},
{
"_id": "603259",
"latest": "10:20",
"rows": 50
},
{
"_id": "300724",
"latest": "10:22",
"rows": 52
},
{
"_id": "688018",
"latest": "10:19",
"rows": 50
},
{
"_id": "601777",
"latest": "10:20",
"rows": 51
},
{
"_id": "603019",
"latest": "10:20",
"rows": 51
},
{
"_id": "300398",
"latest": "10:21",
"rows": 51
},
{
"_id": "000657",
"latest": "10:20",
"rows": 50
},
{
"_id": "688498",
"latest": "10:22",
"rows": 52
},
{
"_id": "002518",
"latest": "10:21",
"rows": 52
},
{
"_id": "688777",
"latest": "10:21",
"rows": 52
},
{
"_id": "301308",
"latest": "10:20",
"rows": 49
},
{
"_id": "300750",
"latest": "10:22",
"rows": 53
},
{
"_id": "300118",
"latest": "10:21",
"rows": 51
},
{
"_id": "688802",
"latest": "10:20",
"rows": 50
},
{
"_id": "301631",
"latest": "10:20",
"rows": 51
},
{
"_id": "300001",
"latest": "10:21",
"rows": 51
},
{
"_id": "002664",
"latest": "10:21",
"rows": 52
},
{
"_id": "603893",
"latest": "10:21",
"rows": 50
},
{
"_id": "002965",
"latest": "10:21",
"rows": 52
},
{
"_id": "002472",
"latest": "10:20",
"rows": 50
},
{
"_id": "002916",
"latest": "10:20",
"rows": 50
},
{
"_id": "605111",
"latest": "10:20",
"rows": 51
},
{
"_id": "688248",
"latest": "10:22",
"rows": 53
},
{
"_id": "688768",
"latest": "10:21",
"rows": 52
},
{
"_id": "002837",
"latest": "10:20",
"rows": 51
},
{
"_id": "002911",
"latest": "10:19",
"rows": 46
},
{
"_id": "002600",
"latest": "10:20",
"rows": 49
},
{
"_id": "300475",
"latest": "10:20",
"rows": 49
},
{
"_id": "002896",
"latest": "10:20",
"rows": 50
},
{
"_id": "300014",
"latest": "10:21",
"rows": 50
},
{
"_id": "600590",
"latest": "10:21",
"rows": 52
},
{
"_id": "603662",
"latest": "10:20",
"rows": 51
},
{
"_id": "605598",
"latest": "10:19",
"rows": 50
},
{
"_id": "688283",
"latest": "10:22",
"rows": 52
},
{
"_id": "688507",
"latest": "10:22",
"rows": 51
},
{
"_id": "688778",
"latest": "10:21",
"rows": 51
},
{
"_id": "002913",
"latest": "10:22",
"rows": 52
}
],
"market_check": "全沪深聚合超时,未得到全市场结论;仅报告实际池内样本"
}

View File

@ -1,10 +1,10 @@
{
"at": "2026-11-16T07:02:26.370Z",
"at": "2026-11-16T07:08:29.890Z",
"kind": "真实只读响应隔离回放,人工延迟接口;非线上登录验收",
"checks": [
{
"check": "其他面板延迟8秒,持仓与信号名称先完成",
"readyMs": 1777,
"readyMs": 1845,
"slowDone": false
},
{
@ -12,7 +12,7 @@
},
{
"check": "刷新首帧复用有效名称,名称接口延迟仍显示中文",
"readyMs": 1258
"readyMs": 1343
},
{
"check": "390像素信号列表无横向溢出,原个股详情打开关闭可用"

View File

@ -0,0 +1,115 @@
{
"candidate": {
"code": "39f9989a39ecf998b7aa4a902ee4a96851bdd684",
"completed_at": "2026-11-16T15:11:10.653917+08:00",
"flattened_base": {
"original_id": "sha256:578e2a903b7c8853a9bbe42ac56b5d8e1cc0ce7b9325927715c687110fb21969",
"old_layers": 127,
"flat_id": "sha256:51d843e4ac730c36d4da73f8a2a8f28f0e7d4888cbde16c111235e3c969929ea",
"new_layers": 3,
"image_config_preserved": true
},
"targets": {
"web": {
"base": "pms:tech-numeric-28abddf-web",
"base_id": "sha256:578e2a903b7c8853a9bbe42ac56b5d8e1cc0ce7b9325927715c687110fb21969",
"candidate": "pms:signal-names-39f9989-web",
"image_id": "sha256:47186e1d49eea9b42914807bc227aa80a69dd10f1a8fefdfd4da86718df3feb8",
"files": {
"app/web/static/index.html": "8e9bdda5b988e5c599c2e2814a1f5cdd63e1d4f893049ea53514e7ed7b079b43"
},
"suites": 88,
"passed": true
}
}
},
"source-comparison": {
"at": "2026-11-16T15:09:25.961444+08:00",
"files_compared": 254,
"only_changed": [
"app/web/static/index.html"
],
"unchanged_application_files": 253
},
"verify": {
"at": "2026-11-16T15:12:43.964955+08:00",
"total_containers": 30,
"unchanged_other_containers": 29,
"targets": [
{
"name": "pms-web",
"id": "2875bdef5fcbc74b5462c4f1b9a533732841d0ce4e8cb4c2b9335614013d4ff5",
"image": "sha256:47186e1d49eea9b42914807bc227aa80a69dd10f1a8fefdfd4da86718df3feb8",
"tag": "pms:signal-names-39f9989-web",
"started": "2026-11-16T07:12:20.392246525Z",
"health": "healthy",
"files_match_candidate": true
}
],
"private_configuration_unchanged": true
},
"post-web": {
"at": "2026-11-16T15:12:47.257054",
"http_page": 200,
"http_health": 200,
"served_html_hash": "8e9bdda5b988e5c599c2e2814a1f5cdd63e1d4f893049ea53514e7ed7b079b43",
"names_seconds": 0.018141575157642365,
"names": {
"ok": true,
"names": {
"002979.SZ": {
"name": "雷赛智能",
"full": "深圳市雷赛智能控制股份有限公司"
},
"300133.SZ": {
"name": "华策影视",
"full": "浙江华策影视股份有限公司"
},
"688485.SH": {
"name": "九州一轨",
"full": "北京九州一轨环境科技股份有限公司"
}
}
}
},
"post-health": {
"at": "2026-11-16T15:12:51.627296+08:00",
"prefix": "",
"scope": "pms-sim-155",
"params": {
"PMS_DISPATCH_MODE": "ws",
"PMS_GLOBAL_BUY_HALT": false,
"PMS_GLOBAL_EXEC_HALT": false,
"PMS_AUTO_GRID_STEP_PCT": 0.04,
"PMS_RISK_EXIT_ENABLED": true,
"PMS_TIMING_FUSION_ENABLED": true,
"PMS_TIMING_FUSION_START_AT": "2026-11-11T16:17:11.269641+08:00",
"PMS_SELF_DECIDE_TRIAL": true
},
"funds": {
"seq": 1898006,
"received_at": "2026-11-16 15:12:31",
"age_sec": 20.5
},
"pending": 0,
"orphan": 0,
"open_orders": 0,
"reconciliation": {
"ok": true,
"diffs": [],
"fixes": [],
"errors": [],
"severity": "OK",
"source": "ws",
"note": "策略数量之和核对账户;不猜测差异归属,不自动把差异并入任何策略"
},
"cash_difference": 0.0,
"http_health": 200,
"ws": {
"conn_state": "ONLINE",
"last_seq": 1898010,
"acked_seq": 1898010,
"resync_flag": 0
}
}
}

View File

@ -1,5 +1,7 @@
# 信号运行巡检与名称刷新修复
**最新结论(15:18):用户指定214 Redis的实时资金已到15:00,抽查15只关注持仓全部存在。问题是现有资金告警仍读滞后的Mongo副本,不能泛称上游实时资金没有更新。名称修复已15:12:20仅发布155 web;资金告警来源尚未切换。下面前两节为14:52至14:54对当时消费路径的真实核验,最终结论以文末Redis对照为准。**
2026年11月16日。用户反馈每次刷新出现较长时间股票代码,以及关注、持仓信号停留11:07。本次核对实际线上记录,不沿用旧容器健康结论;交易规则及发布阈值不调整。
## 只读结论
@ -19,7 +21,7 @@
沿用原页面样式、信号分类、名称点击和过期规则。各面板返回证券列表即触发独立名称加载,持仓和关注优先,每批最多120只、最多两批并发;未完成的请求共用,避免重复轮询。已成功取得的沪深证券名称在当前浏览器会话缓存6小时,刷新直接复用;过期重新查询,失败保留已显示名称,不把代码降级结果覆盖中文名。缓存不含持仓、金额或登录凭据。
本次不改交易规则、正式信号阈值及上游数据,不把研究观察填入信号流。只计划定向更新155 web,其他容器保持。
本次不改交易规则、正式信号阈值及上游数据,不把研究观察填入信号流。已定向更新155 web,其他容器保持,实际发布见下文。
## 数据源协调清单
@ -47,6 +49,38 @@
## 开发机验证
开发机Python3.12隔离全量88组通过,页面枚举、接线和文案三道护栏通过。独立Chrome用真实信号与名称响应回放并人为延迟其他面板8秒,名称约1.78秒完成且慢面板仍未结束;刷新复用已有名称,14条关注持仓正式信号、11:07首条、390像素无横向溢出及原详情交互核验通过。浏览器无外部请求、无写请求、无页面异常。这是隔离回放,不是线上登录验收。
开发机Python3.12隔离全量88组通过,页面枚举、接线和文案三道护栏通过。独立Chrome用真实信号与名称响应回放并人为延迟其他面板8秒,最终回放名称约1.85秒完成且慢面板仍未结束;刷新复用已有名称,14条关注持仓正式信号、11:07首条、390像素无横向溢出及原详情交互核验通过。浏览器无外部请求、无写请求、无页面异常。这是隔离回放,不是线上登录验收。
15:00后用户补充Redis数据正常;此前核验明确针对MongoDB,不应推断Redis采集也已停止。正在扩大Mongo沪深范围并确认用户Redis实例与键名,最终以后续核验为准。
15:00后用户补充Redis数据正常;此前核验明确针对MongoDB,不应推断Redis采集也已停止。扩大Mongo范围结果见下一节;用户Redis实例与键名仍待确认。
## 扩大范围与Redis口径核验
用户补充Redis副本正常后,15:05:03改为核对当时实际告警池129只沪深股票。129只全部有当日Mongo数据,但最新分钟均只到10:19至10:22;其中15只关注持仓、114只其他候选,其他候选同样全部滞后。因此不是人工关注接入特有问题,而是当前监测池普遍受到输入延迟影响。相较14:54有少量新分钟补入,准确表述为“严重滞后”,不能断言采集完全停止。
尝试全沪深时间分布聚合在30秒连接上限超时,没有得到全市场比例;后续缩小到当前池并使用8秒服务器查询上限,避免持续扫描上游。原始记录见扩大范围证据。
现用告警读取位置是MongoDB 192.168.18.75 / judge.stock_flow_realtime,不是Redis。对PMS配置的信号Redis作限量键名检查,未定位同名键;db0、db13仅扫描部分,因此不能宣称Redis不存在该数据,更不能认定用户核实有误。已询问用户所检查Redis的主机、DB及一个键名,待对照后区分同步滞后与数据源选择问题。未擅自改接口或切换资金来源。
## Redis实际对照与最终诊断
15:13至15:18按用户给出的192.168.16.214:36379/db0核验,复用PMS已注入的上游Redis连接,没有将密码写入代码或文档。实际键格式为`stock_flow_realtime:YYYY-MM-DD:HH:MM`,内容是`date/time/crawl_time/stocks`分钟快照。现有PMS使用此连接读取实况分榜单;ITD资金告警的实时比率读取器仍是MongoMoneyFlowRealtimeAdapter,没有使用此Redis资金快照。
11月16日存在239个分钟键,从09:30到15:00。按包含上午及下午开收盘端点的242个交易分钟核对,缺11:13、13:42、14:19三个键;这类少量缺分钟与Mongo停留上午的数小时滞后不同。15:00快照含5223条沪深记录。抽查10:18、11:00、13:30、14:30和15:00,15只有效关注及持仓都存在,资金金额与比率随时间变化。10:18华策影视有两条完全相同记录,其他抽查时点无该15只的重复;后续适配须按证券去重,相同重复合并,冲突拒绝,不能重复累计。
因此最终结论是:**PMS正式信号接收正常,关注覆盖正常,资金告警所选数据路径不正常;214实时资金基本连续并已到收盘。** 不能要求用户修复已正常更新的Redis,也不能直接将Mongo延迟解释为第三方全面停采。原始记录见[Redis对照](evidence/signal_health_redis214_20261116.json),当前池129只的Mongo滞后见[扩大范围](evidence/signal_health_scope_20261116.json)。
Redis当前保留23个日期键,其中执行日前22个日期;这些只是日期覆盖,不等于每只股票都有完整有效样本。原消费者的分钟资金基线只有Mongo中的13天;仅凭这两处当前保留范围,都不能宣称已满足30个历史交易日要求。分钟量价归档20日可用的事实不变。
下一步应在现有ITD资金读取层接入214快照,统一每分钟批量读取而非逐股重复取全市场JSON;核验原始api_timestamp、时区、证券、金额单位、开盘累计及净额比率口径,处理少量缺分钟和重复记录。实时告警与历史标定分开;保留原15分钟有效期和原阈值,禁止过期Mongo回退冒充当前值,历史告警不补发成今天新信号。本次没有实现这部分上游适配或修改188服务,不能报告资金告警已恢复;也没有证明恢复读取后每只股票都会达到触发条件。
## 实际发布与验收
页面代码提交39f9989a39ecf998b7aa4a902ee4a96851bdd684。155候选基于现用tech-numeric-28abddf-web,仅叠加页面文件。首次运行候选因原镜像已有127层触发Docker层数上限,未切换线上;随后从未启动、无网络、无私有运行环境的临时基座容器导出并压平原镜像,核对镜像配置不变。候选仅3层,原运行容器与其卷均未被导出或更改。254个应用、配置与测试文件逐字摘要核对,只有app/web/static/index.html变化,其余253个相同。
压平后的最终候选通过155的88组断网全量回归,运行参数为无网络、无业务配置、只读文件系统、1 CPU与512MB内存。最终浏览器回放通过慢接口名称优先、刷新缓存、14条信号完整和桌面/390像素窄屏,实际点击原名称按钮及关闭按钮通过,无页面错误、外部请求或写请求。
15:12:20仅重建pms-web,镜像`pms:signal-names-39f9989-web`,摘要`sha256:47186e1d49eea9b42914807bc227aa80a69dd10f1a8fefdfd4da86718df3feb8`。私有Compose有效配置只改变web镜像;环境、挂载、服务器私有源码保持。其余29容器标识、镜像、启动时间不变,唯一WS、worker、beat和188服务均未操作。
15:12:47实际页面与候选摘要一致,页面和健康接口200,3只名称查询约0.018秒,均返回正确中文名。15:12:51连续确认与接收均1898010,待入账、孤儿、在途委托均0,数量及现金差0,资金快照20.5秒。无信号注入、任务重放或测试委托。
[发布证据](evidence/signal_names_release_20261116.json);[浏览器回放](evidence/signal_names_browser_20261116.json)。服务器私有备份为`/home/factor/project/tradingSystem/backups/signal-names-20261116-39f9989`,测试日志为`/tmp/pms-signal-names-39f9989/web-tests.log`,不含在Git中。回退只恢复web原镜像与备份覆盖,保留账本及回报。未创建长期观察。

View File

@ -1,6 +1,6 @@
# 开发资料入口
11月16日信号最新11:07与名称延迟见[信号巡检及名称修复](信号运行巡检与名称刷新修复_2026-11-16.md):PMS消费正常,15只高优先标的覆盖仍在;实时资金停在10:18至10:20、分钟资金历史13天尚不足30天,不能称全部监测正常。名称独立加载与会话缓存修复及实际发布结果见该文。
11月16日15:18[信号巡检最终结论与名称发布](信号运行巡检与名称刷新修复_2026-11-16.md):214 Redis实时资金已到15:00,15只关注持仓抽查全覆盖;现有资金告警仍读滞后的Mongo副本,129只当前池普遍受影响。PMS接收无积压。名称独立加载与会话缓存已于15:12仅发布155 web;资金源适配尚未实施。
11月16日14:14:45已按授权推送整改并发布155 web与worker的[技术读数保存修复](技术读数保存修复与发布_2026-11-16.md)。修复盘中核验发现的新提议与当日复核JSON保存错误;交易规则、参数及其他28容器不变。开发机88组、候选web 88组和worker 87组断网通过,14:18自然保存与运行核验完成。整体合理性分析仍属待讨论方案,下一步先与用户讨论,不自动转成策略实现;当前状态见[整改接续](交易计划与风险约束整改接续_2026-11-16.md)。