f/overrides/event-backup/gulf-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
890 B
Plaintext

Date,Dividends,ctime
2017-03-27,0.1,2017-08-24 15:39:34
2009-06-22,0.618,2017-08-24 15:39:34
2009-12-21,0.04,2017-08-24 15:39:34
2010-03-29,0.041,2017-08-24 15:39:34
2012-03-26,0.16,2017-08-24 15:39:34
2014-03-24,0.369,2017-08-24 15:39:34
2015-03-23,0.115,2017-08-24 15:39:34
2017-06-26,0.235,2017-08-24 15:39:34
2010-09-20,0.021,2017-08-24 15:39:34
2010-06-28,0.404,2017-08-24 15:39:34
2012-06-25,0.5,2017-08-24 15:39:34
2013-06-24,0.348,2017-08-24 15:39:34
2014-06-23,0.167,2017-08-24 15:39:34
2015-06-22,0.625,2017-08-24 15:39:34
2015-12-21,0.034,2017-08-24 15:39:34
2013-03-22,0.214,2017-08-24 15:39:34
2016-12-23,0.005,2017-08-24 15:39:34
2014-09-22,0.098,2017-08-24 15:39:34
2011-06-22,0.765,2017-08-24 15:39:34
2010-12-22,0.022,2017-08-24 15:39:34
2014-12-19,0.357,2017-08-24 15:39:34
2011-03-21,0.058,2017-08-24 15:39:34
2016-06-20,0.665,2017-08-24 15:39:34