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

460 B

1DateCapital Gains
22014-05-300.147000
32016-12-201.159000
42017-12-192.383000
52019-06-280.487000
62020-06-300.313000
72020-12-155.454000
82021-06-300.717000
92013-12-171.000000
102023-07-310.452000
112024-12-1725.503000
122022-12-131.392000
132025-07-314.130000
142023-12-197.907000
152024-07-310.191000
162015-06-300.165000
172015-12-172.537000
182016-06-300.027000
192018-06-290.317000
202018-12-183.497000
212019-12-171.518000
222021-12-144.650000
232014-12-182.640000