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

31 lines
599 B
Plaintext

Date,Capital Gains
2014-12-05,0.584700
2018-05-11,0.492400
2010-05-07,0.004500
2013-12-06,0.552200
2015-05-15,0.287800
2015-12-04,0.356000
2023-05-12,1.237000
2016-12-02,0.142100
2021-12-10,0.452000
2023-12-08,0.154000
2024-05-10,0.416000
2025-05-09,0.696000
2019-05-10,0.097000
2012-12-07,0.002100
2014-05-02,0.558600
2020-12-11,0.039000
2022-05-06,0.456000
2022-12-09,0.052000
2011-05-06,0.002200
2016-05-13,0.069800
2017-05-12,0.538000
2024-12-06,0.457000
2025-12-05,0.686000
2010-12-03,0.002000
2013-05-03,0.032300
2017-12-01,0.388000
2018-12-14,0.417000
2019-12-13,1.377000
2021-05-07,0.634000