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

519 B

1DateCapital Gains
22007-12-191.573000
32010-12-090.290000
42015-12-150.281000
52017-12-140.738000
62018-12-170.617000
72019-12-160.291000
82024-12-100.184000
91998-12-210.162000
102003-12-220.086000
112006-12-181.248000
122008-12-100.059000
132023-12-110.026000
141996-12-270.296000
151995-12-270.001000
162004-12-200.402000
172011-12-120.277000
182012-12-120.214000
192013-12-110.300000
202016-12-140.618000
212021-12-130.161000
221995-11-270.008000
232000-12-180.264000
242005-12-190.676000
252014-12-150.345000
261997-12-220.278000