f/overrides/event-backup/fbakx-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
22025-10-100.933000
32008-10-030.030000
42010-10-150.008000
52018-12-070.240000
62015-12-110.050000
72013-12-130.283000
82014-12-120.442000
92024-10-110.850000
102019-10-110.113000
112021-10-082.384000
122023-10-130.267000
132014-10-101.420000
142016-10-140.201000
152017-10-131.153000
162017-12-080.347000
172019-12-130.511000
182020-12-110.321000
192016-12-090.120000
202018-10-121.646000
212021-12-170.283000
222022-10-141.511000
232009-12-180.010000
242015-10-091.215000
252023-12-210.157000
262024-12-200.293000
272013-10-110.851000
282020-10-090.984000