记录卡片发布验收与雷赛网格现状

This commit is contained in:
baobao 2026-11-09 11:36:50 +08:00
parent d1e4f2150d
commit 6c553d3d19
4 changed files with 151 additions and 1 deletions

View File

@ -2925,3 +2925,5 @@ PMS最终代码56db0fd已推送,155 web/WS/beat为execution-2b1c447,worker
## 2026-11-09 卡片交互精简与网格幅度核验
总览只保留持仓盈亏策略悬浮,提议卡片复用消息中心分类并支持再次收起,避免原右浮层盖住卡片。开发机80批及最终三道页面护栏通过,1920/1440/390/320只读真实响应重放验证开合、键盘和刷新,错误0。雷赛只读查实11月4日网格1600股中仅卖100,剩1500恢复后未被后续高档游标检查;断网纯函数复现漏卖。两票日线波动表明2%较细,但未做参数收益回测。本次仅拟发布网页,网格逻辑和在途保持,详见[接续](docs/卡片交互精简与网格幅度核验_2026-11-09.md)。
11:36补记:11:35:13仅pms-web发布`pms:card-cleanup-d1e4f21`,候选80批断网通过,其余18容器不变,私有配置保留。发布后实际页面哈希匹配,确认1733296与落库一致,数量/现金对账通过、待入账和孤儿0。雷赛11:36仍有网格余量1500,未生成新卖出指令;本次网格仅分析,交易缺陷待实施。

View File

@ -0,0 +1,109 @@
{
"runtime": {
"at": "2026-11-09T11:35:48.839728+08:00",
"prefix": "",
"scope": "pms-sim-155",
"dispatch": "ws",
"buy_halt": false,
"exec_halt": false,
"qmt": {
"conn_state": "ONLINE",
"last_seq": 1733296,
"acked_seq": 1733296,
"resync_flag": 0
},
"pending": 0,
"orphan": 0,
"recent_contiguous": true,
"quantity_reconciliation": {
"ok": true,
"diffs": [],
"fixes": [],
"errors": [],
"severity": "OK",
"source": "ws",
"note": "策略数量之和核对账户;不猜测差异归属,不自动把差异并入任何策略"
},
"accounting_ready": true,
"cash_difference": 0.0,
"funds_age_sec": 20.9,
"blocked_calls": 0
},
"release": {
"at": "2026-11-09T11:35:13.732073+08:00",
"commit": "d1e4f2150dbfd8eacabbfdf2193458e973148736",
"targets": {
"pms-web": {
"id": "d3a5c482d1660a07c7f638e7b3ee013045a84a459cc4080b2e5f0990eb357ce8",
"image": "sha256:defc2c5d26aef7a1f7f930b7136994d1d6c89be88c14841f5f84b639ac9edff1",
"tag": "pms:card-cleanup-d1e4f21",
"started": "2026-11-09T03:35:12.924853935Z"
}
},
"other_unchanged": 18,
"other_changed": [],
"config_preserved": true
},
"page_status": 200,
"page_sha256": "8fdeb77b1303a575ddacc62705e4d90add3e0a2e91828f9988665a500ff3469e",
"account_performance": {
"ready": true,
"profit": -3154.0,
"profit_pct": -0.0016027011235686937,
"started_at": "2026-11-02T10:08:20",
"reason": null
},
"holding_performance": {
"ready": true,
"profit": 6728.1,
"profit_pct": 0.03730209200195822,
"strategies": [
{
"book_id": "original",
"name": "主观量化",
"ready": true,
"names_count": 6,
"profit": 6728.1,
"profit_pct": 0.0373,
"cost_basis": 180367.9
},
{
"book_id": "micro30",
"name": "微盘轮动",
"ready": true,
"names_count": 0,
"profit": 0,
"profit_pct": null,
"cost_basis": 0
}
],
"reason": null
},
"candidate": {
"commit": "d1e4f2150dbfd8eacabbfdf2193458e973148736",
"tag": "pms:card-cleanup-d1e4f21",
"image": "sha256:defc2c5d26aef7a1f7f930b7136994d1d6c89be88c14841f5f84b639ac9edff1",
"passed": true
},
"local_suites": 80,
"candidate_suites": 80,
"browser": {
"mode": "isolated replay of 155 read-only responses",
"sample_at": "2026-11-09T11:22:57+08:00",
"widths": [
1920,
1440,
390,
320
],
"repeat_click": "expanded then collapsed in each viewport",
"keyboard": "Enter collapses",
"refresh": "preserves expanded state and normal layout",
"metric_tooltip_count": 1,
"metric_tooltip": "holding_performance strategy breakdown",
"horizontal_overflow": false,
"console_errors": 0,
"write_requests": "rejected"
},
"db_write_attempts": 0
}

View File

@ -146,5 +146,34 @@
}
}
]
},
"final_readonly": {
"at": "2026-11-09T11:36:02.525921+08:00",
"position": {
"total_qty": 1600,
"avail_qty": 1600,
"avg_cost": "47.286",
"base_qty": 100,
"add_qty": 1500
},
"market": {
"price": 51.87,
"bar_time": "2026-11-09 11:30:00",
"bars": 112
},
"state": {
"pending": null,
"below_floor": false,
"last_band": 6,
"cap_hit": false,
"filled_levels": {
"1": {
"price": 47.56,
"qty": 1500
}
},
"invested": 71340.0
},
"writes_attempted": 0
}
}

View File

@ -1,6 +1,6 @@
# 卡片交互精简与网格幅度核验
核验时间:2026年11月9日11:28,北京时间。页面已完成开发机隔离与浏览器复现,尚未发布本次候选。交易逻辑只读分析,没有修改策略、参数、状态、在途指令或成交账本。
核验时间:2026年11月9日11:36,北京时间。11:35:13已仅发布155网页服务,候选80批断网回归及发布后只读核验通过。交易逻辑只读分析,没有修改策略、参数、状态、在途指令或成交账本。
## 页面改动
@ -48,3 +48,13 @@
## 发布范围
沿已有155模拟PMS授权,仅安排pms-web更新。候选必须80批断网回归通过,保持现用私有配置、挂载与原Compose项目;其余18容器不变,188不操作。备份与回退仅涉及网页镜像及覆盖文件,保留账本、队列和回报。不建立长期观察。
## 实际发布与最终核验
代码提交`d1e4f2150dbfd8eacabbfdf2193458e973148736`,实际网页镜像`pms:card-cleanup-d1e4f21`,ID为`sha256:defc2c5d26aef7a1f7f930b7136994d1d6c89be88c14841f5f84b639ac9edff1`。155候选按无网络、只读文件系统、无业务配置及资源限制完成80批,末行ALL SUITES PASS。
11:35:13沿原Compose项目使用`--no-deps --no-build --force-recreate`仅重建pms-web。其余18个容器标识、镜像和启动时间完全不变,挂载、私有环境以及服务器既有未提交脚本保持。备份留在155的`/home/factor/project/tradingSystem/backups/card-cleanup-20261109-d1e4f21`,回退仅恢复网页原镜像`pms:pnl-summary-5a88b33`。
11:35:48实际页面HTTP 200,页面摘要与提交一致,累计及持仓盈亏字段ready=true,双策略合计和比例核对通过。QMT落库与确认1733296一致,最近200条连续,resync=0,待入账与孤儿0,数量对账通过、现金差0,资金20.9秒。只读探针写入尝试0。详见[脱敏发布证据](evidence/card_cleanup_release_20261109.json)。
11:36:02再次只读核验雷赛:持仓及可卖仍1600股,底仓100、增量1500、摊薄成本47.286;最新分钟行情为午间休市前11:30的51.87。策略仍ACTIVE,last_band=6、档1余1500、pending为空,最后卖出仍是11月4日100股;没有因为本次页面发布自动补发卖单。网格执行缺陷与2%参数优化仍未实施,后续需按本记录的存量审计边界处理。没有创建长期观察。