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

399 B

1DateCapital Gains
21992-12-150.493000
31994-12-280.584000
41995-12-270.359000
51996-12-271.157000
62018-12-181.354000
72022-12-140.834000
82023-12-130.388000
91991-12-100.476000
101993-12-150.452000
111987-10-300.036000
121987-12-314.211000
131988-12-131.700000
141990-12-111.720000
151993-11-160.210000
161994-11-280.214000
171995-11-270.050000
182019-12-170.384000
191989-12-121.293000
202021-12-150.731000