{ "code": "28abddf5b454f3dd5a18ca79fcd35080253bb1cc", "scope": "155模拟PMS;仅web与worker;不启用新的交易规则", "local_validation": { "python": "3.12", "targeted_cases": 21, "suites": 88, "passed": true, "before_fix_reproduced_decimal_save_errors": 2 }, "before": { "at": "2026-11-16T13:54:32.204720+08:00", "host": "factorevaluation", "proposal_scan": { "task_id": "09a0eb46-6750-4a8f-a889-31104ea9a1b1", "status": "SUCCESS", "ok": false, "errors": [ "300693.SZ OPEN: TypeError: Object of type Decimal is not JSON serializable", "688768.SH OPEN: TypeError: Object of type Decimal is not JSON serializable", "688100.SH OPEN: TypeError: Object of type Decimal is not JSON serializable", "600183.SH OPEN: TypeError: Object of type Decimal is not JSON serializable", "002970.SZ OPEN: TypeError: Object of type Decimal is not JSON serializable", "002463.SZ OPEN: TypeError: Object of type Decimal is not JSON serializable", "605319.SH OPEN: TypeError: Object of type Decimal is not JSON serializable", "300408.SZ OPEN: TypeError: Object of type Decimal is not JSON serializable" ], "daily_buy_review": { "held": [], "approved": [], "queued": [], "ended": [], "waiting": [], "errors": [ "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2: Object of type Decimal is not JSON serializable" ] } }, "health": { "at": "2026-11-16T13:54:28.948944+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": 1896750, "received_at": "2026-11-16 13:54:00", "age_sec": 28.8 }, "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": { "last_seq": 1896756, "acked_seq": 1896756, "resync_flag": 0, "last_error": "" } }, "release": { "candidate": { "code": "28abddf5b454f3dd5a18ca79fcd35080253bb1cc", "patch_sha256": "0ee188705840b0382a58bbb2f6e8a03a0f414a9cc0fdd809f3780c3a922c91ff", "targets": { "web": { "base": "pms:exit-display-00085bd-web", "base_id": "sha256:e3b8c81161df88bd38a2643e2e958ad063475b14046d1151d7ceb05e191bc8b4", "candidate": "pms:tech-numeric-28abddf-web", "image_id": "sha256:578e2a903b7c8853a9bbe42ac56b5d8e1cc0ce7b9325927715c687110fb21969", "files": { "app/services/tech_service.py": "31c3a402bd5b36772df57e5f7cd8fc98f6c7774027121f8df71d34de43ab2f28", "scripts/test_proposal_trader_view.py": "53cb234821d1d3e498e7a2e326870c199a21d1ce4e629dc4f0d2b2bac0624c8c", "scripts/run_tests.py": "501377744bbc7720704f806648294ef79b82bf83d4f98ef20fe448d91444ce16" }, "suites": 88, "passed": true }, "worker": { "base": "pms:remediation-rules-7c60cdc-worker", "base_id": "sha256:5397eadc2c74b40848d99ed9aeb925a00ff9013a6fc10f6a837d75df16e6bc7e", "candidate": "pms:tech-numeric-28abddf-worker", "image_id": "sha256:0f03fc33bbd65a3b004fffda4ce154362a86519c4e60083e8510f6dfb2093d85", "files": { "app/services/tech_service.py": "31c3a402bd5b36772df57e5f7cd8fc98f6c7774027121f8df71d34de43ab2f28", "scripts/test_proposal_trader_view.py": "53cb234821d1d3e498e7a2e326870c199a21d1ce4e629dc4f0d2b2bac0624c8c", "scripts/run_tests.py": "45a9eb204fb636408e6dd9961032c1446a241e2adf79bea13eea742a2c324719" }, "suites": 87, "passed": true } }, "completed_at": "2026-11-16T14:13:49.690242+08:00" }, "prepare": { "at": "2026-11-16T14:14:27.621877+08:00", "backup": "/home/factor/project/tradingSystem/backups/tech-numeric-20261116-28abddf", "root_head": "8413bce9c13527d031e587e390754ba6b2b92c4f", "containers": 30, "changes": [ "pms-web image", "pms-worker image" ], "other_effective_configuration_unchanged": true }, "deployment": { "deployed_at": "2026-11-16T14:14:45.740182+08:00", "targets": [ "pms-web", "pms-worker" ], "drained": { "active": 0, "reserved": 0, "scheduled": 0, "active_queues": 0 }, "images": { "web": "pms:tech-numeric-28abddf-web", "worker": "pms:tech-numeric-28abddf-worker" } }, "verify": { "at": "2026-11-16T14:15:03.223396+08:00", "total_containers": 30, "unchanged_other_containers": 28, "targets": [ { "name": "pms-web", "id": "869c952d02c7a3b33198b5a1f7d15894d5a2be46c2b3f8484ee0b5c94e985e46", "image": "sha256:578e2a903b7c8853a9bbe42ac56b5d8e1cc0ce7b9325927715c687110fb21969", "tag": "pms:tech-numeric-28abddf-web", "started": "2026-11-16T06:14:45.114283432Z", "health": "healthy", "files_match_candidate": true }, { "name": "pms-worker", "id": "080b51958bcf37b5c944fd99904b76fff13f229fbfc66a8e87fa40d3e45fd037", "image": "sha256:0f03fc33bbd65a3b004fffda4ce154362a86519c4e60083e8510f6dfb2093d85", "tag": "pms:tech-numeric-28abddf-worker", "started": "2026-11-16T06:14:45.112918195Z", "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" ] } }, "pre-health": { "at": "2026-11-16T14:14:30.503171+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": 1897076, "acked_seq": 1897076, "resync_flag": 0, "heartbeat_at": "2026-11-16 14:14:29", "last_error": "", "stat": { "rx": 255080, "tx": 464889, "trades": 10, "rejects": 0, "reconnects": 2, "dropped": 0, "last_rx_at": "14:14:26", "last_tx_at": "14:14:28", "hs_server_seq": 1738206, "hs_last_seq": 1738206, "snap_positions_at": "14:14:00", "snap_positions_n": 4, "snap_funds_at": "14:14:00", "seq_hwm": 1897076, "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": 1897078, "received_at": "2026-11-16 14:14:30", "age_sec": 0.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 14:14:30", "trade_day": true, "calendar_degraded": false, "db_ok": true } }, "after-drain-health": { "at": "2026-11-16T14:14:40.815039+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": 1897080, "acked_seq": 1897080, "resync_flag": 0, "heartbeat_at": "2026-11-16 14:14:39", "last_error": "", "stat": { "rx": 255084, "tx": 464896, "trades": 10, "rejects": 0, "reconnects": 2, "dropped": 0, "last_rx_at": "14:14:36", "last_tx_at": "14:14:38", "hs_server_seq": 1738206, "hs_last_seq": 1738206, "snap_positions_at": "14:14:30", "snap_positions_n": 4, "snap_funds_at": "14:14:30", "seq_hwm": 1897080, "peer_skew_ms": 8, "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": 1897078, "received_at": "2026-11-16 14:14:30", "age_sec": 10.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 14:14:40", "trade_day": true, "calendar_degraded": false, "db_ok": true } } }, "natural_at_1416": { "at": "2026-11-16T14:16:48.417179+08:00", "success_counts": { "pms.replay_fills": 2, "pms.rotation_tick": 2, "pms.signal_digest": 2, "pms.execution_basis_refresh": 2, "pms.execution_cancel_confirm": 2, "pms.command_poll": 2, "pms.monitor_watch_sync": 2, "pms.intraday_exec": 2, "pms.proposal_scan": 2 }, "failed_task_names": [], "health": { "at": "2026-11-16T14:16:43.983391+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": 1897113, "acked_seq": 1897113, "resync_flag": 0, "heartbeat_at": "2026-11-16 14:16:42", "last_error": "", "stat": { "rx": 255117, "tx": 464957, "trades": 10, "rejects": 0, "reconnects": 2, "dropped": 0, "last_rx_at": "14:16:41", "last_tx_at": "14:16:41", "hs_server_seq": 1738206, "hs_last_seq": 1738206, "snap_positions_at": "14:16:30", "snap_positions_n": 4, "snap_funds_at": "14:16:30", "seq_hwm": 1897113, "peer_skew_ms": 8, "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": 1897110, "received_at": "2026-11-16 14:16:30", "age_sec": 13.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 14:16:44", "trade_day": true, "calendar_degraded": false, "db_ok": true } }, "typed_reading": { "web": { "live_technical_json_ok": true, "sample_code": "300364.SZ", "data_date": 20261113, "sar_type": "float", "recent_proposals": [ { "proposal_id": "PRP_20261116_002463SZ_OPEN", "ts_code": "002463.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:37", "qty": 200, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_002970SZ_OPEN", "ts_code": "002970.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:27", "qty": 600, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_600183SH_OPEN", "ts_code": "600183.SH", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:24", "qty": 300, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_688100SH_OPEN", "ts_code": "688100.SH", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:22", "qty": 700, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_688768SH_OPEN", "ts_code": "688768.SH", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:19", "qty": 400, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_300693SZ_OPEN", "ts_code": "300693.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:17", "qty": 600, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_DAILY_20261116_437f974ea11fca2da3", "ts_code": "300364.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:09", "qty": 600, "daily_parent": "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2", "tech_data_date": 20261113, "sar_type": "float" } ] }, "worker": { "live_technical_json_ok": true, "sample_code": "300364.SZ", "data_date": 20261113, "sar_type": "float", "recent_proposals": [ { "proposal_id": "PRP_20261116_002463SZ_OPEN", "ts_code": "002463.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:37", "qty": 200, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_002970SZ_OPEN", "ts_code": "002970.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:27", "qty": 600, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_600183SH_OPEN", "ts_code": "600183.SH", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:24", "qty": 300, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_688100SH_OPEN", "ts_code": "688100.SH", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:22", "qty": 700, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_688768SH_OPEN", "ts_code": "688768.SH", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:19", "qty": 400, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_20261116_300693SZ_OPEN", "ts_code": "300693.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:17", "qty": 600, "daily_parent": null, "tech_data_date": 20261113, "sar_type": "float" }, { "proposal_id": "PRP_DAILY_20261116_437f974ea11fca2da3", "ts_code": "300364.SZ", "status": "WAIT_USER", "created_at": "2026-11-16 14:15:09", "qty": 600, "daily_parent": "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2", "tech_data_date": 20261113, "sar_type": "float" } ] } }, "tasks": { "pms.replay_fills": { "task_id": "72f72a5c-ca92-4833-a16c-4590cd1e5898", "status": "SUCCESS", "errors": [], "ok": true, "fills": 0, "actions": 0 }, "pms.execution_basis_refresh": { "task_id": "b8ede7a8-fbec-43c9-8982-72156fe6f3a4", "status": "SUCCESS", "errors": [] }, "pms.intraday_exec": { "task_id": "e6b1118a-447a-4f4e-a82d-f47913225e83", "status": "SUCCESS", "errors": [], "ok": true, "mode": "ws", "dry_run": false, "fired": [] }, "pms.proposal_scan": { "task_id": "5771da98-3fcc-4f60-9e05-1a5e301f9d0c", "status": "SUCCESS", "errors": [ { "path": ".prepared_proposals[0].error", "value": "暂不满足建仓条件:计划修订或消费留痕尚未完成,暂停新的自主建仓" }, { "path": ".prepared_proposals[1].error", "value": "暂不满足建仓条件:计划修订或消费留痕尚未完成,暂停新的自主建仓" }, { "path": ".prepared_proposals[2].error", "value": "暂不满足建仓条件:计划修订或消费留痕尚未完成,暂停新的自主建仓" }, { "path": ".prepared_proposals[3].error", "value": "暂不满足建仓条件:计划修订或消费留痕尚未完成,暂停新的自主建仓" }, { "path": ".prepared_proposals[4].error", "value": "暂不满足建仓条件:计划修订或消费留痕尚未完成,暂停新的自主建仓" }, { "path": ".daily_buy_review.errors", "value": [ "当前研究资料未就绪,跨日买入继续等待" ] } ], "ok": true, "dry_run": false, "queued": [], "executed": [], "daily_buy_review": { "held": [], "approved": [], "queued": [], "ended": [], "waiting": [], "errors": [ "当前研究资料未就绪,跨日买入继续等待" ] } } } }, "scan_followup_at_1418": { "at": "2026-11-16T14:18:35.679721", "scans": [ { "task_id": "b0b27e52-0d09-4d5d-9cb4-32fe28e06b9b", "status": "SUCCESS", "ok": true, "errors": [], "queued": [ { "ts_code": "300693.SZ", "action": "OPEN", "side": "buy", "qty": 600, "reason": "新建仓: 候选池第 1 名 (分数 240.75, 主题 储能), 现价 30.8, 目标仓位 6% 约 113,960 元, 先建底仓 1900 股 (约 58,520 元)", "proposal_id": "PRP_20261116_300693SZ_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "688768.SH", "action": "OPEN", "side": "buy", "qty": 400, "reason": "新建仓: 候选池第 10 名 (分数 219.23, 主题 仪器仪表), 现价 44.94, 目标仓位 3% 约 53,928 元, 先建底仓 600 股 (约 26,964 元)", "proposal_id": "PRP_20261116_688768SH_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "688100.SH", "action": "OPEN", "side": "buy", "qty": 700, "reason": "新建仓: 候选池第 11 名 (分数 236.02, 主题 模组), 现价 26.29, 目标仓位 6% 约 115,676 元, 先建底仓 2200 股 (约 57,838 元)", "proposal_id": "PRP_20261116_688100SH_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "600183.SH", "action": "OPEN", "side": "buy", "qty": 300, "reason": "新建仓: 候选池第 12 名 (分数 206.2), 现价 61.57, 目标仓位 6% 约 104,669 元, 先建底仓 900 股 (约 55,413 元)", "proposal_id": "PRP_20261116_600183SH_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "002970.SZ", "action": "OPEN", "side": "buy", "qty": 600, "reason": "新建仓: 候选池第 13 名 (分数 204.83), 现价 31.64, 目标仓位 6% 约 113,904 元, 先建底仓 1800 股 (约 56,952 元)", "proposal_id": "PRP_20261116_002970SZ_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "002463.SZ", "action": "OPEN", "side": "buy", "qty": 200, "reason": "新建仓: 候选池第 14 名 (分数 204.04), 现价 74.47, 目标仓位 6% 约 96,811 元, 先建底仓 700 股 (约 52,129 元)", "proposal_id": "PRP_20261116_002463SZ_OPEN", "why": "研判不可用,降级人工确认" } ], "executed": [], "daily_buy_review": { "held": [], "approved": [], "queued": [ "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2" ], "ended": [], "waiting": [], "errors": [] } }, { "task_id": "5771da98-3fcc-4f60-9e05-1a5e301f9d0c", "status": "SUCCESS", "ok": true, "errors": [], "queued": [], "executed": [], "daily_buy_review": { "held": [], "approved": [], "queued": [], "ended": [], "waiting": [], "errors": [ "当前研究资料未就绪,跨日买入继续等待" ] } }, { "task_id": "e63cd112-0efe-4a6a-b86d-a8b60cd662df", "status": "SUCCESS", "ok": true, "errors": [], "queued": [], "executed": [], "daily_buy_review": { "held": [], "approved": [], "queued": [], "ended": [], "waiting": [], "errors": [] } }, { "task_id": "a7237b1a-327d-42da-a017-5460feb82b96", "status": "SUCCESS", "ok": true, "errors": [], "queued": [ { "ts_code": "605319.SH", "action": "OPEN", "side": "buy", "qty": 1000, "reason": "新建仓: 候选池第 15 名 (分数 203.95), 现价 18.77, 目标仓位 6% 约 114,497 元, 先建底仓 3100 股 (约 58,187 元)", "proposal_id": "PRP_20261116_605319SH_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "300408.SZ", "action": "OPEN", "side": "buy", "qty": 300, "reason": "新建仓: 候选池第 17 名 (分数 203.36), 现价 64.68, 目标仓位 6% 约 109,956 元, 先建底仓 900 股 (约 58,212 元)", "proposal_id": "PRP_20261116_300408SZ_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "603203.SH", "action": "OPEN", "side": "buy", "qty": 600, "reason": "新建仓: 候选池第 20 名 (分数 200.85), 现价 30.15, 目标仓位 3% 约 54,270 元, 先建底仓 900 股 (约 27,135 元)", "proposal_id": "PRP_20261116_603203SH_OPEN", "why": "研判不可用,降级人工确认" }, { "ts_code": "300182.SZ", "action": "OPEN", "side": "buy", "qty": 3400, "reason": "新建仓: 候选池第 304 名 (分数 —), 现价 5.68, 目标仓位 1% 约 19,312 元, 先建底仓 3400 股 (约 19,312 元)", "proposal_id": "PRP_20261116_300182SZ_OPEN", "why": "研判不可用,降级人工确认" } ], "executed": [], "daily_buy_review": { "held": [], "approved": [], "queued": [ "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2" ], "ended": [], "waiting": [], "errors": [] } } ], "current_research": { "decision": { "cutoff_at": "2026-11-16T04:10:02.680207+00:00", "id": "2026-11-13_e312d2f2e1909f058a12375c2c353ccc592515bed9070003733df3cbea66f8b9", "parent_id": "2026-11-13_153697d1900ecb8af6b4d6f8bab35f67200846f99d8cb3d93dffe84203da4e82", "publication_kind": "revision", "reason": "评析或评级排序期限更新" }, "refresh_status": { "checked_at": "2026-11-16T06:15:30+00:00", "decision_id": "2026-11-13_e312d2f2e1909f058a12375c2c353ccc592515bed9070003733df3cbea66f8b9", "error": null, "pending_codes": [] } }, "proposal_preparation": [ { "id": "PRP_20261116_300182SZ_OPEN", "code": "300182.SZ", "status": "WAIT_USER", "preparation": { "status": "pending", "reason": "建议依据已变化,后台正在更新" } }, { "id": "PRP_20261116_603203SH_OPEN", "code": "603203.SH", "status": "WAIT_USER", "preparation": { "status": "pending", "reason": "建议依据已变化,后台正在更新" } }, { "id": "PRP_20261116_300408SZ_OPEN", "code": "300408.SZ", "status": "WAIT_USER", "preparation": { "status": "pending", "reason": "建议依据已变化,后台正在更新" } }, { "id": "PRP_20261116_605319SH_OPEN", "code": "605319.SH", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:18:23.766914+08:00" } }, { "id": "PRP_DAILY_20261116_7ab7e2e4b6e11fa731", "code": "300364.SZ", "status": "WAIT_USER", "preparation": { "status": "ready" } }, { "id": "PRP_20261116_002463SZ_OPEN", "code": "002463.SZ", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:17:17.120954+08:00" } }, { "id": "PRP_20261116_002970SZ_OPEN", "code": "002970.SZ", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:17:17.120954+08:00" } }, { "id": "PRP_20261116_600183SH_OPEN", "code": "600183.SH", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:17:17.120954+08:00" } }, { "id": "PRP_20261116_688100SH_OPEN", "code": "688100.SH", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:18:09.279193+08:00" } }, { "id": "PRP_20261116_688768SH_OPEN", "code": "688768.SH", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:17:17.120954+08:00" } }, { "id": "PRP_20261116_300693SZ_OPEN", "code": "300693.SZ", "status": "WAIT_USER", "preparation": { "status": "ready", "at": "2026-11-16T14:15:16.761400+08:00" } }, { "id": "PRP_DAILY_20261116_437f974ea11fca2da3", "code": "300364.SZ", "status": "WAIT_USER", "preparation": { "status": "ready" } } ], "log_decimal_error_count": 0, "log_consumption_save_error_count": 0 }, "unverified_natural_scenarios": [ "最低申报超过预算", "报价变化和部分成交后的预算限制", "网格库存拦截及卖出入账后恢复循环", "人工止损实际触价" ], "final_health": { "at": "2026-11-16T14:21:04.539612+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": 1897183, "acked_seq": 1897183, "resync_flag": 0, "heartbeat_at": "2026-11-16 14:21:04", "last_error": "", "stat": { "rx": 255187, "tx": 465083, "trades": 10, "rejects": 0, "reconnects": 2, "dropped": 0, "last_rx_at": "14:21:01", "last_tx_at": "14:21:02", "hs_server_seq": 1738206, "hs_last_seq": 1738206, "snap_positions_at": "14:21:00", "snap_positions_n": 4, "snap_funds_at": "14:21:00", "seq_hwm": 1897183, "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": 1897181, "received_at": "2026-11-16 14:21:00", "age_sec": 4.4 }, "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 14:21:04", "trade_day": true, "calendar_degraded": false, "db_ok": true } } }