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

25 lines
919 B
Plaintext

Date,Dividends,ctime
2008-12-29,0.045,2017-08-24 15:39:34
2015-12-21,0.545399,2017-08-24 15:39:34
2017-06-20,0.156,2017-08-24 15:39:34
2009-12-29,0.025,2017-08-24 15:39:34
2014-06-25,0.478482,2017-08-24 15:39:34
2016-06-22,0.191366,2017-08-24 15:39:34
2016-12-21,0.387303,2017-08-24 15:39:34
2010-12-29,0.036,2017-08-24 15:39:34
2012-12-27,0.022,2017-08-24 15:39:34
2013-06-27,0.677579,2017-08-24 15:39:34
2015-06-25,0.377609,2017-08-24 15:39:34
2008-12-23,0.336,2017-08-24 15:39:34
2009-06-23,0.162,2017-08-24 15:39:34
2009-12-22,0.212,2017-08-24 15:39:34
2010-12-21,0.415,2017-08-24 15:39:34
2011-12-20,0.273,2017-08-24 15:39:34
2012-12-18,0.163,2017-08-24 15:39:34
2011-06-22,0.545,2017-08-24 15:39:34
2013-12-18,0.227523,2017-08-24 15:39:34
2014-12-17,0.57655,2017-08-24 15:39:34
2008-06-25,0.156,2017-08-24 15:39:34
2010-06-23,0.403,2017-08-24 15:39:34
2012-06-21,0.657,2017-08-24 15:39:34