f/overrides/event-backup/mtcgx-dividend.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

45 lines
875 B
Plaintext

Date,Dividends
2017-12-28,0.721000
2019-06-17,0.157000
2025-06-13,0.412000
1997-08-26,0.004000
2007-06-27,0.001000
2007-12-27,0.072000
2020-12-29,3.673000
2021-12-29,5.878000
2025-12-30,9.389000
1999-12-30,0.023000
2006-12-27,0.106000
2015-06-18,1.049000
2018-06-18,1.385000
2024-12-30,3.308000
2014-12-29,2.227000
2016-06-20,0.263000
2022-12-29,1.212000
1996-12-31,0.057000
1998-12-30,0.028000
2001-06-26,0.003000
2008-06-26,0.003000
2023-06-15,0.205000
2023-12-28,1.331000
2024-06-13,0.078000
2026-06-15,0.388000
1998-06-26,0.003000
1999-06-25,0.728000
2001-12-27,0.013000
2016-12-29,0.925000
2017-06-19,0.024000
2020-06-15,0.519000
2000-12-28,0.006000
2003-06-30,0.001000
2009-06-25,0.073000
2015-12-29,3.145000
2018-12-27,1.640000
2021-06-16,0.909000
1997-12-30,0.039000
2004-06-22,0.001000
2005-12-28,0.066000
2000-06-29,0.276000
2004-12-27,0.035000
2019-12-27,1.604000