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.
- 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 | |
|---|---|---|
| .. | ||
| test_backtest_sim.py | 5 months ago | |
| test_cli.py | 5 months ago | |
| test_reconciliation.py | 5 months ago | |