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

650 B

1DateCapital Gains
22000-03-310.320000
32018-12-1733.923000
42020-06-236.454000
52021-12-1526.544000
61996-12-123.618000
72001-12-071.550000
81997-12-124.572000
92016-06-231.213000
102018-06-221.638000
112021-06-232.763000
122022-12-1518.216000
132014-12-167.185000
141999-06-250.840000
152000-12-0513.890000
162017-06-234.726000
172017-12-1524.817000
182019-12-1618.467000
192020-12-1529.409000
202022-06-231.441000
211997-09-110.787000
222024-12-1627.186000
232015-12-1511.611000
241996-09-120.384000
251999-12-061.345000
262024-06-212.319000
271998-12-042.610000
282023-12-1537.130000
292016-12-1518.783000
302019-06-215.650000
312023-06-230.614000
322015-03-242.331000