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 8f0f99bdda Fix daily bar rebuild to use market-hours close; clean ORB simulator debug code
Two fixes:
1. _rebuild_daily_from_intraday_cache now filters to regular market hours
   (9:30–16:00 ET) before computing OHLCV. Previously used bars[-1] which
   included after-hours data, distorting prev_close for gap calculations.
   Root cause of V23 regression: HIMS Aug-4 after-hours drop to $54.81
   made it appear as a +0.89% gap on Aug 5 instead of the correct -12.85%
   gap (from $63.45 market close), causing it to fail min_abs_gap_pct filter.
   V23 with fix: +109.32%, WR 58.1%, Sharpe 3.01, DD -12.91%

2. Remove temporary debug instrumentation (HIMS/2025-08-05 trace blocks)
   that was left in orb_simulator.py during regression investigation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 months ago
..
__init__.py Add ORB pre-market screening and fix Oracle/Alpaca reliability bugs 4 months ago
cache.py Fix ORB intraday data pipeline and consolidate strategy configs 4 months ago
domain.py Add ORB pre-market screening and fix Oracle/Alpaca reliability bugs 4 months ago
features.py Add ORB pre-market screening and fix Oracle/Alpaca reliability bugs 4 months ago
metrics.py Add ORB pre-market screening and fix Oracle/Alpaca reliability bugs 4 months ago
orb_simulator.py Fix daily bar rebuild to use market-hours close; clean ORB simulator debug code 4 months ago
screener.py Fix daily bar rebuild to use market-hours close; clean ORB simulator debug code 4 months ago
simulator.py Add ORB pre-market screening and fix Oracle/Alpaca reliability bugs 4 months ago