mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 19:59:42 +08:00
946ecfafc0
The trading day index is all business days in range minus the non trading days we are already calculating. Also, uses trading calendar indexes for batch transform, since the batch transform was the only use of non_trading_days. Instead of constantly adding and removing holidays to do market day delta math, uses pandas DatetimeIndex to get the index of the dates and uses the index difference to calculate market days.