mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 01:57:31 +08:00
4c334c6c38
Optimize session close lookups in MinuteResampleSessionBarReader: - Adds `session_closes_in_range` method (along with `session_opens_in_range`) to TradingCalendar to allow vectorized retrieval of all values in a range of sessions. - Improves code path for resampling a single session's worth of data (as is the case when calling `get_value`), since we don't actually need to look up the close minute.