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 d4daf7a951 Fix stale chunk_checkpoint test; add _record_trade and run_post_close tests
- Fix pre-existing test failure: fake_run_sim mock was missing **kwargs for
  the vix_by_day argument added to run_orb_simulation_with_state

- Add TestRecordTrade (7 tests): verifies long/short PnL sign, R-multiple,
  DB close call, and exit_reason preservation — the direction sign bug would
  silently invert short-trade PnL

- Add TestRunPostClose (4 tests): equity accumulation, stops_hit counter,
  today-only trade filter, snapshot persistence

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 months ago
..
__init__.py Add unit tests for ORBTradingEngine._compute_sizing_capital 4 months ago
test_detection_guards.py Fix EOD DB sweep bug and add regression test 4 months ago
test_record_trade.py Fix stale chunk_checkpoint test; add _record_trade and run_post_close tests 4 months ago
test_sizing.py Add unit tests for ORBTradingEngine._compute_sizing_capital 4 months ago