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

659 B

1DateCapital Gains
22016-02-050.062300
32021-12-101.625000
42022-02-040.215000
52024-02-160.009000
62025-12-051.090000
72013-12-130.658500
82014-02-070.097000
92019-02-080.106000
102023-12-080.422000
112014-12-120.592000
122015-12-110.401000
132016-12-090.283800
142017-12-080.677300
152010-12-170.039400
162011-02-040.008500
172020-12-111.246000
182024-12-060.855000
192020-02-070.097000
202021-02-120.400000
212022-12-091.143000
222023-02-100.186000
232011-12-160.006700
242018-02-090.185800
252018-12-070.821000
262019-12-130.464000
272025-02-070.175000
282017-02-100.066000
292009-12-180.008500
302010-02-050.008000
312012-12-140.062600
322013-02-080.074500
332015-02-060.095000