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

581 B

1DateCapital Gains
22011-09-091.598000
32016-09-160.873000
42019-12-200.395000
52023-12-210.550000
62010-12-170.020000
72015-12-110.187000
82020-09-115.913000
92018-09-143.758000
102021-12-172.513000
112014-09-053.421000
122017-12-081.995000
132020-12-184.575000
142025-09-125.073000
152013-09-063.176000
162013-12-131.290000
172014-12-120.570000
182015-09-113.444000
192022-09-090.637000
202024-12-201.899000
212008-09-120.710000
222016-12-091.703000
232018-12-071.442000
242019-09-133.595000
252024-09-1311.081000
262021-09-1013.640000
272012-12-140.680000
282017-09-151.688000
292023-09-081.067000