You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
I Luk Kim 98923e8620 Add Phase 6 reconciliation: position integrity, kill switch, order fill verification
- ReconciliationReport dataclass tracking orphaned/ghost positions and stale orders
- _cancel_stale_orders(): cancel leftover open orders at daily run start
- _reconcile_positions(): detect Alpaca vs local state mismatches; auto-close ghost positions with RECONCILED exit reason
- _verify_order_fill(): poll broker up to 2s to confirm market order fill before saving state
- _check_kill_switch(): activate and persist kill switch at 25% drawdown; blocks new entries
- run_daily() and _process_entries() wired with all safety checks
- 18 unit tests covering all reconciliation scenarios

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 months ago
..
backtester Enhance backtest engine: v11 scoring, selector expansion, snapshot store improvements 5 months ago
paper_trader Add Phase 6 reconciliation: position integrity, kill switch, order fill verification 5 months ago
pipeline Add overlay engine, ranking models, snapshot pipelines, and research tools 5 months ago
qa feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 5 months ago
review feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 5 months ago
sync feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 5 months ago
tools Remove overlay backtesting and scoring 5 months ago
tracker Remove overlay backtesting and scoring 5 months ago
__init__.py