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:
gmp
2026-08-31 21:59:25 -04:00
parent e20b2e30cb
commit bb8e39605e
8198 changed files with 585233 additions and 6 deletions
+189
View File
@@ -0,0 +1,189 @@
Date,Dividends
2012-04-30,0.023000
2017-08-31,0.023000
2021-03-31,0.020000
2016-06-30,0.022000
2022-08-31,0.021000
2016-01-29,0.022000
2018-03-29,0.022000
2024-08-30,0.026000
2015-06-30,0.024000
2015-08-31,0.024000
2015-09-30,0.024000
2019-12-31,0.023000
2024-12-31,0.026000
2014-04-30,0.027000
2014-09-30,0.026000
2018-02-28,0.021000
2014-06-30,0.025000
2018-12-31,0.024000
2022-06-30,0.019000
2015-11-30,0.023000
2019-10-31,0.023000
2023-02-28,0.020000
2013-01-31,0.025000
2013-10-31,0.027000
2014-07-31,0.025000
2023-10-31,0.026000
2012-01-31,0.028000
2018-01-31,0.025000
2020-10-30,0.021000
2021-06-30,0.019000
2022-04-29,0.019000
2023-11-30,0.022000
2025-02-28,0.025000
2014-01-31,0.026000
2017-01-31,0.024000
2020-12-31,0.026000
2015-10-30,0.024000
2017-12-29,0.022000
2021-02-26,0.019000
2025-05-30,0.026000
2026-05-29,0.026000
2011-11-30,0.028000
2013-02-28,0.026000
2014-03-31,0.027000
2020-05-29,0.022000
2025-03-31,0.027000
2026-01-30,0.027000
2014-11-28,0.026000
2016-11-30,0.022000
2018-11-30,0.022000
2016-02-29,0.021000
2016-10-31,0.023000
2017-11-30,0.020000
2023-04-28,0.022000
2025-08-29,0.028000
2011-02-28,0.024000
2013-09-30,0.027000
2015-03-31,0.027000
2024-01-31,0.025000
2024-04-30,0.025000
2013-11-29,0.026000
2015-02-27,0.024000
2021-10-29,0.019000
2024-05-31,0.025000
2026-07-31,0.029000
2010-12-31,0.014000
2012-05-31,0.024000
2013-08-30,0.026000
2016-04-29,0.022000
2016-07-29,0.023000
2017-10-31,0.022000
2018-04-30,0.023000
2023-06-30,0.023000
2012-07-31,0.028000
2014-08-29,0.026000
2014-12-31,0.026000
2025-06-30,0.026000
2026-02-27,0.026000
2020-03-31,0.024000
2020-07-31,0.022000
2021-07-30,0.020000
2024-11-29,0.026000
2025-12-31,0.032000
2011-07-29,0.029000
2019-11-29,0.021000
2020-02-28,0.021000
2017-07-31,0.025000
2019-04-30,0.023000
2016-03-31,0.022000
2017-02-28,0.020000
2017-09-29,0.022000
2019-01-31,0.023000
2021-04-30,0.019000
2011-06-30,0.027000
2012-12-31,0.026000
2014-02-28,0.027000
2020-09-30,0.023000
2022-07-29,0.021000
2026-04-30,0.028000
2014-10-31,0.026000
2020-01-31,0.023000
2020-06-30,0.021000
2024-10-31,0.024000
2020-08-31,0.020000
2021-09-30,0.020000
2023-03-31,0.024000
2015-07-31,0.024000
2016-08-31,0.023000
2024-07-31,0.027000
2025-04-30,0.026000
2026-06-30,0.027000
2012-03-30,0.027000
2012-08-31,0.028000
2013-04-30,0.025000
2021-11-30,0.017000
2022-03-31,0.018000
2023-05-31,0.023000
2019-07-31,0.024000
2019-09-30,0.024000
2022-10-31,0.020000
2016-05-31,0.023000
2016-12-30,0.023000
2018-05-31,0.023000
2019-05-31,0.023000
2023-12-29,0.025000
2011-03-31,0.025000
2012-06-29,0.026000
2015-01-30,0.027000
2011-12-30,0.028000
2013-03-28,0.025000
2025-11-28,0.025000
2018-09-28,0.022000
2019-08-30,0.021000
2022-12-30,0.023000
2023-07-31,0.025000
2011-08-31,0.028000
2012-02-29,0.027000
2013-06-28,0.025000
2021-05-28,0.020000
2023-08-31,0.022000
2025-01-31,0.026000
2012-09-28,0.027000
2013-12-31,0.026000
2015-12-31,0.022000
2017-05-31,0.023000
2022-09-30,0.020000
2023-09-29,0.025000
2024-06-28,0.025000
2025-07-31,0.028000
2011-01-31,0.020000
2011-09-30,0.028000
2017-04-28,0.023000
2017-06-30,0.022000
2020-04-30,0.021000
2025-10-31,0.026000
2017-03-31,0.023000
2018-08-31,0.023000
2019-02-28,0.021000
2020-11-30,0.020000
2021-12-31,0.103000
2011-10-31,0.028000
2012-10-31,0.026000
2014-05-30,0.027000
2022-02-28,0.017000
2024-03-28,0.026000
2026-03-31,0.029000
2019-06-28,0.024000
2021-01-29,0.021000
2022-05-31,0.020000
2023-01-31,0.024000
2024-02-29,0.024000
2011-04-29,0.024000
2011-05-31,0.027000
2018-06-29,0.023000
2024-09-30,0.026000
2019-03-29,0.023000
2021-08-31,0.018000
2022-01-31,0.018000
2013-05-31,0.025000
2015-04-30,0.025000
2015-05-29,0.026000
2018-07-31,0.025000
2018-10-31,0.023000
2022-11-30,0.022000
2025-09-30,0.027000
2012-11-30,0.025000
2013-07-31,0.027000
2016-09-30,0.022000
1 Date Dividends
2 2012-04-30 0.023000
3 2017-08-31 0.023000
4 2021-03-31 0.020000
5 2016-06-30 0.022000
6 2022-08-31 0.021000
7 2016-01-29 0.022000
8 2018-03-29 0.022000
9 2024-08-30 0.026000
10 2015-06-30 0.024000
11 2015-08-31 0.024000
12 2015-09-30 0.024000
13 2019-12-31 0.023000
14 2024-12-31 0.026000
15 2014-04-30 0.027000
16 2014-09-30 0.026000
17 2018-02-28 0.021000
18 2014-06-30 0.025000
19 2018-12-31 0.024000
20 2022-06-30 0.019000
21 2015-11-30 0.023000
22 2019-10-31 0.023000
23 2023-02-28 0.020000
24 2013-01-31 0.025000
25 2013-10-31 0.027000
26 2014-07-31 0.025000
27 2023-10-31 0.026000
28 2012-01-31 0.028000
29 2018-01-31 0.025000
30 2020-10-30 0.021000
31 2021-06-30 0.019000
32 2022-04-29 0.019000
33 2023-11-30 0.022000
34 2025-02-28 0.025000
35 2014-01-31 0.026000
36 2017-01-31 0.024000
37 2020-12-31 0.026000
38 2015-10-30 0.024000
39 2017-12-29 0.022000
40 2021-02-26 0.019000
41 2025-05-30 0.026000
42 2026-05-29 0.026000
43 2011-11-30 0.028000
44 2013-02-28 0.026000
45 2014-03-31 0.027000
46 2020-05-29 0.022000
47 2025-03-31 0.027000
48 2026-01-30 0.027000
49 2014-11-28 0.026000
50 2016-11-30 0.022000
51 2018-11-30 0.022000
52 2016-02-29 0.021000
53 2016-10-31 0.023000
54 2017-11-30 0.020000
55 2023-04-28 0.022000
56 2025-08-29 0.028000
57 2011-02-28 0.024000
58 2013-09-30 0.027000
59 2015-03-31 0.027000
60 2024-01-31 0.025000
61 2024-04-30 0.025000
62 2013-11-29 0.026000
63 2015-02-27 0.024000
64 2021-10-29 0.019000
65 2024-05-31 0.025000
66 2026-07-31 0.029000
67 2010-12-31 0.014000
68 2012-05-31 0.024000
69 2013-08-30 0.026000
70 2016-04-29 0.022000
71 2016-07-29 0.023000
72 2017-10-31 0.022000
73 2018-04-30 0.023000
74 2023-06-30 0.023000
75 2012-07-31 0.028000
76 2014-08-29 0.026000
77 2014-12-31 0.026000
78 2025-06-30 0.026000
79 2026-02-27 0.026000
80 2020-03-31 0.024000
81 2020-07-31 0.022000
82 2021-07-30 0.020000
83 2024-11-29 0.026000
84 2025-12-31 0.032000
85 2011-07-29 0.029000
86 2019-11-29 0.021000
87 2020-02-28 0.021000
88 2017-07-31 0.025000
89 2019-04-30 0.023000
90 2016-03-31 0.022000
91 2017-02-28 0.020000
92 2017-09-29 0.022000
93 2019-01-31 0.023000
94 2021-04-30 0.019000
95 2011-06-30 0.027000
96 2012-12-31 0.026000
97 2014-02-28 0.027000
98 2020-09-30 0.023000
99 2022-07-29 0.021000
100 2026-04-30 0.028000
101 2014-10-31 0.026000
102 2020-01-31 0.023000
103 2020-06-30 0.021000
104 2024-10-31 0.024000
105 2020-08-31 0.020000
106 2021-09-30 0.020000
107 2023-03-31 0.024000
108 2015-07-31 0.024000
109 2016-08-31 0.023000
110 2024-07-31 0.027000
111 2025-04-30 0.026000
112 2026-06-30 0.027000
113 2012-03-30 0.027000
114 2012-08-31 0.028000
115 2013-04-30 0.025000
116 2021-11-30 0.017000
117 2022-03-31 0.018000
118 2023-05-31 0.023000
119 2019-07-31 0.024000
120 2019-09-30 0.024000
121 2022-10-31 0.020000
122 2016-05-31 0.023000
123 2016-12-30 0.023000
124 2018-05-31 0.023000
125 2019-05-31 0.023000
126 2023-12-29 0.025000
127 2011-03-31 0.025000
128 2012-06-29 0.026000
129 2015-01-30 0.027000
130 2011-12-30 0.028000
131 2013-03-28 0.025000
132 2025-11-28 0.025000
133 2018-09-28 0.022000
134 2019-08-30 0.021000
135 2022-12-30 0.023000
136 2023-07-31 0.025000
137 2011-08-31 0.028000
138 2012-02-29 0.027000
139 2013-06-28 0.025000
140 2021-05-28 0.020000
141 2023-08-31 0.022000
142 2025-01-31 0.026000
143 2012-09-28 0.027000
144 2013-12-31 0.026000
145 2015-12-31 0.022000
146 2017-05-31 0.023000
147 2022-09-30 0.020000
148 2023-09-29 0.025000
149 2024-06-28 0.025000
150 2025-07-31 0.028000
151 2011-01-31 0.020000
152 2011-09-30 0.028000
153 2017-04-28 0.023000
154 2017-06-30 0.022000
155 2020-04-30 0.021000
156 2025-10-31 0.026000
157 2017-03-31 0.023000
158 2018-08-31 0.023000
159 2019-02-28 0.021000
160 2020-11-30 0.020000
161 2021-12-31 0.103000
162 2011-10-31 0.028000
163 2012-10-31 0.026000
164 2014-05-30 0.027000
165 2022-02-28 0.017000
166 2024-03-28 0.026000
167 2026-03-31 0.029000
168 2019-06-28 0.024000
169 2021-01-29 0.021000
170 2022-05-31 0.020000
171 2023-01-31 0.024000
172 2024-02-29 0.024000
173 2011-04-29 0.024000
174 2011-05-31 0.027000
175 2018-06-29 0.023000
176 2024-09-30 0.026000
177 2019-03-29 0.023000
178 2021-08-31 0.018000
179 2022-01-31 0.018000
180 2013-05-31 0.025000
181 2015-04-30 0.025000
182 2015-05-29 0.026000
183 2018-07-31 0.025000
184 2018-10-31 0.023000
185 2022-11-30 0.022000
186 2025-09-30 0.027000
187 2012-11-30 0.025000
188 2013-07-31 0.027000
189 2016-09-30 0.022000