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

419 B

1DateCapital Gains
22014-08-082.934000
32015-08-071.699000
42018-12-070.438000
52023-08-110.385000
62023-12-150.920000
72013-12-130.987000
82014-12-121.745000
92016-08-121.383000
102017-08-113.914000
112017-12-080.884000
122018-08-102.104000
132019-08-091.458000
142019-12-130.864000
152008-08-080.990000
162020-12-111.376000
172016-12-091.067000
182021-08-062.980000
192021-12-100.458000
202015-12-110.290000
212013-08-021.997000