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
+184
View File
@@ -0,0 +1,184 @@
Date,Dividends
2016-05-26,0.036000
2016-12-14,0.090000
2020-01-29,0.025000
2022-03-29,0.053000
2025-07-29,0.035000
2015-06-26,0.032000
2016-08-29,0.051000
2022-11-28,0.050000
2025-02-26,0.048000
2015-03-27,0.040000
2013-07-31,0.007000
2013-12-12,0.217000
2018-06-27,0.022000
2019-01-29,0.013000
2024-04-26,0.030000
2012-09-28,0.024000
2014-03-31,0.034000
2020-12-29,0.046000
2021-02-24,0.034000
2021-09-28,0.042000
2025-04-28,0.034000
2012-12-13,0.073000
2013-03-28,0.032000
2013-06-28,0.035000
2019-10-29,0.018000
2021-04-28,0.014000
2021-07-28,0.032000
2025-12-11,2.252000
2012-04-30,0.011000
2014-09-30,0.032000
2014-12-12,0.278000
2015-12-29,0.040000
2018-08-29,0.078000
2019-12-12,0.195000
2023-12-13,0.162000
2025-11-25,0.035000
2013-08-30,0.024000
2018-07-27,0.010000
2017-03-29,0.033000
2016-12-28,0.035000
2020-10-28,0.023000
2022-06-28,0.046000
2023-08-29,0.061000
2024-11-26,0.057000
2015-12-11,0.105000
2022-10-27,0.028000
2026-05-27,0.035000
2012-11-30,0.028000
2019-04-26,0.010000
2019-12-27,0.047000
2022-01-27,0.026000
2022-07-27,0.021000
2023-11-28,0.060000
2024-10-29,0.037000
2014-07-31,0.007000
2017-10-27,0.008000
2023-10-27,0.030000
2014-04-30,0.011000
2018-03-27,0.040000
2018-11-28,0.043000
2021-01-27,0.026000
2021-08-27,0.034000
2024-02-27,0.054000
2026-03-27,0.054000
2014-11-28,0.026000
2014-08-29,0.025000
2016-04-27,0.003000
2018-05-29,0.044000
2018-10-29,0.019000
2025-12-29,0.050000
2013-05-31,0.020000
2018-04-26,0.007000
2019-09-26,0.038000
2021-10-27,0.024000
2023-03-29,0.055000
2026-07-29,0.022000
2017-08-29,0.048000
2023-07-27,0.033000
2025-01-29,0.036000
2012-03-30,0.028000
2017-06-28,0.028000
2024-12-27,0.038000
2025-05-28,0.041000
2013-01-31,0.005000
2017-07-27,0.007000
2021-06-28,0.038000
2022-05-26,0.047000
2022-09-28,0.054000
2024-05-29,0.062000
2024-09-26,0.037000
2026-02-25,0.031000
2013-11-29,0.018000
2026-06-26,0.040000
2018-12-12,0.464000
2018-12-27,0.045000
2021-05-26,0.039000
2022-12-13,0.388000
2015-09-28,0.028000
2014-10-31,0.015000
2015-01-29,0.006000
2016-02-25,0.040000
2019-03-27,0.043000
2024-08-28,0.055000
2026-04-28,0.026000
2012-08-31,0.026000
2019-08-28,0.041000
2021-12-13,0.436000
2022-02-24,0.037000
2022-04-27,0.018000
2023-04-26,0.031000
2023-12-27,0.049000
2024-03-26,0.039000
2018-02-26,0.040000
2012-06-29,0.025000
2013-09-30,0.031000
2016-09-28,0.028000
2017-09-27,0.027000
2020-06-26,0.043000
2012-05-31,0.025000
2016-03-29,0.036000
2018-01-31,0.001000
2019-05-29,0.040000
2019-06-26,0.043000
2020-09-28,0.038000
2021-11-26,0.035000
2022-12-28,0.060000
2012-07-31,0.006000
2024-06-26,0.037000
2014-05-30,0.023000
2018-09-26,0.039000
2020-04-28,0.016000
2013-10-31,0.016000
2014-06-30,0.035000
2015-05-27,0.024000
2015-10-28,0.008000
2016-10-27,0.004000
2023-01-27,0.029000
2025-03-27,0.042000
2012-12-31,0.055000
2014-12-30,0.073000
2015-07-29,0.007000
2017-04-26,0.001000
2013-12-31,0.046000
2017-12-27,0.039000
2019-11-26,0.041000
2020-02-26,0.041000
2020-05-27,0.036000
2025-09-26,0.040000
2012-10-31,0.015000
2015-11-25,0.040000
2016-01-27,0.004000
2021-03-29,0.045000
2023-06-28,0.042000
2015-04-28,0.015000
2017-05-26,0.045000
2017-11-28,0.045000
2020-07-29,0.022000
2024-12-12,1.498000
2025-08-27,0.042000
2013-02-28,0.025000
2014-02-28,0.027000
2015-02-25,0.027000
2020-08-27,0.035000
2025-10-29,0.038000
2012-02-29,0.021000
2015-08-27,0.040000
2016-11-28,0.051000
2017-02-24,0.037000
2019-02-26,0.040000
2022-08-29,0.059000
2023-05-26,0.052000
2024-07-29,0.039000
2013-04-30,0.009000
2019-07-29,0.016000
2020-11-25,0.032000
2021-12-29,0.054000
2023-09-27,0.040000
2017-12-13,0.154000
2023-02-24,0.046000
2024-01-29,0.032000
2025-06-26,0.042000
2026-01-28,0.043000
2020-03-27,0.047000
1 Date Dividends
2 2016-05-26 0.036000
3 2016-12-14 0.090000
4 2020-01-29 0.025000
5 2022-03-29 0.053000
6 2025-07-29 0.035000
7 2015-06-26 0.032000
8 2016-08-29 0.051000
9 2022-11-28 0.050000
10 2025-02-26 0.048000
11 2015-03-27 0.040000
12 2013-07-31 0.007000
13 2013-12-12 0.217000
14 2018-06-27 0.022000
15 2019-01-29 0.013000
16 2024-04-26 0.030000
17 2012-09-28 0.024000
18 2014-03-31 0.034000
19 2020-12-29 0.046000
20 2021-02-24 0.034000
21 2021-09-28 0.042000
22 2025-04-28 0.034000
23 2012-12-13 0.073000
24 2013-03-28 0.032000
25 2013-06-28 0.035000
26 2019-10-29 0.018000
27 2021-04-28 0.014000
28 2021-07-28 0.032000
29 2025-12-11 2.252000
30 2012-04-30 0.011000
31 2014-09-30 0.032000
32 2014-12-12 0.278000
33 2015-12-29 0.040000
34 2018-08-29 0.078000
35 2019-12-12 0.195000
36 2023-12-13 0.162000
37 2025-11-25 0.035000
38 2013-08-30 0.024000
39 2018-07-27 0.010000
40 2017-03-29 0.033000
41 2016-12-28 0.035000
42 2020-10-28 0.023000
43 2022-06-28 0.046000
44 2023-08-29 0.061000
45 2024-11-26 0.057000
46 2015-12-11 0.105000
47 2022-10-27 0.028000
48 2026-05-27 0.035000
49 2012-11-30 0.028000
50 2019-04-26 0.010000
51 2019-12-27 0.047000
52 2022-01-27 0.026000
53 2022-07-27 0.021000
54 2023-11-28 0.060000
55 2024-10-29 0.037000
56 2014-07-31 0.007000
57 2017-10-27 0.008000
58 2023-10-27 0.030000
59 2014-04-30 0.011000
60 2018-03-27 0.040000
61 2018-11-28 0.043000
62 2021-01-27 0.026000
63 2021-08-27 0.034000
64 2024-02-27 0.054000
65 2026-03-27 0.054000
66 2014-11-28 0.026000
67 2014-08-29 0.025000
68 2016-04-27 0.003000
69 2018-05-29 0.044000
70 2018-10-29 0.019000
71 2025-12-29 0.050000
72 2013-05-31 0.020000
73 2018-04-26 0.007000
74 2019-09-26 0.038000
75 2021-10-27 0.024000
76 2023-03-29 0.055000
77 2026-07-29 0.022000
78 2017-08-29 0.048000
79 2023-07-27 0.033000
80 2025-01-29 0.036000
81 2012-03-30 0.028000
82 2017-06-28 0.028000
83 2024-12-27 0.038000
84 2025-05-28 0.041000
85 2013-01-31 0.005000
86 2017-07-27 0.007000
87 2021-06-28 0.038000
88 2022-05-26 0.047000
89 2022-09-28 0.054000
90 2024-05-29 0.062000
91 2024-09-26 0.037000
92 2026-02-25 0.031000
93 2013-11-29 0.018000
94 2026-06-26 0.040000
95 2018-12-12 0.464000
96 2018-12-27 0.045000
97 2021-05-26 0.039000
98 2022-12-13 0.388000
99 2015-09-28 0.028000
100 2014-10-31 0.015000
101 2015-01-29 0.006000
102 2016-02-25 0.040000
103 2019-03-27 0.043000
104 2024-08-28 0.055000
105 2026-04-28 0.026000
106 2012-08-31 0.026000
107 2019-08-28 0.041000
108 2021-12-13 0.436000
109 2022-02-24 0.037000
110 2022-04-27 0.018000
111 2023-04-26 0.031000
112 2023-12-27 0.049000
113 2024-03-26 0.039000
114 2018-02-26 0.040000
115 2012-06-29 0.025000
116 2013-09-30 0.031000
117 2016-09-28 0.028000
118 2017-09-27 0.027000
119 2020-06-26 0.043000
120 2012-05-31 0.025000
121 2016-03-29 0.036000
122 2018-01-31 0.001000
123 2019-05-29 0.040000
124 2019-06-26 0.043000
125 2020-09-28 0.038000
126 2021-11-26 0.035000
127 2022-12-28 0.060000
128 2012-07-31 0.006000
129 2024-06-26 0.037000
130 2014-05-30 0.023000
131 2018-09-26 0.039000
132 2020-04-28 0.016000
133 2013-10-31 0.016000
134 2014-06-30 0.035000
135 2015-05-27 0.024000
136 2015-10-28 0.008000
137 2016-10-27 0.004000
138 2023-01-27 0.029000
139 2025-03-27 0.042000
140 2012-12-31 0.055000
141 2014-12-30 0.073000
142 2015-07-29 0.007000
143 2017-04-26 0.001000
144 2013-12-31 0.046000
145 2017-12-27 0.039000
146 2019-11-26 0.041000
147 2020-02-26 0.041000
148 2020-05-27 0.036000
149 2025-09-26 0.040000
150 2012-10-31 0.015000
151 2015-11-25 0.040000
152 2016-01-27 0.004000
153 2021-03-29 0.045000
154 2023-06-28 0.042000
155 2015-04-28 0.015000
156 2017-05-26 0.045000
157 2017-11-28 0.045000
158 2020-07-29 0.022000
159 2024-12-12 1.498000
160 2025-08-27 0.042000
161 2013-02-28 0.025000
162 2014-02-28 0.027000
163 2015-02-25 0.027000
164 2020-08-27 0.035000
165 2025-10-29 0.038000
166 2012-02-29 0.021000
167 2015-08-27 0.040000
168 2016-11-28 0.051000
169 2017-02-24 0.037000
170 2019-02-26 0.040000
171 2022-08-29 0.059000
172 2023-05-26 0.052000
173 2024-07-29 0.039000
174 2013-04-30 0.009000
175 2019-07-29 0.016000
176 2020-11-25 0.032000
177 2021-12-29 0.054000
178 2023-09-27 0.040000
179 2017-12-13 0.154000
180 2023-02-24 0.046000
181 2024-01-29 0.032000
182 2025-06-26 0.042000
183 2026-01-28 0.043000
184 2020-03-27 0.047000