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

41 lines
799 B
Plaintext

Date,Capital Gains
1999-06-04,0.260000
2017-06-09,0.324000
2013-12-06,0.395000
2016-12-02,0.353000
2024-06-14,1.206000
2024-12-20,0.656000
1998-06-05,2.230000
1999-12-03,0.170000
2010-06-11,0.005000
2010-12-03,0.010000
2020-12-18,0.341000
2021-12-17,0.609000
2022-06-10,0.666000
2025-11-18,2.505000
1996-12-06,0.180000
1997-12-05,0.590000
2000-06-02,0.790000
2011-06-10,0.009000
2011-12-02,0.018000
2014-12-05,0.547000
2022-12-16,0.009000
2021-06-04,0.605000
1997-06-06,0.480000
2007-12-07,0.370000
2012-12-07,0.010000
2014-06-06,0.893000
2015-06-05,0.445000
2015-12-04,0.525000
2017-12-01,0.461000
2023-06-09,0.092000
2019-12-20,0.634000
2020-06-05,0.393000
2023-12-15,0.702000
2016-06-10,0.296000
2018-06-08,1.652000
2025-06-13,1.251000
2013-06-07,0.567000
2018-12-14,1.500000
2019-06-07,0.567000