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
+226
View File
@@ -0,0 +1,226 @@
Date,Dividends
2016-12-22,0.091500
2018-03-01,0.119000
2022-03-01,0.086000
2022-06-01,0.086000
2022-11-01,0.091000
2023-08-01,0.107000
2024-12-02,0.128000
2025-10-01,0.139000
2010-02-01,0.153000
2015-06-01,0.118000
2016-06-01,0.112000
2010-03-01,0.155500
2013-03-01,0.138500
2013-07-01,0.132000
2015-11-02,0.121500
2015-12-01,0.118500
2016-04-01,0.111500
2020-03-02,0.102000
2010-09-01,0.158500
2011-12-01,0.147500
2012-10-01,0.146500
2015-02-02,0.124500
2021-09-01,0.083000
2025-09-02,0.138000
2010-04-01,0.161000
2011-11-01,0.147500
2022-08-01,0.089000
2023-05-01,0.103000
2009-07-01,0.159500
2013-05-01,0.132000
2015-04-01,0.122000
2017-08-01,0.108500
2020-11-02,0.091000
2021-02-01,0.091000
2019-12-19,0.093000
2020-07-01,0.098000
2011-07-01,0.161500
2009-03-02,0.159500
2013-10-01,0.130500
2021-08-02,0.086000
2022-07-01,0.091000
2024-09-03,0.124000
2026-08-03,0.141000
2009-10-01,0.159500
2026-04-01,0.139000
2012-12-26,0.129000
2014-04-01,0.135500
2018-02-01,0.109000
2018-08-01,0.111000
2016-07-01,0.115000
2016-08-01,0.109500
2016-11-01,0.107000
2019-09-03,0.101000
2024-02-01,0.113000
2011-09-01,0.148500
2020-08-03,0.094000
2023-06-01,0.099000
2023-07-03,0.101000
2025-11-03,0.137000
2017-07-03,0.114000
2017-11-01,0.108000
2008-02-01,0.159000
2014-12-01,0.126500
2015-12-24,0.116500
2018-07-02,0.114000
2018-10-01,0.114000
2022-09-01,0.088000
2013-12-26,0.136000
2019-04-01,0.109000
2019-10-01,0.100000
2010-07-01,0.157000
2017-06-01,0.109000
2011-12-27,0.134000
2015-07-01,0.120500
2017-12-01,0.111000
2020-12-01,0.091000
2026-02-02,0.135000
2008-12-29,0.249000
2016-12-01,0.110500
2023-02-01,0.096000
2009-11-02,0.155500
2021-12-16,0.092000
2007-12-03,0.160000
2014-10-01,0.126500
2026-05-01,0.143000
2026-07-01,0.141000
2008-09-02,0.142500
2012-08-01,0.144000
2020-04-01,0.100000
2019-07-01,0.109000
2019-11-01,0.099000
2020-06-01,0.096000
2023-11-01,0.116000
2024-12-18,0.127000
2008-04-01,0.161500
2018-12-03,0.115000
2007-12-27,0.151500
2009-08-03,0.163000
2013-11-01,0.132000
2017-04-03,0.109000
2023-03-01,0.107000
2024-07-01,0.124000
2009-02-02,0.160000
2013-09-03,0.132500
2016-03-01,0.118000
2017-09-01,0.110000
2018-11-01,0.119000
2011-03-01,0.156500
2011-05-02,0.158000
2009-05-01,0.159500
2011-08-01,0.143500
2012-03-01,0.149500
2019-06-03,0.110000
2025-12-19,0.139000
2012-12-03,0.140500
2020-09-01,0.094000
2024-08-01,0.124000
2009-04-01,0.163500
2010-12-28,0.147500
2021-07-01,0.086000
2023-12-01,0.117000
2025-03-03,0.132000
2009-12-01,0.151500
2018-09-04,0.112000
2021-12-01,0.086000
2024-03-01,0.123000
2016-10-03,0.110500
2026-03-02,0.141000
2011-06-01,0.157000
2012-07-02,0.148500
2016-05-02,0.115500
2016-09-01,0.107500
2024-11-01,0.123000
2012-05-01,0.146000
2019-08-01,0.100000
2020-05-01,0.098000
2023-12-14,0.120000
2024-04-01,0.118000
2010-05-03,0.157000
2012-09-04,0.148000
2021-05-03,0.093000
2008-06-02,0.133500
2008-10-01,0.157500
2010-08-02,0.156500
2013-02-01,0.129500
2017-02-01,0.111000
2019-03-01,0.110000
2020-02-03,0.097000
2010-11-01,0.154500
2024-10-01,0.126000
2014-08-01,0.130000
2013-08-01,0.131500
2022-12-15,0.091000
2012-04-02,0.148000
2018-06-01,0.110000
2018-12-18,0.107000
2023-04-03,0.101000
2008-03-03,0.145500
2008-08-01,0.140500
2008-12-01,0.160000
2010-06-01,0.155500
2014-09-02,0.128000
2008-05-01,0.162500
2015-09-01,0.120500
2017-12-21,0.148000
2021-04-01,0.090000
2011-04-01,0.157500
2013-04-01,0.130500
2017-10-02,0.112000
2022-12-01,0.096000
2015-03-02,0.127500
2018-05-01,0.110000
2019-02-01,0.112000
2008-07-01,0.129500
2026-06-01,0.139000
2020-10-01,0.097000
2025-07-01,0.133000
2012-06-01,0.145500
2014-06-02,0.132500
2017-05-01,0.113000
2021-06-01,0.087000
2022-05-02,0.087000
2014-03-03,0.142000
2015-10-01,0.123500
2023-10-02,0.104000
2014-05-01,0.134500
2018-04-02,0.116000
2011-02-01,0.160000
2015-05-01,0.123000
2022-04-01,0.087000
2025-12-01,0.141000
2007-11-01,0.136500
2008-11-03,0.140000
2013-12-02,0.136000
2022-02-01,0.083000
2025-05-01,0.132000
2016-02-01,0.116000
2021-11-01,0.086000
2025-02-03,0.122000
2009-06-01,0.160500
2017-03-01,0.118000
2021-10-01,0.089000
2023-09-01,0.105000
2011-10-03,0.150000
2014-02-03,0.136500
2014-07-01,0.130500
2019-05-01,0.109000
2021-03-01,0.099000
2024-05-01,0.120000
2025-06-02,0.129000
2013-06-03,0.129500
2014-12-24,0.119500
2024-06-03,0.126000
2025-04-01,0.126000
2009-12-29,0.143500
2010-10-01,0.158000
2014-11-03,0.125000
2022-10-03,0.093000
2009-09-01,0.156000
2012-02-01,0.141000
2019-12-02,0.098000
2020-12-17,0.092000
2025-08-01,0.132000
2010-12-01,0.152500
2015-08-03,0.120000
1 Date Dividends
2 2016-12-22 0.091500
3 2018-03-01 0.119000
4 2022-03-01 0.086000
5 2022-06-01 0.086000
6 2022-11-01 0.091000
7 2023-08-01 0.107000
8 2024-12-02 0.128000
9 2025-10-01 0.139000
10 2010-02-01 0.153000
11 2015-06-01 0.118000
12 2016-06-01 0.112000
13 2010-03-01 0.155500
14 2013-03-01 0.138500
15 2013-07-01 0.132000
16 2015-11-02 0.121500
17 2015-12-01 0.118500
18 2016-04-01 0.111500
19 2020-03-02 0.102000
20 2010-09-01 0.158500
21 2011-12-01 0.147500
22 2012-10-01 0.146500
23 2015-02-02 0.124500
24 2021-09-01 0.083000
25 2025-09-02 0.138000
26 2010-04-01 0.161000
27 2011-11-01 0.147500
28 2022-08-01 0.089000
29 2023-05-01 0.103000
30 2009-07-01 0.159500
31 2013-05-01 0.132000
32 2015-04-01 0.122000
33 2017-08-01 0.108500
34 2020-11-02 0.091000
35 2021-02-01 0.091000
36 2019-12-19 0.093000
37 2020-07-01 0.098000
38 2011-07-01 0.161500
39 2009-03-02 0.159500
40 2013-10-01 0.130500
41 2021-08-02 0.086000
42 2022-07-01 0.091000
43 2024-09-03 0.124000
44 2026-08-03 0.141000
45 2009-10-01 0.159500
46 2026-04-01 0.139000
47 2012-12-26 0.129000
48 2014-04-01 0.135500
49 2018-02-01 0.109000
50 2018-08-01 0.111000
51 2016-07-01 0.115000
52 2016-08-01 0.109500
53 2016-11-01 0.107000
54 2019-09-03 0.101000
55 2024-02-01 0.113000
56 2011-09-01 0.148500
57 2020-08-03 0.094000
58 2023-06-01 0.099000
59 2023-07-03 0.101000
60 2025-11-03 0.137000
61 2017-07-03 0.114000
62 2017-11-01 0.108000
63 2008-02-01 0.159000
64 2014-12-01 0.126500
65 2015-12-24 0.116500
66 2018-07-02 0.114000
67 2018-10-01 0.114000
68 2022-09-01 0.088000
69 2013-12-26 0.136000
70 2019-04-01 0.109000
71 2019-10-01 0.100000
72 2010-07-01 0.157000
73 2017-06-01 0.109000
74 2011-12-27 0.134000
75 2015-07-01 0.120500
76 2017-12-01 0.111000
77 2020-12-01 0.091000
78 2026-02-02 0.135000
79 2008-12-29 0.249000
80 2016-12-01 0.110500
81 2023-02-01 0.096000
82 2009-11-02 0.155500
83 2021-12-16 0.092000
84 2007-12-03 0.160000
85 2014-10-01 0.126500
86 2026-05-01 0.143000
87 2026-07-01 0.141000
88 2008-09-02 0.142500
89 2012-08-01 0.144000
90 2020-04-01 0.100000
91 2019-07-01 0.109000
92 2019-11-01 0.099000
93 2020-06-01 0.096000
94 2023-11-01 0.116000
95 2024-12-18 0.127000
96 2008-04-01 0.161500
97 2018-12-03 0.115000
98 2007-12-27 0.151500
99 2009-08-03 0.163000
100 2013-11-01 0.132000
101 2017-04-03 0.109000
102 2023-03-01 0.107000
103 2024-07-01 0.124000
104 2009-02-02 0.160000
105 2013-09-03 0.132500
106 2016-03-01 0.118000
107 2017-09-01 0.110000
108 2018-11-01 0.119000
109 2011-03-01 0.156500
110 2011-05-02 0.158000
111 2009-05-01 0.159500
112 2011-08-01 0.143500
113 2012-03-01 0.149500
114 2019-06-03 0.110000
115 2025-12-19 0.139000
116 2012-12-03 0.140500
117 2020-09-01 0.094000
118 2024-08-01 0.124000
119 2009-04-01 0.163500
120 2010-12-28 0.147500
121 2021-07-01 0.086000
122 2023-12-01 0.117000
123 2025-03-03 0.132000
124 2009-12-01 0.151500
125 2018-09-04 0.112000
126 2021-12-01 0.086000
127 2024-03-01 0.123000
128 2016-10-03 0.110500
129 2026-03-02 0.141000
130 2011-06-01 0.157000
131 2012-07-02 0.148500
132 2016-05-02 0.115500
133 2016-09-01 0.107500
134 2024-11-01 0.123000
135 2012-05-01 0.146000
136 2019-08-01 0.100000
137 2020-05-01 0.098000
138 2023-12-14 0.120000
139 2024-04-01 0.118000
140 2010-05-03 0.157000
141 2012-09-04 0.148000
142 2021-05-03 0.093000
143 2008-06-02 0.133500
144 2008-10-01 0.157500
145 2010-08-02 0.156500
146 2013-02-01 0.129500
147 2017-02-01 0.111000
148 2019-03-01 0.110000
149 2020-02-03 0.097000
150 2010-11-01 0.154500
151 2024-10-01 0.126000
152 2014-08-01 0.130000
153 2013-08-01 0.131500
154 2022-12-15 0.091000
155 2012-04-02 0.148000
156 2018-06-01 0.110000
157 2018-12-18 0.107000
158 2023-04-03 0.101000
159 2008-03-03 0.145500
160 2008-08-01 0.140500
161 2008-12-01 0.160000
162 2010-06-01 0.155500
163 2014-09-02 0.128000
164 2008-05-01 0.162500
165 2015-09-01 0.120500
166 2017-12-21 0.148000
167 2021-04-01 0.090000
168 2011-04-01 0.157500
169 2013-04-01 0.130500
170 2017-10-02 0.112000
171 2022-12-01 0.096000
172 2015-03-02 0.127500
173 2018-05-01 0.110000
174 2019-02-01 0.112000
175 2008-07-01 0.129500
176 2026-06-01 0.139000
177 2020-10-01 0.097000
178 2025-07-01 0.133000
179 2012-06-01 0.145500
180 2014-06-02 0.132500
181 2017-05-01 0.113000
182 2021-06-01 0.087000
183 2022-05-02 0.087000
184 2014-03-03 0.142000
185 2015-10-01 0.123500
186 2023-10-02 0.104000
187 2014-05-01 0.134500
188 2018-04-02 0.116000
189 2011-02-01 0.160000
190 2015-05-01 0.123000
191 2022-04-01 0.087000
192 2025-12-01 0.141000
193 2007-11-01 0.136500
194 2008-11-03 0.140000
195 2013-12-02 0.136000
196 2022-02-01 0.083000
197 2025-05-01 0.132000
198 2016-02-01 0.116000
199 2021-11-01 0.086000
200 2025-02-03 0.122000
201 2009-06-01 0.160500
202 2017-03-01 0.118000
203 2021-10-01 0.089000
204 2023-09-01 0.105000
205 2011-10-03 0.150000
206 2014-02-03 0.136500
207 2014-07-01 0.130500
208 2019-05-01 0.109000
209 2021-03-01 0.099000
210 2024-05-01 0.120000
211 2025-06-02 0.129000
212 2013-06-03 0.129500
213 2014-12-24 0.119500
214 2024-06-03 0.126000
215 2025-04-01 0.126000
216 2009-12-29 0.143500
217 2010-10-01 0.158000
218 2014-11-03 0.125000
219 2022-10-03 0.093000
220 2009-09-01 0.156000
221 2012-02-01 0.141000
222 2019-12-02 0.098000
223 2020-12-17 0.092000
224 2025-08-01 0.132000
225 2010-12-01 0.152500
226 2015-08-03 0.120000