Files
Alexandre Catarino f34dbc9bdc Fix RelativeDailyVolume fallback denominator for intra-day gaps (#9630)
The fallback loop that runs when the current time-of-day has no exact
historical slot was missing a break, so it kept overwriting the
denominator with later slots and ended on the last slot of the day
instead of the greatest slot <= the current time. This gave a far too
small ratio for securities with intra-day data gaps.

Add the break and a regression test covering the gap scenario.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 15:44:16 -03:00
..
2024-09-09 12:39:31 -03:00
2024-09-09 12:39:31 -03:00
2024-09-09 12:39:31 -03:00
2024-09-09 12:39:31 -03:00
2015-01-12 12:03:33 -03:00
2024-09-09 12:39:31 -03:00