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)
499 B
499 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 2021-12-08 | 1.006000 |
| 3 | 2023-06-16 | 0.056000 |
| 4 | 2013-12-09 | 1.895000 |
| 5 | 2017-06-16 | 0.496000 |
| 6 | 2017-12-08 | 2.210000 |
| 7 | 2018-06-15 | 0.764000 |
| 8 | 2018-12-07 | 2.350000 |
| 9 | 2020-06-15 | 0.276000 |
| 10 | 2022-12-08 | 0.198000 |
| 11 | 2024-12-09 | 0.670000 |
| 12 | 2013-06-21 | 0.061000 |
| 13 | 2015-06-18 | 0.699000 |
| 14 | 2025-06-17 | 0.268000 |
| 15 | 2016-06-17 | 0.309000 |
| 16 | 2016-12-09 | 0.731000 |
| 17 | 2019-06-13 | 0.022000 |
| 18 | 2019-12-06 | 0.235000 |
| 19 | 2022-06-16 | 0.464000 |
| 20 | 2014-06-20 | 1.499000 |
| 21 | 2014-12-10 | 1.396000 |
| 22 | 2024-06-18 | 0.156000 |
| 23 | 2025-12-08 | 0.591000 |
| 24 | 2015-12-10 | 1.581000 |
| 25 | 2021-06-16 | 0.182000 |