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)
23 lines
439 B
Plaintext
23 lines
439 B
Plaintext
Date,Capital Gains
|
|
2018-02-09,0.376000
|
|
2022-02-04,0.328000
|
|
2024-02-16,0.505000
|
|
2014-02-14,0.350000
|
|
2015-12-11,0.837000
|
|
2017-02-10,0.230000
|
|
2023-02-10,0.044000
|
|
2024-12-20,1.041000
|
|
2013-12-13,2.436000
|
|
2016-12-09,0.704000
|
|
2017-12-08,1.308000
|
|
2021-02-12,0.960000
|
|
2021-12-10,3.491000
|
|
2023-12-15,0.469000
|
|
2014-12-12,2.710000
|
|
2018-12-07,1.289000
|
|
2019-02-08,0.543000
|
|
2025-02-07,0.951000
|
|
2016-02-12,0.138000
|
|
2020-12-11,0.221000
|
|
2022-12-09,0.734000
|