记录关注补显与ETF正式接入判收

This commit is contained in:
baobao 2026-11-05 15:39:55 +08:00
parent f6cf445586
commit 591d6028b5
6 changed files with 263 additions and 2 deletions

View File

@ -2866,3 +2866,5 @@ PMS最终代码56db0fd已推送,155 web/WS/beat为execution-2b1c447,worker
## 2026-11-05 自选股补显与ETF观测
按用户确认原型实现已有真实信号补留、资金观测速览及独立ETF消费与页面。研究结果不伪造信号,ETF不进入交易动作。开发机隔离全量和浏览器验收通过,发布与自然判收见[实施记录](docs/自选股补显与ETF观测实施_2026-11-05.md)。
15:37补记:PMS f6cf445与Bionic 4700ff5定向发布完成,其他17/37容器不变。两个新开关已启用,四条真实关注观测补显。ETF109条正式消息全部审计并确认,pending 0,收盘快照已接入。交易对账正常;新版本自然盘中活动及新模型回复仍待实际发生。证据见同日实施记录。

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -0,0 +1,243 @@
{
"verified_at": "2026-11-05T15:37:00+08:00",
"pms_candidate": {
"commit": "f6cf445586cb33c171da2c820753b5ded9b0ae91",
"tag": "pms:watch-etf-f6cf445",
"image": "sha256:9b38580ff301f507e06e39aa198509538170bdcb2fe8f53a4600f2e60ecbac63",
"passed": true
},
"bionic_candidate": {
"commit": "4700ff588cea51cf12f0801c2496688ccbc7f50a",
"tag": "bionic:watch-etf-4700ff5",
"image": "sha256:72315665ec83a98f41957fa7c09441da37c7f2cbd2a9b49647a6359d53ce13a1",
"passed": true
},
"pms_deployment": {
"kind": "pms",
"verified_at": "2026-11-05T07:31:28.566778+00:00",
"targets": {
"pms-observation": {
"id": "3941ce757793c7fdd8552a7e22e89f62f361449728f7187b5d5020ec0951b2c6",
"image": "sha256:9b38580ff301f507e06e39aa198509538170bdcb2fe8f53a4600f2e60ecbac63",
"tag": "pms:watch-etf-f6cf445",
"started": "2026-11-05T07:31:27.711261562Z"
},
"pms-web": {
"id": "39a998c74912f82d51e92ec9cec2b5ea721999e6a95cebf847e79e4e37b7bb71",
"image": "sha256:9b38580ff301f507e06e39aa198509538170bdcb2fe8f53a4600f2e60ecbac63",
"tag": "pms:watch-etf-f6cf445",
"started": "2026-11-05T07:31:27.710561127Z"
}
},
"other_changed": [],
"other_unchanged": 17
},
"bionic_deployment": {
"kind": "bionic",
"verified_at": "2026-11-05T07:30:44.004386+00:00",
"targets": {
"trader_worker_brain": {
"id": "348ae1cabc354ae52f092765608628a10a65b86b847bec3d4d0926d258ccfd6f",
"image": "sha256:72315665ec83a98f41957fa7c09441da37c7f2cbd2a9b49647a6359d53ce13a1",
"tag": "bionic:watch-etf-4700ff5",
"started": "2026-11-05T07:30:43.857701599Z"
}
},
"other_changed": [],
"other_unchanged": 37
},
"flags": {
"before": {
"PMS_SIGNAL_FOCUS_ENABLED": false,
"PMS_ETF_OBSERVATION_ENABLED": false
},
"after": {
"PMS_SIGNAL_FOCUS_ENABLED": true,
"PMS_ETF_OBSERVATION_ENABLED": true
},
"results": {
"PMS_SIGNAL_FOCUS_ENABLED": {
"ok": true,
"key": "PMS_SIGNAL_FOCUS_ENABLED",
"value": true
},
"PMS_ETF_OBSERVATION_ENABLED": {
"ok": true,
"key": "PMS_ETF_OBSERVATION_ENABLED",
"value": true
}
}
},
"focus": {
"count": 13,
"error": null,
"truncated": false
},
"sources": {
"intraday": true,
"alerts": true,
"metrics": true,
"sell_actions": true,
"mr": true
},
"watched_metrics": [
{
"id": "1793856090230-37",
"ts_code": "SZ300364",
"time": "13:21",
"stale": true,
"ts_from": "stream_id",
"direction": "inflow"
},
{
"id": "1793856090230-27",
"ts_code": "SZ300182",
"time": "13:21",
"stale": true,
"ts_from": "stream_id",
"direction": "inflow"
},
{
"id": "1793856090229-28",
"ts_code": "SZ301052",
"time": "13:21",
"stale": true,
"ts_from": "stream_id",
"direction": "inflow"
},
{
"id": "1793848683547-29",
"ts_code": "SZ300182",
"time": "11:18",
"stale": true,
"ts_from": "stream_id",
"direction": "inflow"
}
],
"etf_consumer": {
"at": "2026-11-05T15:36:26.812728+08:00",
"stream_count": 109,
"own_groups": [
{
"name": "pms-etf-observation-v1",
"consumers": 1,
"pending": 0,
"last-delivered-id": "1793862312659-18",
"entries-read": null,
"lag": null
}
],
"durable_event_count": 109,
"decision_counts": {
"LEASE_EXPIRED": 86,
"TERMINAL_EVENT": 23
},
"audit_missing": 0,
"state_error": null,
"last_success_at": "2026-11-05T15:36:07.707470+08:00",
"summary_round": "20261105T1500",
"summary_revision": 0,
"closed": true,
"active": 0,
"trade_instruction": false
},
"health": {
"sampled_at": "2026-11-05T15:33:36.899447+08:00",
"identity": {
"table_prefix": "",
"table_prefix_empty": true
},
"qmt": {
"ack_equals_persisted_watermark": true,
"acked_seq": 1644934,
"conn_state": "ONLINE",
"heartbeat_age_sec": -0.1,
"last_error_present": false,
"last_seq": 1644934,
"orphan_count": 0,
"pending_ledger_count": 0,
"resync_flag": false,
"server_seq": 1641994,
"stat_safe": {
"ack_seq_degraded": null,
"gap_skips": null,
"last_rx_at": "15:33:33",
"order_update_conflicts": null,
"pending_gap": 0,
"reconnects": 0,
"seq_hwm": 1644934,
"sig_invalid": null
},
"watermark_window_contiguous": true,
"watermark_window_expected": 200,
"watermark_window_rows": 200,
"window_scope": "最多200条,不能据此证明全部历史连续"
},
"snapshots": {
"funds_age_sec": 14.5,
"funds_available_known": true,
"funds_frozen_known": true,
"funds_present": true,
"positions_age_sec": 14.5,
"positions_present": true,
"positions_qty_column_known": true,
"positions_row_count": 5
},
"reconciliation": {
"accounting_ready": true,
"cash_difference_known": true,
"cash_matches_existing_settlement_tolerance": true,
"cash_ready": true,
"fix_count": 0,
"quantity_diff_count": 0,
"quantity_error_count": 0,
"quantity_ok": true,
"quantity_source": "ws",
"valuation_missing_count": 0,
"valuation_ready": true
},
"guards": {
"blocked_calls": 0
}
},
"brain": {
"registered": 26,
"monitor_task": true,
"async_task": true,
"queues": [
"brain_queue",
"tactical_queue",
"celery"
],
"drained_active": 0,
"drained_reserved": 0,
"drained_scheduled": 0,
"new_natural_monitor_reply": "not_observed_after_release"
},
"browser": {
"type": "isolated read-only response replay",
"widths": [
1440,
390,
320
],
"signal_overflow": 0,
"new_console_errors": 0,
"checks": [
"one-line",
"observation filter",
"detail drawer",
"Escape close",
"expiry",
"read failure"
]
},
"tests": {
"pms_local_suites": 79,
"pms_candidate_suites": 79,
"etf_cases": 23,
"bionic_local_suites": 16,
"bionic_candidate_suites": 16,
"network": "blocked"
}
}

View File

@ -2,7 +2,7 @@
## 当前进度
北京时间2026年11月5日15:25,开发完成,尚未发布。用户已确认[原型](自选股信号巡检与ETF观测原型_2026-11-05.md)并要求实施。发布状态将在本文末尾追加,以下隔离结果不冒充真机自然判收。
北京时间2026年11月5日15:37,已完成定向发布、正式消息接收和只读核验。开发阶段记录保留如下。用户已确认[原型](自选股信号巡检与ETF观测原型_2026-11-05.md)并要求实施。实际发布见末节,隔离结果与自然判收分别记录。
## 自选股修复
@ -36,4 +36,20 @@
发布前记录实际镜像、私有配置和其余容器基线。候选先断网全量回归。ETF独立私有环境文件仅在155保存,来源为既有上游观测服务的同一连接。回退先关闭两个新参数及停止新增观测服务,恢复web或brain旧镜像和挂载;保留已接收观测、队列及所有交易账本。
实际部署、自然消费与未判收状态待下面追加。
## 实际发布与判收(15:37)
155于15:31:27完成发布,代码`f6cf445586cb33c171da2c820753b5ded9b0ae91`,镜像`pms:watch-etf-f6cf445`,ID为`sha256:9b38580ff301f507e06e39aa198509538170bdcb2fe8f53a4600f2e60ecbac63`。仅重建web并新增pms-observation,其余17个容器的标识、镜像和启动时间全部不变。私有环境、市场采集配置和原部署脚本摘要保持。两个新参数已从false开启为true;全局买入和执行暂停仍为false。
188于15:30:43仅重建trader_worker_brain,代码`4700ff588cea51cf12f0801c2496688ccbc7f50a`,镜像`bionic:watch-etf-4700ff5`,ID为`sha256:72315665ec83a98f41957fa7c09441da37c7f2cbd2a9b49647a6359d53ce13a1`。暂停原三个队列后,active、reserved、scheduled均为0才重建。新worker恢复原三个队列,26项任务注册,人工关注和异步研判入口均存在。其余37个容器完全不变。原目录HEAD仍为e9681e4,原.env保持,独立挂载`/mnt/work/project/bionic-releases/watch-verdict-4700ff5`,temp_images等其他挂载不变。没有操作任何真实PMS。
两台候选分别完成79批、16批断网回归。155于15:35:30实际读取五个来源均成功,13只持仓及关注覆盖未截断,取回三只关注股票的四条原资金观测。它们保持原时间并置灰;不是四条新买卖信号。
ETF首次接入追读当日既有正式流,首轮有短暂追读等待。15:36:26确认109条原消息全部持久化,审计字段无缺失,唯一自有消费者pending为0。86条因有效期已过仅归档,23条终结消息合法处理;当前活动事件为0。独立收盘快照为20261105T1500、revision 0、177只合格ETF;页面状态为closed。累计1191.66亿元,前20个完整交易日全日中位数807.72亿元,比值1.48。该读数是正式收盘观测,不是盘中当前信号或净流量。
15:33:36发布后对账数量差0,现金在既有结算容差内一致,pending/orphan均0。连续确认1644934,最近200条连续,未发现序号缺口或重连。资金和持仓快照14.5秒。15:36:53页面健康接口返回ok、db_ok=true和真实交易日。只读探针阻断计数均为0。
这是服务部署和正式历史消息接收判收。因已收盘,新版本下一个自然盘中活动事件及新的人工关注模型回复尚未发生,不能用封存回放替代。原两笔无效研究回执保留,不伪造改写或重新请求模型。没有新增长期观察任务。
[脱敏证据](evidence/watch_etf_release_20261105.json);[桌面截图](evidence/watch-etf-ui-20261105/desktop.png)、[详情截图](evidence/watch-etf-ui-20261105/detail.png)、[窄屏截图](evidence/watch-etf-ui-20261105/mobile.png)均为隔离历史数据复现,不是实时账户页面。
服务器备份分别为`/home/factor/project/tradingSystem/backups/watch-etf-20261105-f6cf445`和`/mnt/work/project/bionic_trader/backups/watch-etf-20261105-4700ff5`,均保留旧配置、镜像及容器基线。连接密钥只保存在155私有文件中。原用户工作树和其他工作树未覆盖。