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

619 B

1DateCapital Gains
22014-09-124.693000
32014-12-120.800000
42008-12-120.005000
52009-12-110.020000
62013-09-062.460000
72021-12-170.588000
82018-12-070.452000
92019-12-200.261000
102011-09-090.015000
112017-09-151.770000
122017-12-083.268000
132023-12-210.170000
142010-09-080.042000
152013-12-130.765000
162022-09-092.706000
172008-09-121.000000
182019-09-130.749000
192022-12-220.148000
202023-09-080.504000
212009-09-110.029000
222015-09-112.186000
232015-12-110.172000
242025-08-072.500000
252024-12-260.838000
262010-12-100.035000
272012-09-070.134000
282012-12-140.366000
292018-09-144.751000
302021-09-101.908000
312024-09-132.515000