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.3 KiB
JSON
1 line
6.3 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2105.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1688002200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":8.83,"fiftyTwoWeekHigh":23.35,"fiftyTwoWeekLow":8.46,"regularMarketDayHigh":9.66,"regularMarketDayLow":8.75,"regularMarketVolume":1647500,"longName":"Laekna, Inc.","shortName":"LAEKNA-B","chartPreviousClose":12.44,"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":[1688002200,1688088600,1688347800,1688434200,1688520600,1688607000,1688693400,1688952600,1689039000,1689125400,1689211800,1689298200,1689643800,1689730200,1689816600,1689903000,1690162200,1690248600,1690335000,1690421400,1690507800,1690767000,1690853400,1690939800,1691026200,1691112600,1691371800,1691458200,1691544600,1691631000,1691717400,1691976600,1692063000,1692149400,1692235800,1692322200,1692581400,1692667800,1692754200,1692840600,1692927000,1693186200,1693272600,1693359000,1693445400,1693791000,1693877400,1693963800,1694050200,1694395800,1694482200,1694568600,1694655000,1694741400],"indicators":{"quote":[{"low":[12.420000076293945,14.5,15.399999618530273,14.220000267028809,14.380000114440918,14.720000267028809,14.380000114440918,14.380000114440918,14.319999694824219,14.119999885559082,14.319999694824219,13.699999809265137,13.100000381469727,13.039999961853027,12.960000038146973,12.199999809265137,14.180000305175781,14.520000457763672,14.539999961853027,13.380000114440918,13.0,14.140000343322754,14.239999771118164,14.140000343322754,14.300000190734863,14.5,14.359999656677246,14.119999885559082,16.18000030517578,16.920000076293945,15.84000015258789,16.139999389648438,15.920000076293945,12.520000457763672,13.300000190734863,13.699999809265137,14.380000114440918,15.0,15.399999618530273,15.140000343322754,15.5,15.399999618530273,15.300000190734863,16.479999542236328,16.6200008392334,16.600000381469727,15.65999984741211,13.460000038146973,12.34000015258789,10.880000114440918,11.859999656677246,11.0,10.5,10.319999694824219],"volume":[2822000,3988000,667500,489000,603271,219500,213000,255000,257000,179500,216500,248500,245500,233500,85500,386500,314500,366500,296000,339000,310500,307500,210000,207000,198000,211500,199500,299500,240500,208500,197500,198000,202000,243000,12500,46500,87500,65000,32000,16000,149500,28500,227500,239000,212500,207000,309500,339500,229500,278500,202500,347500,421500,405500],"close":[15.0,16.860000610351562,16.1200008392334,14.600000381469727,16.200000762939453,15.180000305175781,14.9399995803833,14.899999618530273,14.4399995803833,14.739999771118164,14.5,14.0600004196167,14.0,13.720000267028809,12.960000038146973,14.180000305175781,15.0,15.140000343322754,14.539999961853027,13.600000381469727,13.920000076293945,14.460000038146973,14.640000343322754,15.0600004196167,15.100000381469727,15.0,14.65999984741211,16.5,18.0,17.700000762939453,17.5,16.780000686645508,15.920000076293945,14.199999809265137,14.0,14.0,14.920000076293945,16.219999313354492,15.819999694824219,16.0,16.219999313354492,16.360000610351562,16.440000534057617,16.5,17.540000915527344,17.100000381469727,16.040000915527344,14.0,12.5600004196167,11.84000015258789,12.0,11.180000305175781,10.84000015258789,11.399999618530273],"high":[15.399999618530273,16.860000610351562,18.8799991607666,15.880000114440918,16.780000686645508,16.520000457763672,15.300000190734863,14.979999542236328,14.899999618530273,15.239999771118164,14.899999618530273,14.680000305175781,14.5,14.0,13.9399995803833,14.260000228881836,15.100000381469727,15.399999618530273,15.479999542236328,14.979999542236328,14.380000114440918,14.84000015258789,15.100000381469727,15.0600004196167,15.399999618530273,15.100000381469727,15.0,16.5,18.18000030517578,18.0,17.899999618530273,17.479999542236328,17.15999984741211,16.780000686645508,14.579999923706055,14.399999618530273,16.100000381469727,16.559999465942383,16.219999313354492,16.479999542236328,16.420000076293945,16.420000076293945,17.200000762939453,17.84000015258789,18.18000030517578,18.68000030517578,17.65999984741211,17.479999542236328,14.0,12.84000015258789,13.34000015258789,12.4399995803833,12.720000267028809,11.739999771118164],"open":[12.4399995803833,15.100000381469727,17.15999984741211,15.5600004196167,14.5,16.520000457763672,15.300000190734863,14.920000076293945,14.899999618530273,14.380000114440918,14.739999771118164,14.680000305175781,13.800000190734863,13.979999542236328,13.760000228881836,13.100000381469727,14.199999809265137,15.0,15.399999618530273,14.979999542236328,13.600000381469727,14.479999542236328,14.4399995803833,14.640000343322754,15.0,15.100000381469727,15.0,14.420000076293945,16.579999923706055,17.979999542236328,17.899999618530273,16.18000030517578,17.100000381469727,15.859999656677246,13.300000190734863,14.0,14.380000114440918,15.420000076293945,16.219999313354492,15.300000190734863,15.899999618530273,16.420000076293945,15.300000190734863,16.799999237060547,16.6200008392334,18.68000030517578,16.100000381469727,16.059999465942383,13.5600004196167,11.0600004196167,11.859999656677246,12.020000457763672,12.720000267028809,11.119999885559082]}],"adjclose":[{"adjclose":[15.0,16.860000610351562,16.1200008392334,14.600000381469727,16.200000762939453,15.180000305175781,14.9399995803833,14.899999618530273,14.4399995803833,14.739999771118164,14.5,14.0600004196167,14.0,13.720000267028809,12.960000038146973,14.180000305175781,15.0,15.140000343322754,14.539999961853027,13.600000381469727,13.920000076293945,14.460000038146973,14.640000343322754,15.0600004196167,15.100000381469727,15.0,14.65999984741211,16.5,18.0,17.700000762939453,17.5,16.780000686645508,15.920000076293945,14.199999809265137,14.0,14.0,14.920000076293945,16.219999313354492,15.819999694824219,16.0,16.219999313354492,16.360000610351562,16.440000534057617,16.5,17.540000915527344,17.100000381469727,16.040000915527344,14.0,12.5600004196167,11.84000015258789,12.0,11.180000305175781,10.84000015258789,11.399999618530273]}]}}],"error":null}} |