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

799 B

1DateCapital Gains
21999-06-040.260000
32017-06-090.324000
42013-12-060.395000
52016-12-020.353000
62024-06-141.206000
72024-12-200.656000
81998-06-052.230000
91999-12-030.170000
102010-06-110.005000
112010-12-030.010000
122020-12-180.341000
132021-12-170.609000
142022-06-100.666000
152025-11-182.505000
161996-12-060.180000
171997-12-050.590000
182000-06-020.790000
192011-06-100.009000
202011-12-020.018000
212014-12-050.547000
222022-12-160.009000
232021-06-040.605000
241997-06-060.480000
252007-12-070.370000
262012-12-070.010000
272014-06-060.893000
282015-06-050.445000
292015-12-040.525000
302017-12-010.461000
312023-06-090.092000
322019-12-200.634000
332020-06-050.393000
342023-12-150.702000
352016-06-100.296000
362018-06-081.652000
372025-06-131.251000
382013-06-070.567000
392018-12-141.500000
402019-06-070.567000