mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-18 12:20:12 +08:00
Instead of `HistoryLoader` containing separate adjustment calculation logic, use `SQLiteAdjustmentReader.load_adjustments`. This change required the addition of two offset parameters to `load_adjustments` since the perspective on the data from within `schedule_function` is skewed from how Pipeline looks at historical data. This is working towards creating an `AdjustmentReader` abc which `SQLiteAdjustmentReader` and a upcoming continuous future adjustment reader will share.