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

579 B

1DateCapital Gains
21998-12-211.204000
32000-12-181.422000
42005-12-192.113000
51995-11-270.004000
61995-12-270.026000
71996-12-270.199000
81997-12-220.461000
92015-12-161.375000
102016-12-151.399000
112022-12-142.134000
121999-12-201.170000
132004-12-201.359000
142013-12-121.600000
151993-12-150.002000
162001-12-173.358000
172014-12-161.325000
182006-12-182.143000
192002-12-161.658000
202003-12-221.195000
212007-12-192.268000
222017-12-151.801000
232023-12-130.958000
241994-12-280.001000
252011-12-130.326000
262012-12-131.516000
272018-12-181.948000
282019-12-170.558000
292021-12-153.865000