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

599 B

1DateCapital Gains
22011-12-160.067000
32012-12-140.339000
42016-06-101.769000
52015-06-052.945000
62022-12-160.033000
72011-06-101.435000
82013-06-070.312000
92018-06-081.584000
102018-12-073.795000
112019-12-201.517000
122020-06-050.872000
132021-06-043.277000
142012-06-080.531000
152014-06-062.836000
162016-12-090.821000
172023-12-150.681000
182024-06-142.150000
192010-06-110.035000
202019-06-070.507000
212022-06-101.733000
222021-12-171.649000
232024-12-201.327000
242014-12-120.921000
252017-06-090.859000
262017-12-081.686000
272020-12-181.205000
282025-06-130.640000
292013-12-130.824000
302015-12-111.540000