mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-12 12:16:46 +08:00
229b967c71
The use of `slice_indexer` on all market minutes was taking about 110ms on my development machine. This change to getting the start and end indices changes the entire `_calendar` method to take 10ms on the same machine. Noticed while creating a `HistoryLoader` in a notebook context.