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":"1641.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1768267800,"regularMarketTime":1781501314,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":5.51,"fiftyTwoWeekHigh":19.7,"fiftyTwoWeekLow":5.23,"regularMarketDayHigh":5.51,"regularMarketDayLow":5.47,"regularMarketVolume":5000,"shortName":"HX COLDCHAIN","chartPreviousClose":19.58,"priceHint":3,"currentTradingPeriod":{"pre":{"timezone":"HKT","start":1781485200,"end":1781487000,"gmtoffset":28800},"regular":{"timezone":"HKT","start":1781487000,"end":1781511000,"gmtoffset":28800},"post":{"timezone":"HKT","start":1781511000,"end":1781511000,"gmtoffset":28800}},"dataGranularity":"1d","range":"","validRanges":["1d","5d","1mo","3mo","6mo","ytd","max"]},"timestamp":[1768267800,1768354200,1768440600,1768527000,1768786200,1768872600,1768959000,1769045400,1769131800,1769391000,1769477400,1769563800,1769650200,1769736600,1769995800,1770082200,1770168600,1770255000,1770341400,1770600600,1770687000,1770773400,1770859800,1770946200,1771205400,1771551000,1771810200,1771896600,1771983000,1772069400,1772155800,1772415000,1772501400,1772587800,1772674200,1772760600,1773019800,1773106200,1773192600,1773279000,1773365400,1773624600,1773711000,1773797400,1773883800,1773970200,1774229400,1774315800,1774402200,1774488600,1774575000,1774834200,1774920600,1775007000,1775093400],"indicators":{"quote":[{"volume":[13868000,2259100,417000,304000,404500,449500,677000,544000,2177140,471000,193500,306000,118540,137000,158000,118500,121900,131500,133500,58000,43000,59500,42000,128500,0,79500,89500,1207500,64500,38000,100000,263500,117000,90500,137000,94500,43000,38500,40000,37500,24500,795000,48000,36500,56500,136000,107000,84000,117500,19000,39000,79000,75000,47500,21500],"close":[12.300000190734863,12.880000114440918,11.84000015258789,11.199999809265137,10.550000190734863,9.960000038146973,9.239999771118164,8.619999885559082,10.289999961853027,9.420000076293945,9.130000114440918,9.579999923706055,9.279999732971191,9.359999656677246,9.0,9.079999923706055,8.630000114440918,8.420000076293945,8.220000267028809,8.399999618530273,8.479999542236328,8.520000457763672,8.359999656677246,8.239999771118164,8.100000381469727,8.239999771118164,8.710000038146973,8.100000381469727,8.180000305175781,8.069999694824219,7.880000114440918,8.0,7.510000228881836,7.190000057220459,7.980000019073486,8.0,7.650000095367432,7.670000076293945,7.429999828338623,7.349999904632568,7.340000152587891,7.230000019073486,7.239999771118164,7.199999809265137,7.03000020980835,6.900000095367432,6.570000171661377,6.730000019073486,7.150000095367432,6.820000171661377,6.980000019073486,6.730000019073486,6.5,6.570000171661377,6.559999942779541],"high":[19.700000762939453,13.0,12.699999809265137,11.84000015258789,11.109999656677246,10.550000190734863,9.960000038146973,9.239999771118164,10.470000267028809,10.680000305175781,9.420000076293945,10.010000228881836,9.579999923706055,9.449999809265137,9.359999656677246,9.079999923706055,8.850000381469727,8.600000381469727,8.399999618530273,8.40999984741211,8.5,8.649999618530273,8.5,8.359999656677246,8.100000381469727,8.25,8.739999771118164,8.710000038146973,8.25,8.170000076293945,8.069999694824219,8.0,8.199999809265137,7.5,8.0,8.0,7.679999828338623,7.670000076293945,7.619999885559082,7.429999828338623,7.590000152587891,7.340000152587891,7.360000133514404,7.269999980926514,7.139999866485596,6.940000057220459,6.909999847412109,6.889999866485596,7.510000228881836,7.150000095367432,6.980000019073486,6.949999809265137,6.71999979019165,6.670000076293945,6.590000152587891],"low":[12.0,10.550000190734863,11.760000228881836,11.199999809265137,10.550000190734863,9.899999618530273,9.119999885559082,8.600000381469727,8.079999923706055,9.399999618530273,8.880000114440918,8.989999771118164,9.239999771118164,9.149999618530273,8.800000190734863,8.800000190734863,8.630000114440918,8.40999984741211,8.1899995803833,8.25,8.380000114440918,8.479999542236328,8.3100004196167,8.020000457763672,8.100000381469727,8.020000457763672,8.149999618530273,8.029999732971191,8.180000305175781,8.0600004196167,7.860000133514404,7.28000020980835,7.510000228881836,7.190000057220459,7.210000038146973,7.389999866485596,7.519999980926514,7.53000020980835,7.429999828338623,7.269999980926514,7.340000152587891,7.199999809265137,7.230000019073486,7.179999828338623,6.980000019073486,6.769999980926514,6.409999847412109,6.5,6.989999771118164,6.809999942779541,6.809999942779541,6.550000190734863,6.429999828338623,6.5,6.489999771118164],"open":[19.579999923706055,13.0,12.699999809265137,11.84000015258789,11.109999656677246,10.550000190734863,9.9399995803833,9.239999771118164,8.550000190734863,10.430000305175781,9.420000076293945,9.09000015258789,9.579999923706055,9.279999732971191,9.359999656677246,8.8100004196167,8.850000381469727,8.600000381469727,8.399999618530273,8.399999618530273,8.399999618530273,8.5,8.5,8.300000190734863,8.100000381469727,8.100000381469727,8.149999618530273,8.710000038146973,8.229999542236328,8.170000076293945,8.069999694824219,7.690000057220459,8.0,7.5,7.369999885559082,7.800000190734863,7.519999980926514,7.650000095367432,7.599999904632568,7.429999828338623,7.349999904632568,7.340000152587891,7.230000019073486,7.260000228881836,7.199999809265137,6.860000133514404,6.909999847412109,6.579999923706055,7.099999904632568,7.150000095367432,6.820000171661377,6.800000190734863,6.71999979019165,6.5,6.579999923706055]}],"adjclose":[{"adjclose":[12.300000190734863,12.880000114440918,11.84000015258789,11.199999809265137,10.550000190734863,9.960000038146973,9.239999771118164,8.619999885559082,10.289999961853027,9.420000076293945,9.130000114440918,9.579999923706055,9.279999732971191,9.359999656677246,9.0,9.079999923706055,8.630000114440918,8.420000076293945,8.220000267028809,8.399999618530273,8.479999542236328,8.520000457763672,8.359999656677246,8.239999771118164,8.100000381469727,8.239999771118164,8.710000038146973,8.100000381469727,8.180000305175781,8.069999694824219,7.880000114440918,8.0,7.510000228881836,7.190000057220459,7.980000019073486,8.0,7.650000095367432,7.670000076293945,7.429999828338623,7.349999904632568,7.340000152587891,7.230000019073486,7.239999771118164,7.199999809265137,7.03000020980835,6.900000095367432,6.570000171661377,6.730000019073486,7.150000095367432,6.820000171661377,6.980000019073486,6.730000019073486,6.5,6.570000171661377,6.559999942779541]}]}}],"error":null}} |