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

24 lines
460 B
Plaintext

Date,Capital Gains
2018-12-20,4.969000
2020-12-21,1.423000
2014-12-30,1.947000
2015-03-31,1.039000
2016-03-31,3.368000
2017-12-22,3.177000
2019-03-29,0.952000
2022-12-21,2.711000
2015-12-23,10.827000
2016-12-22,5.334000
2017-03-31,2.229000
2018-03-29,0.635000
2021-03-31,0.102000
2022-03-31,0.379000
2023-03-31,0.794000
2023-12-20,1.980000
2024-03-28,1.013000
2019-12-20,2.268000
2020-03-31,0.427000
2021-12-21,1.622000
2024-12-16,5.625000
2025-03-31,0.926000