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,39 @@
|
||||
Date,Dividends
|
||||
2015-12-17,1.865000
|
||||
2016-11-28,1.257000
|
||||
2023-12-14,0.769000
|
||||
2024-09-27,0.204000
|
||||
1997-11-18,0.824000
|
||||
2003-11-20,0.138000
|
||||
2004-12-09,0.789000
|
||||
2019-12-12,2.665000
|
||||
2021-12-16,2.909000
|
||||
1996-12-11,0.251000
|
||||
2002-11-21,0.242000
|
||||
2017-12-14,2.603000
|
||||
2012-12-13,0.996000
|
||||
2018-12-13,2.703000
|
||||
2024-03-27,0.180000
|
||||
2000-11-17,1.244000
|
||||
2001-11-15,0.196000
|
||||
2009-12-17,0.293000
|
||||
2024-06-27,0.177000
|
||||
2024-12-30,0.178000
|
||||
2025-09-29,0.220000
|
||||
2026-03-30,0.210000
|
||||
2005-12-15,0.547000
|
||||
2010-12-16,0.225000
|
||||
2011-12-15,0.846000
|
||||
2013-12-19,2.712000
|
||||
2025-03-28,0.198000
|
||||
1999-11-19,1.814000
|
||||
2006-12-14,1.809000
|
||||
2008-12-18,0.961000
|
||||
2025-06-27,0.218000
|
||||
2026-06-29,0.221000
|
||||
1998-11-23,0.416000
|
||||
2007-12-13,2.111000
|
||||
2014-12-18,2.991000
|
||||
2022-12-15,0.425000
|
||||
2020-12-10,1.276000
|
||||
2025-12-30,0.209000
|
||||
|
Reference in New Issue
Block a user