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

459 B

1DateCapital Gains
22016-12-151.151000
32017-12-152.133000
42021-12-150.550000
52002-12-160.317000
62013-12-120.408000
71994-12-280.016000
81996-12-271.318000
91999-12-202.846000
102000-12-181.658000
112014-12-162.378000
122019-12-172.253000
131995-11-270.290000
141997-12-222.815000
152001-12-170.784000
162004-12-201.019000
172007-12-191.222000
182015-12-161.628000
192018-12-181.068000
201995-12-271.593000
211998-12-213.035000
222005-12-191.217000
232006-12-181.350000