078f56998b
Request:
- Adjust archivist after the audit findings and update historical data.
Changes:
- Teach the archivist skill to close audit-discovered gaps in priority order.
- Add scripts/archive_price_performance.py for due D1/D5/D20/D60 price-performance backfills.
- Document the price-performance backfill command in README.
- Archive raw Yahoo Finance chart responses under repo-relative data/raw/{ticker}/ paths.
- Populate price_performance with D1/D5/D20/D60 checkpoints and refresh source_refs, sync_runs, sync_tasks, and ticker_sync_state snapshots.
Execution:
- Ran .venv/bin/python scripts/archive_price_performance.py --as-of 2026-06-15T10:00:00Z.
- Selected 291 due price-performance tickers.
- Archived 273 price-history sources and wrote 1063 price-performance rows.
- Re-ran .venv/bin/python scripts/archive_hkex_documents.py --as-of 2026-06-15T10:05:00Z for the remaining open T0/T1 tasks; no additional completed T0/T1 stages resulted.
Verification:
- Compiled the new price-performance script.
- Ran git diff --check.
- Checked SQLite integrity and foreign keys.
- Confirmed database row counts match CSV snapshots.
- Verified all 979 source_refs use valid repo-relative paths, have files, have hashes, and SHA256 hashes match.
- Confirmed no generated Python caches or SQLite transient files remain.
Next useful context:
- price_performance now has 1063 rows: D1 273, D5 272, D20 267, D60 251.
- Remaining due price-performance gaps are 18 tickers where Yahoo history was unavailable or the request failed.
- T0/T1 gaps remain at T0 93 and T1 77; T2 grey-market remains unresolved pending a reproducible source strategy.
1 line
6.4 KiB
JSON
1 line
6.4 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2536.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1711416600,"regularMarketTime":1781241943,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":1.17,"fiftyTwoWeekHigh":2.93,"fiftyTwoWeekLow":0.84,"regularMarketDayHigh":1.19,"regularMarketDayLow":1.17,"regularMarketVolume":11000,"longName":"Palasino Holdings Limited","shortName":"PALASINO","chartPreviousClose":2.75,"priceHint":3,"currentTradingPeriod":{"pre":{"timezone":"HKT","end":1781487000,"start":1781485200,"gmtoffset":28800},"regular":{"timezone":"HKT","end":1781511000,"start":1781487000,"gmtoffset":28800},"post":{"timezone":"HKT","end":1781511000,"start":1781511000,"gmtoffset":28800}},"dataGranularity":"1d","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1711416600,1711503000,1711589400,1712021400,1712107800,1712280600,1712539800,1712626200,1712712600,1712799000,1712885400,1713144600,1713231000,1713317400,1713403800,1713490200,1713749400,1713835800,1713922200,1714008600,1714095000,1714354200,1714440600,1714613400,1714699800,1714959000,1715045400,1715131800,1715218200,1715304600,1715563800,1715650200,1715823000,1715909400,1716168600,1716255000,1716341400,1716427800,1716514200,1716773400,1716859800,1716946200,1717032600,1717119000,1717378200,1717464600,1717551000,1717637400,1717723800,1718069400,1718155800,1718242200,1718328600],"indicators":{"quote":[{"low":[2.7300000190734863,3.0999999046325684,3.299999952316284,5.03000020980835,4.980000019073486,5.269999980926514,4.840000152587891,4.78000020980835,4.900000095367432,5.130000114440918,5.139999866485596,5.110000133514404,5.139999866485596,5.199999809265137,4.909999847412109,4.929999828338623,4.940000057220459,5.039999961853027,5.059999942779541,5.079999923706055,5.199999809265137,5.110000133514404,5.309999942779541,5.230000019073486,5.400000095367432,5.889999866485596,6.0,5.900000095367432,6.019999980926514,5.800000190734863,5.940000057220459,6.119999885559082,6.159999847412109,6.170000076293945,6.28000020980835,6.420000076293945,6.559999942779541,6.360000133514404,6.489999771118164,6.150000095367432,6.050000190734863,6.079999923706055,6.190000057220459,5.809999942779541,5.980000019073486,6.019999980926514,5.989999771118164,5.960000038146973,5.659999847412109,5.730000019073486,5.869999885559082,5.960000038146973,5.949999809265137],"close":[3.0,4.5,5.210000038146973,5.210000038146973,5.289999961853027,5.5,5.019999980926514,5.0,5.369999885559082,5.25,5.25,5.28000020980835,5.269999980926514,5.260000228881836,5.190000057220459,4.949999809265137,5.099999904632568,5.170000076293945,5.199999809265137,5.28000020980835,5.21999979019165,5.510000228881836,5.309999942779541,5.46999979019165,6.070000171661377,6.400000095367432,6.119999885559082,6.130000114440918,6.099999904632568,5.96999979019165,6.159999847412109,6.320000171661377,6.199999809265137,6.5,6.610000133514404,6.989999771118164,6.610000133514404,6.71999979019165,6.619999885559082,6.199999809265137,6.260000228881836,6.349999904632568,6.230000019073486,5.980000019073486,6.090000152587891,6.019999980926514,6.050000190734863,5.989999771118164,5.710000038146973,5.900000095367432,6.050000190734863,5.980000019073486,6.010000228881836],"volume":[50437218,28658479,45335527,15526694,14677400,15322570,12718000,10387874,9938000,8750000,7939000,6634000,5911000,6096000,8393000,6721764,8230000,6514000,7941955,5935000,6266000,5391000,10833000,6152000,8455000,8159010,6716000,5217800,2169000,3162000,3043000,2612202,2192000,2009181,1413000,1317850,1590000,1297000,1281120,2016000,1610000,6787000,1283000,1675800,1114000,1289000,924000,5820000,2763000,1766000,1518000,633000,1752000],"open":[2.75,3.0999999046325684,4.300000190734863,5.309999942779541,5.210000038146973,5.349999904632568,5.510000228881836,5.050000190734863,5.0,5.5,5.269999980926514,5.239999771118164,5.210000038146973,5.25,5.25,5.190000057220459,4.96999979019165,5.090000152587891,5.170000076293945,5.150000095367432,5.28000020980835,5.25,5.5,5.309999942779541,5.460000038146973,6.199999809265137,6.489999771118164,6.070000171661377,6.119999885559082,6.0,5.980000019073486,6.159999847412109,6.300000190734863,6.199999809265137,6.5,6.420000076293945,7.150000095367432,6.610000133514404,6.489999771118164,6.619999885559082,6.130000114440918,6.170000076293945,6.349999904632568,6.190000057220459,6.090000152587891,6.03000020980835,5.989999771118164,6.0,5.989999771118164,5.730000019073486,5.900000095367432,6.070000171661377,6.0],"high":[3.319999933242798,4.610000133514404,6.300000190734863,6.0,5.449999809265137,5.880000114440918,5.610000133514404,5.21999979019165,5.5,5.5,5.349999904632568,5.460000038146973,5.300000190734863,5.389999866485596,5.340000152587891,5.25,5.340000152587891,5.25,5.329999923706055,5.349999904632568,5.360000133514404,5.800000190734863,5.679999828338623,5.559999942779541,6.139999866485596,6.449999809265137,6.590000152587891,6.239999771118164,6.269999980926514,6.090000152587891,6.210000038146973,6.400000095367432,6.420000076293945,6.800000190734863,6.690000057220459,7.170000076293945,7.190000057220459,6.860000133514404,6.800000190734863,6.619999885559082,6.380000114440918,6.539999961853027,6.389999866485596,6.46999979019165,6.150000095367432,6.150000095367432,6.150000095367432,6.099999904632568,5.989999771118164,6.079999923706055,6.110000133514404,6.139999866485596,6.090000152587891]}],"adjclose":[{"adjclose":[2.9634454250335693,4.4451680183410645,5.146516799926758,5.146516799926758,5.225542068481445,5.4329833984375,4.958831787109375,4.939075469970703,5.304567337036133,5.186029434204102,5.186029434204102,5.215664386749268,5.205785751342773,5.195908069610596,5.126760482788086,4.889684677124023,5.0378570556640625,5.107004165649414,5.136638641357422,5.215664386749268,5.156394958496094,5.442861557006836,5.245298385620117,5.403348445892334,5.99603796005249,6.322017192840576,6.04542875289917,6.055306911468506,6.025672435760498,5.897256374359131,6.0849409103393555,6.242991924285889,6.124453544616699,6.420798301696777,6.529458045959473,6.90482759475708,6.529458045959473,6.63811731338501,6.539336204528809,6.124453544616699,6.183722972869873,6.272625923156738,6.154088497161865,5.907134532928467,6.015794277191162,5.9466471672058105,5.976281642913818,5.917012691497803,5.640424728393555,5.828109264373779,5.976281642913818,5.907134532928467,5.936769008636475]}]}}],"error":null}} |