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)
859 B
859 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 2015-12-21 | 1.630000 |
| 3 | 2019-06-27 | 0.407000 |
| 4 | 1998-06-02 | 0.294000 |
| 5 | 2006-12-18 | 1.050000 |
| 6 | 2021-06-29 | 0.863000 |
| 7 | 2023-06-29 | 0.356000 |
| 8 | 2010-07-01 | 0.190000 |
| 9 | 2020-12-18 | 0.798000 |
| 10 | 2020-06-29 | 0.819000 |
| 11 | 2022-06-29 | 0.240000 |
| 12 | 2025-06-26 | 0.409000 |
| 13 | 2005-12-16 | 0.590000 |
| 14 | 2014-12-22 | 1.010000 |
| 15 | 2017-12-19 | 0.630000 |
| 16 | 2019-12-18 | 0.367000 |
| 17 | 2021-12-20 | 3.150000 |
| 18 | 2004-07-01 | 0.300000 |
| 19 | 2006-07-03 | 0.290000 |
| 20 | 2007-12-17 | 1.570000 |
| 21 | 2011-07-01 | 0.040000 |
| 22 | 2014-07-01 | 0.090000 |
| 23 | 2018-07-02 | 0.200000 |
| 24 | 2024-12-19 | 1.799000 |
| 25 | 1996-12-16 | 0.810000 |
| 26 | 2004-12-16 | 0.070000 |
| 27 | 2007-07-02 | 0.590000 |
| 28 | 2013-01-02 | 1.110000 |
| 29 | 2016-07-01 | 0.235000 |
| 30 | 2023-12-19 | 1.033000 |
| 31 | 2024-06-26 | 0.691000 |
| 32 | 1997-12-15 | 0.192000 |
| 33 | 1999-06-02 | 0.644000 |
| 34 | 2018-12-18 | 2.210000 |
| 35 | 2010-12-13 | 0.450000 |
| 36 | 2017-07-03 | 0.315000 |
| 37 | 2011-12-20 | 0.470000 |
| 38 | 2012-07-02 | 0.120000 |
| 39 | 2013-12-18 | 1.170000 |
| 40 | 2015-07-01 | 0.030000 |
| 41 | 2016-12-20 | 1.100000 |
| 42 | 1997-06-03 | 0.068000 |
| 43 | 2008-07-01 | 0.230000 |