f/overrides/event-backup/ffnox-capitalGain.csv
Greg Pomerantz bb8e39605e Event-history protection: backup dir, empty-download fallback, docs
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)
2026-08-31 21:59:25 -04:00

39 lines
759 B
Plaintext

Date,Capital Gains
2017-12-28,0.093000
2023-12-28,0.629000
2024-04-12,0.941000
2004-04-02,0.020000
2005-04-08,0.010000
2006-04-07,0.250000
2012-12-28,0.023000
2024-12-30,1.535000
2025-04-11,0.953000
2001-04-06,0.030000
2007-04-13,0.070000
2009-12-28,0.030000
2015-04-10,0.117000
2014-12-29,0.078000
2016-04-15,0.145000
2016-12-28,0.012000
2020-12-30,0.588000
2010-12-30,0.040000
2011-12-29,0.019000
2013-12-27,0.111000
2014-04-11,0.059000
2006-12-28,0.080000
2022-12-29,0.555000
2008-04-11,0.100000
2008-12-26,0.015000
2019-04-12,0.222000
2019-12-30,0.127000
2020-04-08,0.116000
2017-04-12,0.190000
2018-12-28,0.107000
2022-04-08,1.842000
2021-04-09,0.346000
2021-12-30,2.008000
2000-12-29,0.060000
2007-12-28,0.110000
2015-12-29,0.118000
2018-04-11,0.154000