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)
588 B
588 B
| 1 | Date | Dividends | ctime |
|---|---|---|---|
| 2 | 2014-03-31 | 0.0 | 2021-04-20 09:36:30 |
| 3 | 2019-12-30 | 0.329 | 2021-04-20 09:36:30 |
| 4 | 2020-12-30 | 0.199 | 2021-04-20 09:36:30 |
| 5 | 2019-03-29 | 0.032 | 2021-04-20 09:36:30 |
| 6 | 2013-12-30 | 0.036 | 2021-04-20 09:36:30 |
| 7 | 2014-12-30 | 0.683 | 2021-04-20 09:36:30 |
| 8 | 2015-12-30 | 0.57 | 2021-04-20 09:36:30 |
| 9 | 2017-12-28 | 0.063 | 2021-04-20 09:36:30 |
| 10 | 2016-12-29 | 0.386 | 2021-04-20 09:36:30 |
| 11 | 2018-12-28 | 0.473 | 2021-04-20 09:36:30 |
| 12 | 2019-04-30 | 0.032 | 2021-04-20 09:36:30 |
| 13 | 2011-12-29 | 0.067 | 2021-04-20 09:36:30 |
| 14 | 2012-12-28 | 0.067 | 2021-04-20 09:36:30 |
| 15 | 2019-01-31 | 0.033 | 2021-04-20 09:36:30 |
| 16 | 2019-02-28 | 0.03 | 2021-04-20 09:36:30 |