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

679 B

1DateCapital Gains
22001-12-171.714000
32019-12-170.432000
41986-11-211.305000
51995-11-270.082000
62004-12-200.358000
72023-12-130.379000
82018-12-180.862000
92021-12-152.704000
101995-12-270.755000
112000-12-181.991000
122003-12-220.175000
132015-12-161.019000
142013-12-120.902000
151987-12-311.303000
161989-12-120.622000
171991-12-100.096000
181996-12-271.158000
191992-12-150.674000
202005-12-190.842000
212007-12-191.157000
222017-12-151.015000
232006-12-181.133000
241990-12-110.724000
251993-12-150.582000
262016-12-150.939000
272002-12-160.138000
282012-12-130.764000
292014-12-161.115000
302022-12-140.933000
311988-12-130.912000
321993-11-160.040000
331997-12-221.890000
341999-12-200.890000