f/overrides/event-backup/muxyx-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
21996-12-130.266000
32013-12-271.268000
42017-12-203.334000
52018-12-191.863000
62021-12-161.899000
72000-09-250.269000
82012-12-272.265000
92015-12-292.069000
102016-12-281.385000
112024-12-134.094000
122010-12-292.369000
132014-12-291.736000
142019-12-172.485000
151997-12-111.990000
161999-09-240.276000
172007-09-260.114000
182007-12-271.244000
192008-12-290.066000
202020-12-161.372000
212022-12-141.426000
222023-12-131.152000
231998-12-140.237000
242000-12-140.008000
252008-09-261.931000
262009-12-290.657000
272011-12-282.474000