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

539 B

1DateCapital Gains
21999-12-172.548000
32006-08-300.123000
42008-12-180.053000
52023-12-130.232000
61996-08-160.872000
71997-12-231.343000
82005-12-150.159000
92013-12-120.970000
102014-12-121.268000
112015-12-110.697000
122016-12-140.535000
132020-12-111.107000
141996-12-260.408000
151998-12-174.034000
162001-12-210.020000
172007-12-171.560000
182011-12-150.057000
192018-12-121.790000
202019-12-121.463000
212021-12-132.226000
221997-08-141.370000
232000-12-190.711000
242006-12-151.268000
252012-12-130.237000
262017-12-131.259000
272022-12-130.675000