tradingSystem/docs/evidence/exit_display_release_202611...

325 lines
11 KiB
JSON
Raw Permalink Normal View History

{
"code": "00085bdbf1b3b6526fba91968a2cef750e0b4831",
"deployment": {
"deployed_at": "2026-11-16T12:33:13.005726+08:00",
"targets": [
"pms-web"
],
"images": {
"web": "pms:exit-display-00085bd-web"
}
},
"candidate": {
"code": "00085bdbf1b3b6526fba91968a2cef750e0b4831",
"patch_sha256": "bf611860c713e3ff9a39f7d065924a7265c134214349d9504f2bcf671d5ae499",
"targets": {
"web": {
"base": "pms:remediation-rules-7c60cdc-web",
"base_id": "sha256:e53225e9eb8126d344514e14250af4b26608aa03d254be9e9a5fa412b970c092",
"candidate": "pms:exit-display-00085bd-web",
"image_id": "sha256:e3b8c81161df88bd38a2643e2e958ad063475b14046d1151d7ceb05e191bc8b4",
"files": {
"app/core/exit_presentation.py": "c1537ee8b7f8d18aad2233a2ff22993c9c53c9b716c69ddbc07f105ca8395e66",
"app/services/risk_exit.py": "de7b18fdf7db6fdaac15919a4f68bed1a5dd71007e93978b7595324c1bebdbfd",
"app/web/main.py": "1753aac25754ca5e5b03b658f40ea5456b19cc21bdfe6b42e7302ca7c8c63174",
"app/web/static/index.html": "bc69e57240625b6cac73bc9c9d558e1398483bdd68d57801f601bb13da10d019",
"scripts/test_batch49_units.py": "1ac8d1f8622c9c41a67347e398c36228fd48d88f703e432ac115879611ee3e10",
"scripts/test_risk_exit.py": "297a89aca4766b8fb64d4a45c798918004d7ae6b23cf879db305d81654b57790"
},
"suites": 88,
"passed": true
}
},
"completed_at": "2026-11-16T12:32:44.999560+08:00"
},
"runtime": {
"at": "2026-11-16T12:34:36.216114+08:00",
"total_containers": 30,
"unchanged_other_containers": 29,
"targets": [
{
"name": "pms-web",
"id": "792343fb7497fbb88c30a07365cb015874870a60b78ff57234ce61b9558e1e16",
"image": "sha256:e3b8c81161df88bd38a2643e2e958ad063475b14046d1151d7ceb05e191bc8b4",
"tag": "pms:exit-display-00085bd-web",
"started": "2026-11-16T04:33:12.531029245Z",
"health": "healthy",
"files_match_candidate": true
}
],
"private_configuration_unchanged": true
},
"health": {
"at": "2026-11-16T12:33:57.873502+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
},
"ws": {
"conn_state": "ONLINE",
"last_seq": 1895468,
"acked_seq": 1895468,
"resync_flag": 0,
"heartbeat_at": "2026-11-16 12:33:56",
"last_error": "",
"stat": {
"rx": 253472,
"tx": 462022,
"trades": 10,
"rejects": 0,
"reconnects": 2,
"dropped": 0,
"last_rx_at": "12:33:53",
"last_tx_at": "12:33:54",
"hs_server_seq": 1738206,
"hs_last_seq": 1738206,
"snap_positions_at": "12:33:29",
"snap_positions_n": 4,
"snap_funds_at": "12:33:29",
"seq_hwm": 1895468,
"peer_skew_ms": -5,
"ooo": 0,
"pending_gap": 0,
"funds_update_at": "10:00:54",
"funds_update_n": 10,
"position_update_at": "09:47:45",
"position_update_n": 6,
"last_close": "TimeoutError: timed out during handshake",
"peer_skew_min": -128,
"peer_skew_max": 2721
}
},
"funds": {
"seq": 1895463,
"received_at": "2026-11-16 12:33:30",
"age_sec": 27.7
},
"pending": 0,
"orphan": 0,
"open_orders": 0,
"reconciliation": {
"ok": true,
"diffs": [],
"fixes": [],
"errors": [],
"severity": "OK",
"source": "ws",
"note": "策略数量之和核对账户;不猜测差异归属,不自动把差异并入任何策略"
},
"cash_difference": 0.0,
"valuation_ready": true,
"positions": [
{
"strategy_book": null,
"ts_code": "002979.SZ",
"total_qty": 100,
"avg_cost": null,
"base_qty": 100
},
{
"strategy_book": null,
"ts_code": "300750.SZ",
"total_qty": 100,
"avg_cost": "252.880",
"base_qty": 100
},
{
"strategy_book": null,
"ts_code": "601126.SH",
"total_qty": 2700,
"avg_cost": "31.313",
"base_qty": 700
},
{
"strategy_book": null,
"ts_code": "603259.SH",
"total_qty": 100,
"avg_cost": "150.580",
"base_qty": 100
}
],
"files": {
"app/core/grid_inventory.py": "e72ef0b16bee924a4fc26ad6e30bc3608096cbc5176044adb27e644c74b335c8",
"app/services/strategy_runner.py": "560dc9afca5190325b8fd1a75c28fc3b4c19f19e57f7baabdc136b0c40002dd0",
"scripts/test_grid_execution.py": "55ca2b7c298a48f65e940238f8def173f247079f6601f7f68342fd58a80d7888"
},
"http_health": 200,
"health": {
"status": "ok",
"version": "0.2.0-dev",
"service": "pms-web",
"now": "2026-11-16 12:33:58",
"trade_day": true,
"calendar_degraded": false,
"db_ok": true
}
},
"api": {
"at": "2026-11-16T12:33:53.481782",
"positions_elapsed_seconds": 0.7885668408125639,
"scope": "pms-sim-155",
"stocks": {
"002979.SZ": {
"total_qty": 100,
"status": "只卖不买",
"detail": {
"status": "只卖不买",
"reason": "第一次清仓信号已确认,停止新增买入,等待第二次独立信号",
"first_at": "2026-11-05 09:38:00",
"first_reason": "量比3.82倍放量但主力净流出10%、主散背离-20,RECHECK判定为诱多分布而非突破,兑现离场",
"next": "继续暂停新增买入,正常卖出照常;第二次独立清仓信号或正式评级下调触发退出。原有止盈止损、目标价与用户清仓命令仍按各自规则处理。 合成择时的再次确认须有至少两组新的独立看空证据,重复读取不计数。",
"current": "当前没有有效择时结论,不能据此确认退出或恢复买入。"
},
"list_tech": {
"stance": "中性",
"phase": "分歧",
"data_date": 20261113
},
"research_tech": {
"stance": "中性",
"phase": "分歧",
"data_date": 20261113
}
},
"300750.SZ": {
"total_qty": 100,
"status": "只卖不买",
"detail": {
"status": "只卖不买",
"reason": "第一次清仓信号已确认,停止新增买入,等待第二次独立信号",
"first_at": "2026-11-09 10:30:28",
"first_reason": "放量破249缺口下沿,岛形反转结构破坏,主力净流出印证,执行止损离场",
"next": "继续暂停新增买入,正常卖出照常;第二次独立清仓信号或正式评级下调触发退出。原有止盈止损、目标价与用户清仓命令仍按各自规则处理。 合成择时的再次确认须有至少两组新的独立看空证据,重复读取不计数。",
"current": "当前没有有效择时结论,不能据此确认退出或恢复买入。"
},
"list_tech": {
"stance": "看空",
"phase": "转空",
"data_date": 20261113
},
"research_tech": {
"stance": "看空",
"phase": "转空",
"data_date": 20261113
}
},
"601126.SH": {
"total_qty": 2700,
"status": "只卖不买",
"detail": {
"status": "只卖不买",
"reason": "第一次清仓信号已确认,停止新增买入,等待第二次独立信号",
"first_at": "2026-11-12 13:56:48",
"first_reason": "三组独立证据:同向看空",
"next": "继续暂停新增买入,正常卖出照常;第二次独立清仓信号或正式评级下调触发退出。原有止盈止损、目标价与用户清仓命令仍按各自规则处理。 合成择时的再次确认须有至少两组新的独立看空证据,重复读取不计数。",
"current": "当前没有有效择时结论,不能据此确认退出或恢复买入。"
},
"list_tech": {
"stance": "中性",
"phase": "分歧",
"data_date": 20261113
},
"research_tech": {
"stance": "中性",
"phase": "分歧",
"data_date": 20261113
}
},
"603259.SH": {
"total_qty": 100,
"status": null,
"detail": null,
"list_tech": {
"stance": "看多",
"phase": "趋势多",
"data_date": 20261113
},
"research_tech": {
"stance": "看多",
"phase": "趋势多",
"data_date": 20261113
}
}
}
},
"natural": {
"at": "2026-11-16T12:34:16.879959+08:00",
"success_counts": {
"pms.proposal_scan": 1,
"pms.execution_basis_refresh": 1,
"pms.intraday_exec": 1,
"pms.command_poll": 1,
"pms.replay_fills": 1,
"pms.execution_cancel_confirm": 1,
"pms.rotation_tick": 1,
"pms.signal_digest": 1,
"pms.monitor_watch_sync": 1
},
"failed_task_names": [],
"results": {
"pms.execution_basis_refresh": {
"task_id": "4aa6392f-b472-4d22-8f67-871c1ef06f1a",
"status": "SUCCESS",
"result": {
"skipped": "not_in_session"
}
},
"pms.intraday_exec": {
"task_id": "0488db41-ff79-43ee-9c76-2c799719b780",
"status": "SUCCESS",
"result": {
"skipped": "not_in_session"
}
},
"pms.replay_fills": {
"task_id": "e934aa6e-d406-4563-b975-202d77c2e4f9",
"status": "SUCCESS",
"result": {
"skipped": "not_in_session"
}
}
}
},
"unchanged": {
"before": "2026-11-16T12:24:25.562857",
"after": "2026-11-16T12:33:54.976202",
"sections": [
"positions",
"lots",
"parents",
"params"
],
"selected_param_keys": [
"PMS_DISPATCH_MODE",
"PMS_GLOBAL_BUY_HALT",
"PMS_GLOBAL_EXEC_HALT",
"PMS_AUTO_GRID_STEP_PCT",
"PMS_TIMING_FUSION_ENABLED",
"PMS_SELF_DECIDE_TRIAL"
],
"snapshot_hashes": {
"before": "203c1ec794a6b83f1944f6d6aed386c31bdf385b3c69f5e1efaa9d175a443e34",
"after": "87d1c4a523271d45c983e4db8915ff80f542da32afc39cb77eb864a8a5c0c452"
}
},
"local_validation": {
"python": "3.12.14",
"full_suites": 88,
"full_log": "/private/tmp/pms-exit-display-final-tests.log",
"exit_cases": 47,
"position_cases": 17,
"final_page_guards": "3 passed",
"browser": "真实持仓和研究响应只读回放,其他区域预览占位;1440x1000及390x844,抽屉打开关闭正常,无控制台页面错误;真实零股杰普特显示未持仓。",
"scope_note": "本批全量88组后,择时异常边界复核47例;最终零股补充复核页面三道护栏和浏览器。最终00085bd全量在服务器候选完成。",
"full_log_sha256": "e1d17f61ce01aba04f77526759943de02fdfa2b21fd50cf67e1d5fd8171a3344"
}
}