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,54 @@
|
||||
Date,Dividends
|
||||
2015-06-24,0.164000
|
||||
2016-12-21,0.164000
|
||||
2017-09-21,0.153000
|
||||
2019-06-14,0.010000
|
||||
2022-06-24,0.553000
|
||||
2025-09-25,0.501000
|
||||
2012-06-21,0.110000
|
||||
2015-12-23,0.105000
|
||||
2011-12-21,0.108000
|
||||
2025-12-12,0.536000
|
||||
2021-12-23,1.232000
|
||||
2023-12-22,0.748000
|
||||
2024-06-27,0.413000
|
||||
2026-03-26,0.232000
|
||||
2020-09-24,0.175000
|
||||
2013-06-21,0.112000
|
||||
2014-09-23,0.175000
|
||||
2019-12-13,0.239000
|
||||
2014-12-23,0.171000
|
||||
2015-09-23,0.136000
|
||||
2017-06-22,0.187000
|
||||
2021-09-23,0.202000
|
||||
2013-12-18,0.054000
|
||||
2014-06-24,0.085000
|
||||
2018-09-14,0.300000
|
||||
2011-06-21,0.099000
|
||||
2012-12-21,0.112000
|
||||
2016-09-21,0.188000
|
||||
2018-12-18,0.058000
|
||||
2020-06-25,0.226000
|
||||
2020-12-24,0.270000
|
||||
2023-06-27,0.453000
|
||||
2024-12-13,0.427000
|
||||
2019-09-25,0.174000
|
||||
2020-03-26,0.050000
|
||||
2026-06-25,0.577000
|
||||
2016-06-22,0.159000
|
||||
2024-09-26,0.401000
|
||||
2022-09-23,0.441000
|
||||
2022-12-23,0.197000
|
||||
2023-09-22,0.401000
|
||||
2013-03-21,0.022000
|
||||
2017-12-21,0.523000
|
||||
2012-09-21,0.089000
|
||||
2022-03-25,0.051000
|
||||
2023-03-24,0.049000
|
||||
2025-03-27,0.080000
|
||||
2013-09-20,0.098000
|
||||
2014-03-25,0.104000
|
||||
2018-06-21,0.183000
|
||||
2021-06-24,0.191000
|
||||
2024-03-21,0.044000
|
||||
2025-06-26,0.569000
|
||||
|
Reference in New Issue
Block a user