f/overrides/event-backup/lpsdx-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
22015-06-300.169000
32016-12-300.111000
42018-06-290.216000
52020-06-300.171000
62020-12-310.169000
72021-06-300.493000
82013-12-310.979000
92017-06-300.624000
102018-12-311.085000
112019-12-310.561000
122021-12-311.155000
132022-07-140.064000
142024-12-240.264000
152013-06-280.060000
162012-12-310.415000
172014-06-300.306000
182014-12-311.581000
192015-12-300.794000
202017-12-291.030000
212025-07-170.009000
222011-12-300.160000