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.5 KiB
JSON
1 line
6.5 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2451.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1697074200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":9.12,"fiftyTwoWeekHigh":16.83,"fiftyTwoWeekLow":7.72,"regularMarketDayHigh":9.46,"regularMarketDayLow":9.12,"regularMarketVolume":76500,"longName":"Luyuan Group Holding (Cayman) Limited","shortName":"LUYUAN GP HLDG","chartPreviousClose":7.34,"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","1y","2y","5y","ytd","max"]},"timestamp":[1697074200,1697160600,1697419800,1697506200,1697592600,1697679000,1697765400,1698111000,1698197400,1698283800,1698370200,1698629400,1698715800,1698802200,1698888600,1698975000,1699234200,1699320600,1699407000,1699493400,1699579800,1699839000,1699925400,1700011800,1700098200,1700184600,1700443800,1700530200,1700616600,1700703000,1700789400,1701048600,1701135000,1701221400,1701307800,1701394200,1701653400,1701739800,1701826200,1701912600,1701999000,1702258200,1702344600,1702431000,1702517400,1702603800,1702863000,1702949400,1703035800,1703122200,1703208600,1703640600,1703727000,1703813400],"indicators":{"quote":[{"open":[7.340000152587891,7.389999866485596,7.53000020980835,7.449999809265137,7.449999809265137,7.380000114440918,7.21999979019165,7.019999980926514,7.489999771118164,7.400000095367432,7.269999980926514,7.179999828338623,6.960000038146973,6.400000095367432,6.579999923706055,6.320000171661377,6.679999828338623,7.050000190734863,7.0,7.340000152587891,7.210000038146973,7.260000228881836,7.440000057220459,7.28000020980835,7.260000228881836,7.159999847412109,7.269999980926514,7.269999980926514,7.159999847412109,7.190000057220459,7.239999771118164,7.010000228881836,7.199999809265137,7.070000171661377,6.880000114440918,6.980000019073486,7.320000171661377,7.570000171661377,7.21999979019165,7.25,7.400000095367432,7.300000190734863,7.400000095367432,7.329999923706055,7.25,7.360000133514404,7.300000190734863,7.340000152587891,7.199999809265137,7.199999809265137,7.309999942779541,7.340000152587891,7.260000228881836,7.199999809265137],"volume":[9701000,1516000,1082000,539000,152500,222000,264000,793500,282000,151000,57500,120500,352500,140000,212500,109500,511000,357000,910000,364500,238000,436000,115000,56500,92500,35000,66500,77500,12000,107000,74500,68000,107500,188500,60000,498500,842000,285000,48500,181000,301500,116500,158000,53000,34500,65500,97000,111000,253000,116500,224500,292000,492000,954500],"close":[7.440000057220459,7.519999980926514,7.429999828338623,7.449999809265137,7.380000114440918,7.25,7.079999923706055,7.409999847412109,7.440000057220459,7.369999885559082,7.239999771118164,7.0,6.400000095367432,6.610000133514404,6.360000133514404,6.46999979019165,7.0,7.099999904632568,7.340000152587891,7.269999980926514,7.300000190734863,7.409999847412109,7.300000190734863,7.260000228881836,7.269999980926514,7.269999980926514,7.179999828338623,7.199999809265137,7.190000057220459,7.239999771118164,7.130000114440918,7.199999809265137,7.099999904632568,6.860000133514404,7.0,7.320000171661377,7.550000190734863,7.400000095367432,7.25,7.369999885559082,7.369999885559082,7.429999828338623,7.329999923706055,7.300000190734863,7.360000133514404,7.329999923706055,7.340000152587891,7.349999904632568,7.329999923706055,7.090000152587891,7.300000190734863,7.25,7.329999923706055,7.360000133514404],"high":[8.050000190734863,7.699999809265137,7.75,7.599999904632568,7.449999809265137,7.380000114440918,7.269999980926514,7.800000190734863,7.579999923706055,7.489999771118164,7.329999923706055,7.179999828338623,6.980000019073486,6.800000190734863,6.579999923706055,6.699999809265137,7.119999885559082,7.170000076293945,7.489999771118164,7.360000133514404,7.369999885559082,7.519999980926514,7.449999809265137,7.28000020980835,7.369999885559082,7.269999980926514,7.269999980926514,7.369999885559082,7.199999809265137,7.420000076293945,7.239999771118164,7.199999809265137,7.199999809265137,7.199999809265137,7.0,7.369999885559082,7.679999828338623,7.570000171661377,7.420000076293945,7.53000020980835,7.489999771118164,7.429999828338623,7.480000019073486,7.360000133514404,7.389999866485596,7.400000095367432,7.369999885559082,7.389999866485596,7.340000152587891,7.300000190734863,7.349999904632568,7.400000095367432,7.420000076293945,7.400000095367432],"low":[7.210000038146973,7.349999904632568,7.239999771118164,7.099999904632568,7.380000114440918,7.170000076293945,7.010000228881836,7.010000228881836,7.400000095367432,7.230000019073486,7.159999847412109,6.940000057220459,6.400000095367432,6.400000095367432,6.260000228881836,6.199999809265137,6.659999847412109,7.0,7.0,7.03000020980835,7.199999809265137,7.260000228881836,7.300000190734863,7.199999809265137,7.079999923706055,7.159999847412109,7.079999923706055,7.130000114440918,7.159999847412109,7.170000076293945,7.130000114440918,6.989999771118164,7.0,6.849999904632568,6.860000133514404,6.900000095367432,7.199999809265137,7.25,7.21999979019165,7.25,7.349999904632568,7.300000190734863,7.300000190734863,7.300000190734863,7.21999979019165,7.210000038146973,7.289999961853027,7.199999809265137,7.010000228881836,7.019999980926514,6.880000114440918,7.170000076293945,7.150000095367432,7.199999809265137]}],"adjclose":[{"adjclose":[7.296000003814697,7.374451637268066,7.286193370819092,7.305806636810303,7.237161636352539,7.109677314758301,6.942967891693115,7.266580581665039,7.296000003814697,7.227355003356934,7.099870681762695,6.864516258239746,6.276129245758057,6.482064723968506,6.236903667449951,6.34477424621582,6.864516258239746,6.962580680847168,7.197935581207275,7.129290580749512,7.15871000289917,7.266580581665039,7.15871000289917,7.1194844245910645,7.129290580749512,7.129290580749512,7.041032314300537,7.06064510345459,7.050838947296143,7.099870681762695,6.992000102996826,7.06064510345459,6.962580680847168,6.727226257324219,6.864516258239746,7.178322792053223,7.403871059417725,7.256774425506592,7.109677314758301,7.227355003356934,7.227355003356934,7.286193370819092,7.18812894821167,7.15871000289917,7.217548847198486,7.18812894821167,7.197935581207275,7.207742214202881,7.18812894821167,6.952774524688721,7.15871000289917,7.109677314758301,7.18812894821167,7.217548847198486]}]}}],"error":null}} |