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

499 B

1DateCapital Gains
22009-12-310.554000
32011-06-300.071000
42024-06-280.175000
52014-06-300.527000
62014-12-312.134000
72021-06-300.455000
82022-07-140.168000
92020-06-300.255000
102008-12-310.002000
112010-06-300.043000
122012-06-290.013000
132012-12-310.340000
142017-12-290.861000
152018-06-290.376000
162018-12-311.900000
172021-12-311.741000
182010-12-310.124000
192011-12-300.377000
202013-06-280.038000
212013-12-311.150000
222015-06-300.146000
232015-12-301.149000
242019-12-310.820000
252024-12-241.399000