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)
619 B
619 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 2014-09-12 | 4.693000 |
| 3 | 2014-12-12 | 0.800000 |
| 4 | 2008-12-12 | 0.005000 |
| 5 | 2009-12-11 | 0.020000 |
| 6 | 2013-09-06 | 2.460000 |
| 7 | 2021-12-17 | 0.588000 |
| 8 | 2018-12-07 | 0.452000 |
| 9 | 2019-12-20 | 0.261000 |
| 10 | 2011-09-09 | 0.015000 |
| 11 | 2017-09-15 | 1.770000 |
| 12 | 2017-12-08 | 3.268000 |
| 13 | 2023-12-21 | 0.170000 |
| 14 | 2010-09-08 | 0.042000 |
| 15 | 2013-12-13 | 0.765000 |
| 16 | 2022-09-09 | 2.706000 |
| 17 | 2008-09-12 | 1.000000 |
| 18 | 2019-09-13 | 0.749000 |
| 19 | 2022-12-22 | 0.148000 |
| 20 | 2023-09-08 | 0.504000 |
| 21 | 2009-09-11 | 0.029000 |
| 22 | 2015-09-11 | 2.186000 |
| 23 | 2015-12-11 | 0.172000 |
| 24 | 2025-08-07 | 2.500000 |
| 25 | 2024-12-26 | 0.838000 |
| 26 | 2010-12-10 | 0.035000 |
| 27 | 2012-09-07 | 0.134000 |
| 28 | 2012-12-14 | 0.366000 |
| 29 | 2018-09-14 | 4.751000 |
| 30 | 2021-09-10 | 1.908000 |
| 31 | 2024-09-13 | 2.515000 |