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
|
||||
2022-06-21,0.417000
|
||||
2023-03-20,0.421000
|
||||
2023-12-18,0.650000
|
||||
2025-12-22,0.717000
|
||||
2026-06-22,0.762000
|
||||
2016-09-16,0.323000
|
||||
2018-12-24,0.423000
|
||||
2021-03-22,0.377000
|
||||
2021-12-20,0.497000
|
||||
2023-09-18,0.477000
|
||||
2024-06-24,0.529000
|
||||
2016-03-18,0.314000
|
||||
2018-03-16,0.281000
|
||||
2019-09-23,0.405000
|
||||
2020-06-22,0.363000
|
||||
2023-06-20,0.499000
|
||||
2024-09-23,0.557000
|
||||
2024-12-23,0.816000
|
||||
2025-03-24,0.508000
|
||||
2017-09-15,0.321000
|
||||
2017-12-15,4.110000
|
||||
2018-06-18,0.360000
|
||||
2020-12-21,0.591000
|
||||
2021-06-21,0.374000
|
||||
2022-03-21,0.378000
|
||||
2022-09-19,0.465000
|
||||
2022-12-19,0.591000
|
||||
2025-09-22,0.607000
|
||||
2016-06-17,0.307000
|
||||
2025-06-23,0.583000
|
||||
2020-03-23,0.406000
|
||||
2020-09-21,0.317000
|
||||
2026-03-23,0.577000
|
||||
2018-09-24,0.376000
|
||||
2019-03-18,0.334000
|
||||
2019-06-24,0.385000
|
||||
2019-12-23,0.662000
|
||||
2024-03-18,0.459000
|
||||
|
Reference in New Issue
Block a user