mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-14 12:10:24 +08:00
The eventual goal is to remove the market_aware and delta kwargs, but removing the kwarg completely would break the init method of EventWindow based classes for existing algorithms. In the meantime, this ensures that only market_aware is only ever set to True and raises an error if it is False. Also raises exceptions if values are set for delta, which was only used if market_aware was False Also, since the logic for checking window length is changed, because in market aware mode we should always be checking the window length, this adds some sanity checking to the window length.