Some dump files carry a trailing 'ctime' column: an older pipeline appended a FULL re-download of the symbol per download (up to ~28 vintages per date, 2019-2022). The consumer keeps the last row per date, so it silently used stale (~2021) vintages where Yahoo later revised values. scripts/clean_multivintage.py keeps, per date, the rows from the newest ctime (event files keep distinct same-day amounts; history/split keep the single newest row), drops the ctime column, sorts by date. Applied to the data root and overrides/frozen (which carried the same artifact): 1,065 files, 2,202,712 stale rows dropped. Also: stripped 3 UTF-8 BOMs (teg/lo/krft), refreshed the event backup with the cleaned files, and re-ran the double-listing scan: category C (83 symbols, 18,636 repeated within-file rows) is fully explained by the multi-vintage artifact and is now gone; A (6,589 pairs, corrected) and B (12,366 pairs, open review list) are unchanged. Whole-set structural QC after cleaning: 0 duplicate dates, 3 syms/15 rows of OHLC invariant violations, 15 syms/2,897 rows of non-positive prices (mostly long-delisted tickers), 8 unsorted files (reader sorts).
1.9 KiB
1.9 KiB
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2008-03-12 | 0.113 |
| 3 | 2008-04-11 | 0.113 |
| 4 | 2008-05-13 | 0.113 |
| 5 | 2008-06-12 | 0.113 |
| 6 | 2008-07-11 | 0.113 |
| 7 | 2008-08-13 | 0.113 |
| 8 | 2008-09-11 | 0.113 |
| 9 | 2008-10-10 | 0.113 |
| 10 | 2008-11-12 | 0.113 |
| 11 | 2008-12-11 | 0.113 |
| 12 | 2008-12-29 | 0.113 |
| 13 | 2009-02-11 | 0.113 |
| 14 | 2009-03-12 | 0.083 |
| 15 | 2009-04-13 | 0.083 |
| 16 | 2009-05-13 | 0.083 |
| 17 | 2009-06-11 | 0.06 |
| 18 | 2009-07-13 | 0.06 |
| 19 | 2009-08-12 | 0.06 |
| 20 | 2009-09-11 | 0.06 |
| 21 | 2009-10-13 | 0.06 |
| 22 | 2009-11-10 | 0.06 |
| 23 | 2009-12-11 | 0.054 |
| 24 | 2009-12-29 | 0.054 |
| 25 | 2010-02-10 | 0.054 |
| 26 | 2010-03-11 | 0.054 |
| 27 | 2010-04-13 | 0.054 |
| 28 | 2010-05-12 | 0.054 |
| 29 | 2010-06-11 | 0.064 |
| 30 | 2010-07-13 | 0.064 |
| 31 | 2010-08-12 | 0.064 |
| 32 | 2010-09-13 | 0.066 |
| 33 | 2010-10-13 | 0.066 |
| 34 | 2010-11-10 | 0.066 |
| 35 | 2010-12-13 | 0.066 |
| 36 | 2010-12-29 | 0.066 |
| 37 | 2011-02-11 | 0.066 |
| 38 | 2011-03-11 | 0.066 |
| 39 | 2011-04-13 | 0.066 |
| 40 | 2011-05-12 | 0.066 |
| 41 | 2011-06-13 | 0.066 |
| 42 | 2011-07-13 | 0.066 |
| 43 | 2011-08-11 | 0.066 |
| 44 | 2011-09-13 | 0.066 |
| 45 | 2011-10-12 | 0.066 |
| 46 | 2011-11-10 | 0.066 |
| 47 | 2011-12-12 | 0.066 |
| 48 | 2011-12-28 | 0.066 |
| 49 | 2012-02-13 | 0.066 |
| 50 | 2012-03-13 | 0.066 |
| 51 | 2012-04-12 | 0.066 |
| 52 | 2012-05-11 | 0.066 |
| 53 | 2012-06-13 | 0.069 |
| 54 | 2012-07-12 | 0.069 |
| 55 | 2012-08-13 | 0.069 |
| 56 | 2012-09-12 | 0.069 |
| 57 | 2012-10-11 | 0.069 |
| 58 | 2012-11-13 | 0.069 |
| 59 | 2012-12-12 | 0.069 |
| 60 | 2012-12-27 | 0.097 |
| 61 | 2013-02-13 | 0.069 |
| 62 | 2013-03-13 | 0.069 |
| 63 | 2013-04-11 | 0.069 |
| 64 | 2013-05-13 | 0.069 |
| 65 | 2013-06-12 | 0.069 |
| 66 | 2013-07-11 | 0.066 |
| 67 | 2013-08-13 | 0.066 |
| 68 | 2013-09-12 | 0.066 |
| 69 | 2013-10-11 | 0.066 |
| 70 | 2013-11-13 | 0.066 |
| 71 | 2013-12-11 | 0.066 |
| 72 | 2013-12-27 | 0.141 |
| 73 | 2014-02-12 | 0.066 |
| 74 | 2014-03-12 | 0.061 |
| 75 | 2014-04-11 | 0.061 |
| 76 | 2014-05-13 | 0.061 |
| 77 | 2014-06-12 | 0.061 |
| 78 | 2014-07-11 | 0.061 |
| 79 | 2014-08-13 | 0.061 |
| 80 | 2014-09-11 | 0.061 |
| 81 | 2014-10-10 | 0.058 |
| 82 | 2014-11-12 | 0.058 |
| 83 | 2014-12-10 | 0.058 |
| 84 | 2014-12-29 | 0.258 |
| 85 | 2015-02-11 | 0.058 |
| 86 | 2015-03-11 | 0.058 |
| 87 | 2015-04-13 | 0.058 |
| 88 | 2015-05-13 | 0.058 |
| 89 | 2015-06-11 | 0.058 |
| 90 | 2015-07-13 | 0.058 |
| 91 | 2015-08-12 | 0.058 |
| 92 | 2015-09-11 | 0.058 |
| 93 | 2015-10-13 | 0.051 |
| 94 | 2015-11-12 | 0.051 |
| 95 | 2015-12-10 | 0.051 |
| 96 | 2015-12-29 | 0.073 |
| 97 | 2016-02-11 | 0.051 |
| 98 | 2016-03-11 | 0.051 |
| 99 | 2016-04-13 | 0.051 |
| 100 | 2016-05-12 | 0.051 |
| 101 | 2016-06-13 | 0.051 |
| 102 | 2016-07-13 | 0.051 |
| 103 | 2016-08-11 | 0.051 |
| 104 | 2016-09-13 | 0.051 |
| 105 | 2016-10-12 | 0.051 |
| 106 | 2016-11-10 | 0.051 |
| 107 | 2016-12-08 | 0.051 |
| 108 | 2016-12-28 | 0.117 |
| 109 | 2017-02-13 | 0.051 |
| 110 | 2017-03-13 | 0.051 |
| 111 | 2017-04-11 | 0.051 |
| 112 | 2017-05-11 | 0.051 |
| 113 | 2017-06-13 | 0.051 |
| 114 | 2017-06-29 | 3.8 |
| 115 | 2017-07-12 | 1.171 |