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

519 B

1DateCapital Gains
22013-12-170.367000
32018-12-183.320000
42022-12-131.898000
52023-07-310.275000
62025-07-310.739000
72016-06-300.110000
82017-12-191.754000
92021-06-300.319000
102023-12-213.183000
112012-12-180.505000
122014-05-300.181000
132015-06-300.106000
142017-06-300.279000
152018-06-290.089000
162019-12-171.984000
172022-07-290.775000
182024-07-310.379000
192024-12-194.623000
202014-12-181.503000
212015-12-171.278000
222016-12-201.343000
232019-06-280.290000
242020-06-300.060000
252020-12-151.239000
262021-12-143.017000