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 c5fa1394ed Add run_stop_check unit tests covering stop_loss, breakeven, and tighten
Tests the stop evaluation loop that mirrors orb_simulator.py:477-580:
- Long/short stop_loss hit
- Breakeven promotion (stop moves to entry at 1R)
- trailing_tighten_at_r: verifies tight ATR multiplier fires at 2R vs
  normal multiplier, exercising the tighten logic added in V23 port

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
test_stop_check.py Add run_stop_check unit tests covering stop_loss, breakeven, and tighten 4 months ago