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)
659 B
659 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 2016-02-05 | 0.062300 |
| 3 | 2021-12-10 | 1.625000 |
| 4 | 2022-02-04 | 0.215000 |
| 5 | 2024-02-16 | 0.009000 |
| 6 | 2025-12-05 | 1.090000 |
| 7 | 2013-12-13 | 0.658500 |
| 8 | 2014-02-07 | 0.097000 |
| 9 | 2019-02-08 | 0.106000 |
| 10 | 2023-12-08 | 0.422000 |
| 11 | 2014-12-12 | 0.592000 |
| 12 | 2015-12-11 | 0.401000 |
| 13 | 2016-12-09 | 0.283800 |
| 14 | 2017-12-08 | 0.677300 |
| 15 | 2010-12-17 | 0.039400 |
| 16 | 2011-02-04 | 0.008500 |
| 17 | 2020-12-11 | 1.246000 |
| 18 | 2024-12-06 | 0.855000 |
| 19 | 2020-02-07 | 0.097000 |
| 20 | 2021-02-12 | 0.400000 |
| 21 | 2022-12-09 | 1.143000 |
| 22 | 2023-02-10 | 0.186000 |
| 23 | 2011-12-16 | 0.006700 |
| 24 | 2018-02-09 | 0.185800 |
| 25 | 2018-12-07 | 0.821000 |
| 26 | 2019-12-13 | 0.464000 |
| 27 | 2025-02-07 | 0.175000 |
| 28 | 2017-02-10 | 0.066000 |
| 29 | 2009-12-18 | 0.008500 |
| 30 | 2010-02-05 | 0.008000 |
| 31 | 2012-12-14 | 0.062600 |
| 32 | 2013-02-08 | 0.074500 |
| 33 | 2015-02-06 | 0.095000 |