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)
519 B
519 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 2013-12-17 | 0.367000 |
| 3 | 2018-12-18 | 3.320000 |
| 4 | 2022-12-13 | 1.898000 |
| 5 | 2023-07-31 | 0.275000 |
| 6 | 2025-07-31 | 0.739000 |
| 7 | 2016-06-30 | 0.110000 |
| 8 | 2017-12-19 | 1.754000 |
| 9 | 2021-06-30 | 0.319000 |
| 10 | 2023-12-21 | 3.183000 |
| 11 | 2012-12-18 | 0.505000 |
| 12 | 2014-05-30 | 0.181000 |
| 13 | 2015-06-30 | 0.106000 |
| 14 | 2017-06-30 | 0.279000 |
| 15 | 2018-06-29 | 0.089000 |
| 16 | 2019-12-17 | 1.984000 |
| 17 | 2022-07-29 | 0.775000 |
| 18 | 2024-07-31 | 0.379000 |
| 19 | 2024-12-19 | 4.623000 |
| 20 | 2014-12-18 | 1.503000 |
| 21 | 2015-12-17 | 1.278000 |
| 22 | 2016-12-20 | 1.343000 |
| 23 | 2019-06-28 | 0.290000 |
| 24 | 2020-06-30 | 0.060000 |
| 25 | 2020-12-15 | 1.239000 |
| 26 | 2021-12-14 | 3.017000 |