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

639 B

1DateCapital Gains
22023-12-150.139000
32019-12-130.172000
42022-10-141.591000
52012-10-120.236000
62016-10-140.170000
72016-12-090.193000
82017-10-130.489000
92018-12-071.161000
102021-10-082.937000
112008-12-190.005000
122010-10-150.003000
132021-12-170.352000
142015-10-091.064000
152019-10-110.457000
162023-10-130.708000
172008-10-030.010000
182009-12-180.010000
192013-10-111.298000
202016-12-270.040000
212014-12-120.226000
222017-12-080.177000
232018-10-121.473000
242020-10-090.562000
252024-12-200.385000
262012-12-140.118000
272013-12-130.377000
282024-10-111.988000
292014-10-101.340000
302015-12-110.005000
312020-12-110.480000
322025-10-100.939000