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

559 B

1DateCapital Gains
22020-12-140.337000
31993-12-150.160000
42009-12-090.051000
52012-12-120.023000
61991-12-100.058000
71995-12-270.044000
82003-12-220.286000
92005-12-190.063000
102006-12-180.004000
112002-12-160.196000
122004-12-200.036000
132011-12-120.093000
142014-12-150.063000
152008-12-100.060000
162010-12-090.041000
172016-12-140.032000
181998-12-210.078000
192007-12-190.001000
201995-11-270.082000
211997-12-220.048000
222021-12-130.131000
231993-11-160.007000
242017-12-140.013000
252015-12-150.056000
261992-12-150.083000
271994-12-280.003000
281999-12-200.036000