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

519 B

1DateCapital Gains
22016-02-120.228000
32017-12-082.130000
42021-12-104.175000
52023-12-081.547000
62025-02-070.539000
72013-12-133.653000
82014-12-121.965000
92015-02-130.154000
102018-12-072.969000
112019-02-080.166000
122020-12-112.770000
132022-12-093.174000
142023-02-030.395000
152024-02-090.185000
162016-12-091.053000
172017-02-100.258000
182018-02-090.684000
192020-02-070.202000
202021-02-120.906000
212022-02-040.535000
222025-12-054.122000
232014-02-140.076000
242015-12-110.980000
252019-12-131.869000
262024-12-062.224000