mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 23:14:26 +08:00
ccdc815526
To prepare for querying for payouts from SQLite, write the dividend payouts to a new table `dividend_payouts`. Change the expected columns of the passed dividend frame to contain the payout data, and use that data to calculate the ratios (this moves internal code that was calcualting the ratios into Zipline.) The end result is that instead of just a `dividends` table with the backward looking adjustment ratios, also write a `dividend_payouts` table and a `stock_dividend_payout` table.