811 lines
27 KiB
JSON
811 lines
27 KiB
JSON
{
|
|
"code_commit": "6c5afe2a82c2834e118dd8f530d7d2f0d93e476a",
|
|
"branch": "codex/trading-remediation-20261116",
|
|
"deployment": {
|
|
"deployed_at": "2026-11-16T11:05:35.906803+08:00",
|
|
"targets": [
|
|
"pms-web",
|
|
"pms-worker"
|
|
],
|
|
"drained": {
|
|
"active": 0,
|
|
"reserved": 0,
|
|
"scheduled": 0,
|
|
"active_queues": 0
|
|
},
|
|
"images": {
|
|
"web": "pms:remediation-budget-6c5afe2-web",
|
|
"worker": "pms:remediation-budget-6c5afe2-worker"
|
|
}
|
|
},
|
|
"candidate": {
|
|
"code": "6c5afe2a82c2834e118dd8f530d7d2f0d93e476a",
|
|
"patch_sha256": "f3130aaf45d013325871840e30983c1afe8596a29923374fa94da3a3d5b9b77a",
|
|
"targets": {
|
|
"web": {
|
|
"base": "pms:remediation-grid-0ea114f-web",
|
|
"base_id": "sha256:421f64c76db6f07c8fd6436f8201b2dccecd38430ffe53d91e767fceb2e34141",
|
|
"candidate": "pms:remediation-budget-6c5afe2-web",
|
|
"image_id": "sha256:dc04b401c1640d914d2f8321114c9bd1dbccf3948a152dd7a882ddaafcfd7949",
|
|
"files": {
|
|
"app/core/action_engine.py": "38ddcfcba8dd381dc01221a6d851ea3866ca7d8f0298d5f14df4d407aa84ed0e",
|
|
"app/core/buy_budget.py": "3c8637a67c72a77fc0fd760013116a62075485de596696b88d5eefafefe083ae",
|
|
"app/db/session.py": "049bfe3ece4ea82e4896e6f35bca62e91a1e6efe5531fbe99fbe88f03e83586e",
|
|
"app/repo/pms_repo.py": "72eb28d20d387cccfd4faaf02b978f113a45ad4a8ccb7fbdecbc26af8da9110a",
|
|
"app/services/advice_service.py": "23daebf32ce0a6a1f34577f8198592cd3594cb73513a6cc27255a79440de0295",
|
|
"app/services/buy_budget.py": "e6d6636027483ef4aee0f9c2177a73130fd7bb88ef712e467d0d1b073d63af70",
|
|
"app/services/dispatcher.py": "e180d5902a87a3fd81f560efec93de869e20ad506797fe377f8806caedcca5e1",
|
|
"app/services/executor.py": "fbd90d82099931a1abcbccacbb694fe587f791558289656bfaf1fae7cc861fb0",
|
|
"app/services/plan_recheck.py": "f142997c53c02bac1b7bdb9323cd19159e6e36d6de6ffd228a7a7df37ada4f6b",
|
|
"app/services/proposal_service.py": "c2da8f57c328cec3b7ce51707a9219fcaad879a5fdbf7aa0536d888babc35777",
|
|
"app/services/rotation_execution.py": "678573a24ddc82c07e8a8a9e9b156ac763324d3c2089f0415242084b97a03d10",
|
|
"app/services/strategy_advisor.py": "445c10f3ec18306d44543778105185dc69ccc8db08daef4b5967b8cbb66645e7",
|
|
"app/services/strategy_runner.py": "5ae8a87757b17ca03d8a4492cc637017382c1491b0734242c340779b2aa6fd8f",
|
|
"app/web/main.py": "3015641db817a548cd978098770d57069bbecdd6eb31e83dcd88a31103d390e7",
|
|
"scripts/run_tests.py": "fdac8e04add5b745c7ea75c1948ebd9671b57c4955560fe37053ce8c08cef12c",
|
|
"scripts/test_batch10_units.py": "ec1550680a5b11292097e422559fe844e544219bfaba841f46c64a86fc1c7466",
|
|
"scripts/test_batch26_units.py": "faf2edc690a60a3c598f40721b275f5df802f86537e5ff08f8b2b7c3d816f876",
|
|
"scripts/test_batch51_units.py": "7dcb95fedf37a284de5a84cce754802fd7706f2e1ae927bfea7dc8edab8716b3",
|
|
"scripts/test_buy_budget.py": "e568223ce76792c733c17f0ceea59b237e60d0637e8f1df02e7b1201529882de",
|
|
"scripts/test_trade_correction_strategy.py": "63ebd103240417410fac5c7a2c0e6704fd3e1ec2f3ba751e6708c850bf9eea48",
|
|
"scripts/test_wiring.py": "c32cee9652474e6340dab32c92e8fc99ce3db6bd82678fc067a0b0a485afb1dc"
|
|
},
|
|
"suites": 87,
|
|
"passed": true
|
|
},
|
|
"worker": {
|
|
"base": "pms:remediation-grid-0ea114f-worker",
|
|
"base_id": "sha256:537afcc93e2ac138e546a5f89eb634f48d21eefb74492f6405814011653498ec",
|
|
"candidate": "pms:remediation-budget-6c5afe2-worker",
|
|
"image_id": "sha256:96bfd729fc83cdebf7a87393795898f893f7c16c4296fc152f15cac6840d42fd",
|
|
"files": {
|
|
"app/core/action_engine.py": "38ddcfcba8dd381dc01221a6d851ea3866ca7d8f0298d5f14df4d407aa84ed0e",
|
|
"app/core/buy_budget.py": "3c8637a67c72a77fc0fd760013116a62075485de596696b88d5eefafefe083ae",
|
|
"app/db/session.py": "049bfe3ece4ea82e4896e6f35bca62e91a1e6efe5531fbe99fbe88f03e83586e",
|
|
"app/repo/pms_repo.py": "72eb28d20d387cccfd4faaf02b978f113a45ad4a8ccb7fbdecbc26af8da9110a",
|
|
"app/services/advice_service.py": "23daebf32ce0a6a1f34577f8198592cd3594cb73513a6cc27255a79440de0295",
|
|
"app/services/buy_budget.py": "e6d6636027483ef4aee0f9c2177a73130fd7bb88ef712e467d0d1b073d63af70",
|
|
"app/services/dispatcher.py": "e180d5902a87a3fd81f560efec93de869e20ad506797fe377f8806caedcca5e1",
|
|
"app/services/executor.py": "fbd90d82099931a1abcbccacbb694fe587f791558289656bfaf1fae7cc861fb0",
|
|
"app/services/plan_recheck.py": "f142997c53c02bac1b7bdb9323cd19159e6e36d6de6ffd228a7a7df37ada4f6b",
|
|
"app/services/proposal_service.py": "c2da8f57c328cec3b7ce51707a9219fcaad879a5fdbf7aa0536d888babc35777",
|
|
"app/services/rotation_execution.py": "678573a24ddc82c07e8a8a9e9b156ac763324d3c2089f0415242084b97a03d10",
|
|
"app/services/strategy_advisor.py": "445c10f3ec18306d44543778105185dc69ccc8db08daef4b5967b8cbb66645e7",
|
|
"app/services/strategy_runner.py": "5ae8a87757b17ca03d8a4492cc637017382c1491b0734242c340779b2aa6fd8f",
|
|
"app/web/main.py": "6c254e168d6107c929f1da07d88ddb6676e7ebf2dcc0e4ef163abd868d11cdb6",
|
|
"scripts/run_tests.py": "ba42c9aefd8efc1b19cfbbc4259b301b430e4cfb7b752fd708cc9bf490da89ec",
|
|
"scripts/test_batch10_units.py": "78b2bf2764e5027f8676a53213ebbd95ac434c9e97a5019a66fefb30c912678f",
|
|
"scripts/test_batch26_units.py": "faf2edc690a60a3c598f40721b275f5df802f86537e5ff08f8b2b7c3d816f876",
|
|
"scripts/test_batch51_units.py": "7dcb95fedf37a284de5a84cce754802fd7706f2e1ae927bfea7dc8edab8716b3",
|
|
"scripts/test_buy_budget.py": "e568223ce76792c733c17f0ceea59b237e60d0637e8f1df02e7b1201529882de",
|
|
"scripts/test_trade_correction_strategy.py": "63ebd103240417410fac5c7a2c0e6704fd3e1ec2f3ba751e6708c850bf9eea48",
|
|
"scripts/test_wiring.py": "c32cee9652474e6340dab32c92e8fc99ce3db6bd82678fc067a0b0a485afb1dc"
|
|
},
|
|
"suites": 86,
|
|
"passed": true
|
|
}
|
|
},
|
|
"completed_at": "2026-11-16T11:04:03.854841+08:00"
|
|
},
|
|
"verify": {
|
|
"at": "2026-11-16T11:06:24.768092+08:00",
|
|
"total_containers": 30,
|
|
"unchanged_other_containers": 28,
|
|
"targets": [
|
|
{
|
|
"name": "pms-web",
|
|
"id": "3517f279e533fa2be854acfc222055d4d9354ee21cec5de7edc336a5d6aa4452",
|
|
"image": "sha256:dc04b401c1640d914d2f8321114c9bd1dbccf3948a152dd7a882ddaafcfd7949",
|
|
"tag": "pms:remediation-budget-6c5afe2-web",
|
|
"started": "2026-11-16T03:05:35.366139608Z",
|
|
"health": "healthy",
|
|
"files_match_candidate": true
|
|
},
|
|
{
|
|
"name": "pms-worker",
|
|
"id": "e845d1717e77fb07bb2581f908fc4be92649997866e383559e9e01660e5f0859",
|
|
"image": "sha256:96bfd729fc83cdebf7a87393795898f893f7c16c4296fc152f15cac6840d42fd",
|
|
"tag": "pms:remediation-budget-6c5afe2-worker",
|
|
"started": "2026-11-16T03:05:35.366969331Z",
|
|
"health": null,
|
|
"files_match_candidate": true
|
|
}
|
|
],
|
|
"private_configuration_unchanged": true,
|
|
"worker": {
|
|
"queues": [
|
|
"celery"
|
|
],
|
|
"tasks": [
|
|
"pms.command_poll",
|
|
"pms.daily_report",
|
|
"pms.daily_settle",
|
|
"pms.execution_basis_refresh",
|
|
"pms.execution_cancel_confirm",
|
|
"pms.intraday_exec",
|
|
"pms.macro_scan",
|
|
"pms.monitor_watch_sync",
|
|
"pms.nav_snapshot",
|
|
"pms.plan_pull",
|
|
"pms.premarket",
|
|
"pms.proposal_scan",
|
|
"pms.replay_fills",
|
|
"pms.rotation_tick",
|
|
"pms.signal_digest",
|
|
"pms.strategy_attach",
|
|
"pms.t0_close",
|
|
"pms.tech_pull"
|
|
]
|
|
}
|
|
},
|
|
"backup_directory": "/home/factor/project/tradingSystem/backups/remediation-budget-20261116-6c5afe2",
|
|
"development_validation": {
|
|
"python": "3.12.14",
|
|
"full_suites": 87,
|
|
"budget_cases": 41,
|
|
"batch51_cases": 38,
|
|
"full_log": "/private/tmp/pms-budget-full-committed.log",
|
|
"full_log_sha256": "3c3271febe0cbe628a8319c38d9e15d9d3f5e437fe9202da81eff6e8f5338dd0",
|
|
"budget_log_sha256": "79180f05838d29412c7a4a0454fc2e18da426d69a9e92307b42363f4717f5547"
|
|
},
|
|
"before": {
|
|
"at": "2026-11-16T11:05:14.867568+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": 1894050,
|
|
"acked_seq": 1894050,
|
|
"resync_flag": 0,
|
|
"heartbeat_at": "2026-11-16 11:05:14",
|
|
"last_error": "",
|
|
"stat": {
|
|
"rx": 252054,
|
|
"tx": 459379,
|
|
"trades": 10,
|
|
"rejects": 0,
|
|
"reconnects": 2,
|
|
"dropped": 0,
|
|
"last_rx_at": "11:05:10",
|
|
"last_tx_at": "11:05:12",
|
|
"hs_server_seq": 1738206,
|
|
"hs_last_seq": 1738206,
|
|
"snap_positions_at": "11:04:59",
|
|
"snap_positions_n": 4,
|
|
"snap_funds_at": "11:04:59",
|
|
"seq_hwm": 1894050,
|
|
"peer_skew_ms": -4,
|
|
"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": 1894046,
|
|
"received_at": "2026-11-16 11:04:59",
|
|
"age_sec": 15.8
|
|
},
|
|
"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 11:05:15",
|
|
"trade_day": true,
|
|
"calendar_degraded": false,
|
|
"db_ok": true
|
|
}
|
|
},
|
|
"after_drain": {
|
|
"at": "2026-11-16T11:05:31.429893+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": 1894055,
|
|
"acked_seq": 1894055,
|
|
"resync_flag": 0,
|
|
"heartbeat_at": "2026-11-16 11:05:30",
|
|
"last_error": "",
|
|
"stat": {
|
|
"rx": 252059,
|
|
"tx": 459387,
|
|
"trades": 10,
|
|
"rejects": 0,
|
|
"reconnects": 2,
|
|
"dropped": 0,
|
|
"last_rx_at": "11:05:29",
|
|
"last_tx_at": "11:05:29",
|
|
"hs_server_seq": 1738206,
|
|
"hs_last_seq": 1738206,
|
|
"snap_positions_at": "11:05:29",
|
|
"snap_positions_n": 4,
|
|
"snap_funds_at": "11:05:29",
|
|
"seq_hwm": 1894053,
|
|
"peer_skew_ms": -15,
|
|
"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": 1894055,
|
|
"received_at": "2026-11-16 11:05:29",
|
|
"age_sec": 2.3
|
|
},
|
|
"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 11:05:31",
|
|
"trade_day": true,
|
|
"calendar_degraded": false,
|
|
"db_ok": true
|
|
}
|
|
},
|
|
"after": {
|
|
"at": "2026-11-16T11:08:06.102021+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": 1894096,
|
|
"acked_seq": 1894096,
|
|
"resync_flag": 0,
|
|
"heartbeat_at": "2026-11-16 11:08:04",
|
|
"last_error": "",
|
|
"stat": {
|
|
"rx": 252100,
|
|
"tx": 459463,
|
|
"trades": 10,
|
|
"rejects": 0,
|
|
"reconnects": 2,
|
|
"dropped": 0,
|
|
"last_rx_at": "11:08:00",
|
|
"last_tx_at": "11:08:01",
|
|
"hs_server_seq": 1738206,
|
|
"hs_last_seq": 1738206,
|
|
"snap_positions_at": "11:07:59",
|
|
"snap_positions_n": 4,
|
|
"snap_funds_at": "11:07:59",
|
|
"seq_hwm": 1894096,
|
|
"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": 1894095,
|
|
"received_at": "2026-11-16 11:07:59",
|
|
"age_sec": 6.9
|
|
},
|
|
"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": "5ae8a87757b17ca03d8a4492cc637017382c1491b0734242c340779b2aa6fd8f",
|
|
"scripts/test_grid_execution.py": "55ca2b7c298a48f65e940238f8def173f247079f6601f7f68342fd58a80d7888"
|
|
},
|
|
"http_health": 200,
|
|
"health": {
|
|
"status": "ok",
|
|
"version": "0.2.0-dev",
|
|
"service": "pms-web",
|
|
"now": "2026-11-16 11:08:06",
|
|
"trade_day": true,
|
|
"calendar_degraded": false,
|
|
"db_ok": true
|
|
}
|
|
},
|
|
"runtime_comparison": {
|
|
"before_at": "2026-11-16T10:43:53.091130",
|
|
"after_at": "2026-11-16T11:06:56.976026",
|
|
"params_equal": true,
|
|
"codes": {
|
|
"002979.SZ": {
|
|
"position_equal": true,
|
|
"lots_equal": true,
|
|
"before_qty": 100,
|
|
"after_qty": 100
|
|
},
|
|
"300364.SZ": {
|
|
"position_equal": true,
|
|
"lots_equal": true,
|
|
"before_qty": null,
|
|
"after_qty": null
|
|
},
|
|
"300750.SZ": {
|
|
"position_equal": true,
|
|
"lots_equal": true,
|
|
"before_qty": 100,
|
|
"after_qty": 100
|
|
},
|
|
"601126.SH": {
|
|
"position_equal": true,
|
|
"lots_equal": true,
|
|
"before_qty": 2700,
|
|
"after_qty": 2700
|
|
},
|
|
"603259.SH": {
|
|
"position_equal": true,
|
|
"lots_equal": true,
|
|
"before_qty": 100,
|
|
"after_qty": 100
|
|
}
|
|
}
|
|
},
|
|
"live_budget_check": {
|
|
"at": "2026-11-16T11:06:20.643057",
|
|
"scope": "pms-sim-155",
|
|
"positions": {
|
|
"002979.SZ": {
|
|
"qty": 100,
|
|
"buy_restriction": "本轮为试探仓,暂停网格及其他自动加仓;扩大投入须明确新的买入命令"
|
|
},
|
|
"300750.SZ": {
|
|
"qty": 100,
|
|
"buy_restriction": "本轮为试探仓,暂停网格及其他自动加仓;扩大投入须明确新的买入命令"
|
|
},
|
|
"601126.SH": {
|
|
"qty": 2700,
|
|
"buy_restriction": ""
|
|
},
|
|
"603259.SH": {
|
|
"qty": 100,
|
|
"buy_restriction": "本轮为试探仓,暂停网格及其他自动加仓;扩大投入须明确新的买入命令"
|
|
}
|
|
},
|
|
"parents": {
|
|
"INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2": {
|
|
"code": "300364.SZ",
|
|
"status": "WAIT_REVIEW",
|
|
"budget": {
|
|
"version": 1,
|
|
"ts_code": "300364.SZ",
|
|
"amount": "17226.00",
|
|
"scale": "1.72260E+6",
|
|
"target_pct": "0.010",
|
|
"quantity_limit": 600,
|
|
"tier": "试探仓",
|
|
"basis": "买入成交金额,不含另记的交易费用",
|
|
"revision": "9d406551056d9ac5fe97a5ec"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"natural": {
|
|
"at": "2026-11-16T11:07:01.257022+08:00",
|
|
"success_counts": {
|
|
"pms.execution_basis_refresh": 1,
|
|
"pms.command_poll": 1,
|
|
"pms.rotation_tick": 1,
|
|
"pms.monitor_watch_sync": 1,
|
|
"pms.replay_fills": 1,
|
|
"pms.signal_digest": 1,
|
|
"pms.execution_cancel_confirm": 1,
|
|
"pms.intraday_exec": 1,
|
|
"pms.proposal_scan": 1
|
|
},
|
|
"failed_task_names": [],
|
|
"results": {
|
|
"pms.execution_basis_refresh": {
|
|
"task_id": "acc0a997-9240-4581-9344-f753b185e1a0",
|
|
"status": "SUCCESS",
|
|
"result": {
|
|
"enabled": true,
|
|
"refreshed": [],
|
|
"errors": [],
|
|
"skipped": [],
|
|
"risk_reviews": {
|
|
"enabled": true,
|
|
"ok": true,
|
|
"reviews": {},
|
|
"errors": [],
|
|
"skipped": "尚未到持仓评析刷新时间"
|
|
}
|
|
}
|
|
},
|
|
"pms.replay_fills": {
|
|
"task_id": "d9286477-b296-4bb6-ae67-a86752f369d8",
|
|
"status": "SUCCESS",
|
|
"result": {
|
|
"ok": true,
|
|
"fills": 0,
|
|
"actions": 0,
|
|
"alerts": [],
|
|
"errors": [],
|
|
"cursor": "2026-11-13 10:00:54",
|
|
"ws": {
|
|
"ok": true,
|
|
"trades": 0,
|
|
"actions": 0,
|
|
"fees": 0,
|
|
"alerts": [],
|
|
"errors": []
|
|
},
|
|
"corrections": {
|
|
"ok": true,
|
|
"applied": 0,
|
|
"waiting": 0,
|
|
"held": 0,
|
|
"errors": [],
|
|
"alerts": []
|
|
},
|
|
"light_recon": {
|
|
"diffs": 0,
|
|
"severity": "OK"
|
|
}
|
|
}
|
|
},
|
|
"pms.intraday_exec": {
|
|
"task_id": "28f8a6f3-0259-43c6-825f-620c13b9477f",
|
|
"status": "SUCCESS",
|
|
"result": {
|
|
"materialized": {
|
|
"created": [],
|
|
"skipped": [],
|
|
"errors": [],
|
|
"scanned": 0,
|
|
"note": "没有 PENDING 方案可转 —— 这**不是**失败。当前方案分布: 一条方案都没有。EXECUTING = 已经转过指令了 (看 make t-ins); GATED = 等动作引擎解锁的批",
|
|
"plans_by_status": {
|
|
"GATED": 0,
|
|
"EXECUTING": 0,
|
|
"DONE": 0
|
|
}
|
|
},
|
|
"execution_basis": {
|
|
"cancelled": [
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "CANCELLED",
|
|
"message": "指令 INS_20261113_688100SH_OPEN_140908 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261112_603533SH_OPEN_001_c8edfe45ad10 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "CANCELLED",
|
|
"message": "指令 STR20261109100402_601126SH_g 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "CANCELLED",
|
|
"message": "指令 INS_20261109_300750SZ_OPEN_93201 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261106_601126SH_OPEN_93200 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261105_300124SZ_OPEN_001_ada7d8ae8bda 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261105_603667SH_OPEN_001_9c23abd05c05 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261105_688100SH_OPEN_101100 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261103_688017SH_OPEN_001_46624bd10d91 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261103_601126SH_OPEN_001_4515a80d3f58 已结束"
|
|
},
|
|
{
|
|
"ok": true,
|
|
"confirmed": true,
|
|
"pending": false,
|
|
"cancel_pending": false,
|
|
"status": "EXPIRED",
|
|
"message": "指令 INS_20261103_002979SZ_OPEN_001_134e680ae814 已结束"
|
|
}
|
|
],
|
|
"replacing": [],
|
|
"errors": []
|
|
},
|
|
"risk_exit": {
|
|
"enabled": true,
|
|
"reviews": {
|
|
"002979.SZ": "same",
|
|
"300750.SZ": "missing",
|
|
"601126.SH": "same",
|
|
"603259.SH": "same",
|
|
"603667.SH": null,
|
|
"688025.SH": null,
|
|
"688100.SH": null
|
|
},
|
|
"errors": [],
|
|
"ok": true
|
|
},
|
|
"strategies": {
|
|
"enabled": true,
|
|
"checked": 2,
|
|
"fired": [],
|
|
"queued": [],
|
|
"skipped": [],
|
|
"notes": [
|
|
"601126.SH 自动网格买入等待三源合议放行:等待新的有效合成择时",
|
|
"002979.SZ 自动网格买入等待三源合议放行:等待新的有效合成择时",
|
|
"002979.SZ 本轮为试探仓,暂停网格及其他自动加仓;扩大投入须明确新的买入命令"
|
|
],
|
|
"errors": [],
|
|
"dry_run": false,
|
|
"ok": true
|
|
},
|
|
"swept": {
|
|
"expired": [],
|
|
"partial": [],
|
|
"synced": 0,
|
|
"errors": []
|
|
},
|
|
"ok": true,
|
|
"checked": 1,
|
|
"fired": [],
|
|
"waited": [
|
|
{
|
|
"instruction_id": "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2",
|
|
"code": "300364.SZ",
|
|
"reason": "跨日买入尚未完成当日决策复核"
|
|
}
|
|
],
|
|
"rejected": [],
|
|
"errors": [],
|
|
"mode": "ws",
|
|
"dry_run": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"pending_acceptance": [
|
|
"Natural minimum-lot rejection with an otherwise eligible buy",
|
|
"Natural repricing and partial-fill budget enforcement",
|
|
"Grid new-price restriction and booked-sale reopening cycle"
|
|
],
|
|
"scope": "155 simulation only; no parameter change, no historical trade rewrite, no injected orders or manually triggered trading/model tasks",
|
|
"overlay_notes": {
|
|
"method": "Apply committed business patch against each actual base image; preserve role-specific unrelated code",
|
|
"web_differences_from_commit": [
|
|
"scripts/run_tests.py (preserve base registry and add budget suite)"
|
|
],
|
|
"worker_differences_from_commit": [
|
|
"app/web/main.py (preserve base ETF functionality)",
|
|
"scripts/run_tests.py (preserve base registry and add budget suite)",
|
|
"scripts/test_batch10_units.py (preserve base guards and add accept_open guard)"
|
|
]
|
|
}
|
|
}
|