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,53 @@
|
||||
Date,Dividends
|
||||
2021-09-23,0.124000
|
||||
2021-12-14,1.564000
|
||||
2014-06-17,0.137000
|
||||
2015-06-16,0.135000
|
||||
2015-09-22,0.127000
|
||||
2015-12-10,0.131000
|
||||
2018-12-10,4.016000
|
||||
2020-09-17,0.162000
|
||||
2023-09-28,0.121000
|
||||
2016-12-08,0.275000
|
||||
2017-12-11,1.838000
|
||||
2018-03-20,0.152000
|
||||
2023-12-13,1.416000
|
||||
2024-06-27,0.178000
|
||||
2016-09-20,0.138000
|
||||
2019-09-19,0.217000
|
||||
2020-03-19,0.094000
|
||||
2021-06-24,0.148000
|
||||
2022-12-14,4.808000
|
||||
2023-03-23,0.121000
|
||||
2022-09-22,0.167000
|
||||
2024-09-26,0.180000
|
||||
2017-06-20,0.126000
|
||||
2017-09-19,0.167000
|
||||
2018-06-19,0.172000
|
||||
2018-09-18,0.178000
|
||||
2020-06-18,0.120000
|
||||
2021-03-25,0.143000
|
||||
2024-12-12,4.926000
|
||||
2025-09-25,0.154000
|
||||
2014-03-18,0.169000
|
||||
2014-09-16,0.114000
|
||||
2019-12-13,7.577000
|
||||
2022-06-23,0.168000
|
||||
2024-03-28,0.153000
|
||||
2025-12-11,4.045000
|
||||
2012-12-03,0.431000
|
||||
2013-12-02,0.489000
|
||||
2020-12-11,0.397000
|
||||
2025-03-27,0.152000
|
||||
2025-06-26,0.153000
|
||||
2026-06-25,0.171000
|
||||
2015-03-17,0.118000
|
||||
2016-03-22,0.138000
|
||||
2019-03-19,0.137000
|
||||
2019-06-20,0.170000
|
||||
2022-03-24,0.125000
|
||||
2023-06-22,0.121000
|
||||
2014-12-01,0.121000
|
||||
2016-06-21,0.117000
|
||||
2017-03-21,0.053000
|
||||
2026-03-26,0.155000
|
||||
|
Reference in New Issue
Block a user