Yahoo's 2026 event-feed change (capitalGain events dropped for some funds; no events at all for terminated tickers) can wipe good event history on re-download. Defense in depth: - overrides/event-backup/: last-known-good copy of every dividend/ capitalGain file (8,192 files, 58 MB); refresh with scripts/backup_events.py after each dump update - data.py event_file(): frozen > data-root (while populated) > backup; used by panel reads, verify_official, and the double-listing scanner - README: capital-gain files are mutual-fund-only in this dump; Yahoo has no LT/ST split (tax.py taxes capg at lt_rate; the per-fund split would come from fund-company annual tax statements or commercial feeds) - tests: exact Timestamp .loc keys (pandas 3.x string matching returns a Series on large DatetimeIndex)
897 B
897 B
| 1 | Date | Dividends | ctime |
|---|---|---|---|
| 2 | 2019-12-30 | 0.2231 | 2021-04-20 09:05:28 |
| 3 | 2018-08-21 | 0.3822 | 2021-04-20 09:05:28 |
| 4 | 2020-12-30 | 0.053 | 2021-04-20 09:05:28 |
| 5 | 2015-10-15 | 0.018 | 2021-04-20 09:05:28 |
| 6 | 2016-10-13 | 0.026 | 2021-04-20 09:05:28 |
| 7 | 2017-10-12 | 0.038 | 2021-04-20 09:05:28 |
| 8 | 2018-10-11 | 0.065 | 2021-04-20 09:05:28 |
| 9 | 2019-10-10 | 0.044 | 2021-04-20 09:05:28 |
| 10 | 2016-07-21 | 0.018 | 2021-04-20 09:05:28 |
| 11 | 2017-07-20 | 0.049 | 2021-04-20 09:05:28 |
| 12 | 2018-07-19 | 0.071 | 2021-04-20 09:05:28 |
| 13 | 2019-07-18 | 0.048 | 2021-04-20 09:05:28 |
| 14 | 2020-07-16 | 0.035 | 2021-04-20 09:05:28 |
| 15 | 2018-12-28 | 0.066 | 2021-04-20 09:05:28 |
| 16 | 2015-12-23 | 0.083 | 2021-04-20 09:05:28 |
| 17 | 2016-12-22 | 0.041 | 2021-04-20 09:05:28 |
| 18 | 2017-12-21 | 0.059 | 2021-04-20 09:05:28 |
| 19 | 2019-04-10 | 0.053 | 2021-04-20 09:05:28 |
| 20 | 2020-04-08 | 0.022 | 2021-04-20 09:05:28 |
| 21 | 2016-04-13 | 0.06 | 2021-04-20 09:05:28 |
| 22 | 2017-04-12 | 0.049 | 2021-04-20 09:05:28 |
| 23 | 2018-04-11 | 0.061 | 2021-04-20 09:05:28 |
| 24 | 2015-07-16 | 0.003 | 2021-04-20 09:05:28 |