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

559 B

1DateCapital Gains
21994-11-280.044000
31995-12-270.393000
42006-12-180.927000
52021-12-132.540000
62015-12-161.457000
71998-12-210.969000
81999-12-200.786000
92012-12-131.202000
101992-12-150.070000
112007-12-191.134000
122016-12-150.828000
132017-12-151.401000
141997-12-221.310000
152001-12-171.220000
162022-12-121.563000
172018-12-171.201000
181994-12-280.941000
191996-12-270.717000
202005-12-190.924000
212013-12-120.939000
222014-12-160.895000
232000-12-180.815000
242023-12-110.576000
252002-12-160.091000
262019-12-160.809000
271993-11-160.080000
281993-12-150.060000