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

440 B

1DateCapital Gains
22000-12-152.777000
32014-12-176.161000
42016-12-192.165000
51997-12-291.900000
61995-12-290.305000
71999-12-101.165000
82013-12-170.129000
92015-12-173.838000
102017-04-261.473000
112017-12-192.261000
122019-12-174.928000
131994-12-300.105000
142024-12-064.334000
152023-12-071.896000
162018-12-184.347000
172020-12-171.839000
182022-12-200.114000
192025-12-0510.719000
201996-12-272.281000
212021-12-208.854000
221998-12-281.541000