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

439 B

1DateCapital Gains
22019-12-271.535000
32023-09-060.001000
42024-09-060.070000
52024-12-270.934000
62025-09-050.266000
72016-09-070.053000
82017-12-270.477000
92018-12-271.969000
102021-12-291.561000
112022-12-280.370000
122021-09-030.797000
132015-09-040.235000
142015-12-290.841000
152016-12-280.384000
162019-09-060.151000
172020-12-292.414000
182017-09-060.151000
192018-09-070.120000
202020-09-040.437000
212022-09-060.247000
222023-12-270.267000