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

339 B

1DateCapital Gains
22020-12-141.347000
32024-12-121.763000
42025-03-270.493000
52015-12-310.872000
62019-12-311.001000
72021-12-142.356000
82022-03-290.175000
92023-03-280.062000
102014-12-310.087000
112016-12-300.063000
122017-12-291.434000
132022-12-132.153000
142023-12-133.578000
152016-03-310.616000
162018-12-311.158000
172024-03-260.011000