f/overrides/event-backup/fpacx-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

44 lines
859 B
Plaintext

Date,Capital Gains
2015-12-21,1.630000
2019-06-27,0.407000
1998-06-02,0.294000
2006-12-18,1.050000
2021-06-29,0.863000
2023-06-29,0.356000
2010-07-01,0.190000
2020-12-18,0.798000
2020-06-29,0.819000
2022-06-29,0.240000
2025-06-26,0.409000
2005-12-16,0.590000
2014-12-22,1.010000
2017-12-19,0.630000
2019-12-18,0.367000
2021-12-20,3.150000
2004-07-01,0.300000
2006-07-03,0.290000
2007-12-17,1.570000
2011-07-01,0.040000
2014-07-01,0.090000
2018-07-02,0.200000
2024-12-19,1.799000
1996-12-16,0.810000
2004-12-16,0.070000
2007-07-02,0.590000
2013-01-02,1.110000
2016-07-01,0.235000
2023-12-19,1.033000
2024-06-26,0.691000
1997-12-15,0.192000
1999-06-02,0.644000
2018-12-18,2.210000
2010-12-13,0.450000
2017-07-03,0.315000
2011-12-20,0.470000
2012-07-02,0.120000
2013-12-18,1.170000
2015-07-01,0.030000
2016-12-20,1.100000
1997-06-03,0.068000
2008-07-01,0.230000