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

1.3 KiB

1DateCapital Gains
21991-12-130.270000
31996-12-130.240000
42017-12-080.393000
52007-09-071.680000
62014-12-120.357000
72000-09-082.750000
82003-12-190.440000
92006-09-083.440000
102009-09-110.080000
112016-09-161.196000
121994-09-021.590000
131995-12-150.570000
142015-09-111.540000
152019-12-130.015000
162013-12-130.848000
172014-09-052.080000
182004-12-170.440000
192025-09-123.642000
202000-12-150.680000
212004-09-031.650000
222012-09-071.616000
232021-12-101.609000
242024-12-061.600000
252001-09-071.390000
262008-09-124.110000
271999-09-030.990000
281996-09-061.420000
291998-09-041.740000
302015-12-110.071000
312022-12-090.707000
322005-12-161.100000
332006-12-150.340000
341994-12-020.460000
352013-09-062.065000
361990-09-070.260000
371991-09-060.330000
382020-09-112.727000
392025-12-050.820000
401997-12-120.480000
412017-09-153.671000
422002-09-060.540000
432016-12-090.607000
442019-09-133.171000
452023-12-081.368000
461993-12-030.620000
471995-09-080.670000
481998-12-110.200000
492001-12-140.150000
502018-09-143.311000
512023-09-085.801000
521992-09-040.540000
532012-12-140.666000
542024-09-134.159000
551997-09-051.100000
561999-12-100.200000
572005-09-091.520000
582007-12-141.500000
592011-09-092.207000
602022-09-093.107000
611992-12-110.150000
621993-09-031.000000
632020-12-111.832000
642021-09-104.071000
652010-09-080.008000
662018-12-071.684000