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)
639 B
639 B
| 1 | Date | Capital Gains |
|---|---|---|
| 2 | 2023-12-15 | 0.139000 |
| 3 | 2019-12-13 | 0.172000 |
| 4 | 2022-10-14 | 1.591000 |
| 5 | 2012-10-12 | 0.236000 |
| 6 | 2016-10-14 | 0.170000 |
| 7 | 2016-12-09 | 0.193000 |
| 8 | 2017-10-13 | 0.489000 |
| 9 | 2018-12-07 | 1.161000 |
| 10 | 2021-10-08 | 2.937000 |
| 11 | 2008-12-19 | 0.005000 |
| 12 | 2010-10-15 | 0.003000 |
| 13 | 2021-12-17 | 0.352000 |
| 14 | 2015-10-09 | 1.064000 |
| 15 | 2019-10-11 | 0.457000 |
| 16 | 2023-10-13 | 0.708000 |
| 17 | 2008-10-03 | 0.010000 |
| 18 | 2009-12-18 | 0.010000 |
| 19 | 2013-10-11 | 1.298000 |
| 20 | 2016-12-27 | 0.040000 |
| 21 | 2014-12-12 | 0.226000 |
| 22 | 2017-12-08 | 0.177000 |
| 23 | 2018-10-12 | 1.473000 |
| 24 | 2020-10-09 | 0.562000 |
| 25 | 2024-12-20 | 0.385000 |
| 26 | 2012-12-14 | 0.118000 |
| 27 | 2013-12-13 | 0.377000 |
| 28 | 2024-10-11 | 1.988000 |
| 29 | 2014-10-10 | 1.340000 |
| 30 | 2015-12-11 | 0.005000 |
| 31 | 2020-12-11 | 0.480000 |
| 32 | 2025-10-10 | 0.939000 |