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)
26 lines
499 B
Plaintext
26 lines
499 B
Plaintext
Date,Capital Gains
|
|
2012-02-10,0.045000
|
|
2013-02-15,0.122000
|
|
1994-02-04,0.200000
|
|
1997-12-26,0.870000
|
|
2003-12-26,0.050000
|
|
2008-02-15,0.040000
|
|
2009-12-18,0.020000
|
|
2011-12-16,0.119000
|
|
2018-02-09,0.044000
|
|
2021-02-12,0.040000
|
|
2004-02-06,0.140000
|
|
2005-02-04,0.300000
|
|
2010-12-17,0.130000
|
|
2013-12-20,0.214000
|
|
2014-12-19,0.251000
|
|
2017-12-01,0.074000
|
|
2006-02-03,0.060000
|
|
2006-12-22,0.360000
|
|
2012-12-21,0.301000
|
|
2016-12-02,0.138000
|
|
2004-12-23,0.190000
|
|
2005-12-23,0.260000
|
|
2007-12-28,0.040000
|
|
2020-12-01,0.011000
|