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)
799 B
799 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 1999-06-04 | 0.260000 |
| 3 | 2017-06-09 | 0.324000 |
| 4 | 2013-12-06 | 0.395000 |
| 5 | 2016-12-02 | 0.353000 |
| 6 | 2024-06-14 | 1.206000 |
| 7 | 2024-12-20 | 0.656000 |
| 8 | 1998-06-05 | 2.230000 |
| 9 | 1999-12-03 | 0.170000 |
| 10 | 2010-06-11 | 0.005000 |
| 11 | 2010-12-03 | 0.010000 |
| 12 | 2020-12-18 | 0.341000 |
| 13 | 2021-12-17 | 0.609000 |
| 14 | 2022-06-10 | 0.666000 |
| 15 | 2025-11-18 | 2.505000 |
| 16 | 1996-12-06 | 0.180000 |
| 17 | 1997-12-05 | 0.590000 |
| 18 | 2000-06-02 | 0.790000 |
| 19 | 2011-06-10 | 0.009000 |
| 20 | 2011-12-02 | 0.018000 |
| 21 | 2014-12-05 | 0.547000 |
| 22 | 2022-12-16 | 0.009000 |
| 23 | 2021-06-04 | 0.605000 |
| 24 | 1997-06-06 | 0.480000 |
| 25 | 2007-12-07 | 0.370000 |
| 26 | 2012-12-07 | 0.010000 |
| 27 | 2014-06-06 | 0.893000 |
| 28 | 2015-06-05 | 0.445000 |
| 29 | 2015-12-04 | 0.525000 |
| 30 | 2017-12-01 | 0.461000 |
| 31 | 2023-06-09 | 0.092000 |
| 32 | 2019-12-20 | 0.634000 |
| 33 | 2020-06-05 | 0.393000 |
| 34 | 2023-12-15 | 0.702000 |
| 35 | 2016-06-10 | 0.296000 |
| 36 | 2018-06-08 | 1.652000 |
| 37 | 2025-06-13 | 1.251000 |
| 38 | 2013-06-07 | 0.567000 |
| 39 | 2018-12-14 | 1.500000 |
| 40 | 2019-06-07 | 0.567000 |