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 f93ed2cfb5 Fix paper engine: prevent permanent rejection on transient order failures
Three bugs fixed:

1. _verify_order_fill now distinguishes alpaca_rejected vs order_timeout:
   - alpaca_rejected → record processed_event permanently (real problem)
   - order_timeout → do NOT record, allows retry on next run_next_open

2. Add _is_market_open() guard before every market buy submission:
   skips without recording so event retries when market opens

3. _parking_liquidate_for_event: sleep 1s → 3s after SGOV sell to give
   Alpaca time to settle cash; if plan still shows insufficient_cash after
   parking freed (race condition), skip without recording instead of
   permanently rejecting the event

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 months ago
..
__init__.py Add paper trading system: broker integration, state management, reporter 5 months ago
alpaca_broker.py Route ORB bar data through Oracle API instead of calling Alpaca SDK directly 4 months ago
auto.py Add v7.120 composed GLD experiment updates 4 months ago
backtest_sim.py Optimize v7 strategy: v7.356 achieves CW 2159% + SQS 90.7 (Pareto improvement over v7.314) 4 months ago
cli.py Prune unused sleeve presets and trim web preset lists 4 months ago
engine.py Fix paper engine: prevent permanent rejection on transient order failures 4 months ago
event_detector.py Extend lookback entry to paper trader and mock broker 4 months ago
mock_broker.py Add paper trading system: broker integration, state management, reporter 5 months ago
models.py Add non-core allocator v2 and Form4 freshness presets 4 months ago
reporter.py Remove overlay backtesting and scoring 5 months ago
state.py Remove momentum breakout sleeve (overfitting, valid -31%) and revert related code 4 months ago