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)
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
Date,Dividends
|
||||
2001-10-02,0.201000
|
||||
2012-09-25,0.339000
|
||||
2019-03-20,0.578000
|
||||
2020-03-25,0.597000
|
||||
2022-12-13,0.734000
|
||||
2004-06-28,0.226000
|
||||
2012-12-19,0.458000
|
||||
2016-03-23,0.471000
|
||||
2018-03-22,0.529000
|
||||
2022-06-09,0.569000
|
||||
2005-06-21,0.228000
|
||||
2005-09-27,0.266000
|
||||
2007-09-26,0.319000
|
||||
2009-12-24,0.266000
|
||||
2010-09-24,0.321000
|
||||
2024-03-21,0.744000
|
||||
2006-03-27,0.241000
|
||||
2008-12-24,0.329000
|
||||
2012-03-26,0.290000
|
||||
2014-03-25,0.383000
|
||||
2018-12-17,0.625000
|
||||
2020-06-15,0.541000
|
||||
2011-03-25,0.254000
|
||||
2021-09-24,0.632000
|
||||
2022-03-24,0.613000
|
||||
2025-03-18,0.577000
|
||||
2025-09-16,0.720000
|
||||
2026-06-15,0.731000
|
||||
2023-03-23,0.657000
|
||||
2024-09-25,0.833000
|
||||
2003-06-16,0.165000
|
||||
2006-09-27,0.258000
|
||||
2009-06-23,0.259000
|
||||
2009-09-23,0.278000
|
||||
2013-12-23,0.464000
|
||||
2016-12-21,0.561000
|
||||
2015-03-25,0.477000
|
||||
2019-09-24,0.630000
|
||||
2002-03-11,0.141000
|
||||
2003-03-10,0.133000
|
||||
2009-03-25,0.316000
|
||||
2010-12-23,0.269000
|
||||
2013-03-25,0.342000
|
||||
2013-06-26,0.396000
|
||||
2025-12-16,0.845000
|
||||
2002-09-16,0.134000
|
||||
2006-12-21,0.346000
|
||||
2008-06-25,0.359000
|
||||
2010-06-23,0.259000
|
||||
2011-09-26,0.286000
|
||||
2012-06-19,0.319000
|
||||
2004-09-27,0.188000
|
||||
2007-12-27,0.337000
|
||||
2015-12-24,0.486000
|
||||
2019-12-16,0.655000
|
||||
2021-06-10,0.500000
|
||||
2023-09-26,0.736000
|
||||
2004-03-29,0.216000
|
||||
2007-03-26,0.299000
|
||||
2014-06-24,0.388000
|
||||
2014-12-24,0.470000
|
||||
2024-06-11,0.629000
|
||||
2020-12-14,0.684000
|
||||
2022-09-26,0.725000
|
||||
2001-12-17,0.190000
|
||||
2002-12-16,0.245000
|
||||
2003-09-15,0.242000
|
||||
2007-06-29,0.358000
|
||||
2011-12-22,0.346000
|
||||
2014-09-24,0.437000
|
||||
2006-06-23,0.208000
|
||||
2008-03-25,0.375000
|
||||
2017-09-26,0.536000
|
||||
2020-09-23,0.632000
|
||||
2021-03-25,0.568000
|
||||
2016-06-21,0.509000
|
||||
2017-12-19,0.569000
|
||||
2001-03-12,0.147000
|
||||
2002-06-17,0.162000
|
||||
2005-03-28,0.279000
|
||||
2010-03-25,0.245000
|
||||
2011-06-23,0.295000
|
||||
2013-09-24,0.411000
|
||||
2023-06-07,0.595000
|
||||
2024-12-17,0.763000
|
||||
2001-06-11,0.054000
|
||||
2003-12-15,0.289000
|
||||
2018-09-26,0.564000
|
||||
2023-12-20,0.667000
|
||||
2025-06-16,0.638000
|
||||
2026-03-17,0.924000
|
||||
2015-09-25,0.485000
|
||||
2016-09-26,0.512000
|
||||
2017-03-24,0.496000
|
||||
2018-06-26,0.611000
|
||||
2021-12-13,0.613000
|
||||
2004-12-27,0.617000
|
||||
2008-09-25,0.398000
|
||||
2015-06-24,0.477000
|
||||
2017-06-27,0.550000
|
||||
2019-06-17,0.830000
|
||||
|
Reference in New Issue
Block a user