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":"1519.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1698370200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":9.1,"fiftyTwoWeekHigh":12.2,"fiftyTwoWeekLow":6.51,"regularMarketDayHigh":9.12,"regularMarketDayLow":8.48,"regularMarketVolume":55003075,"longName":"J&T Global Express Limited","shortName":"J&T EXPRESS-W","chartPreviousClose":12.0,"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":[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,1704159000,1704245400,1704331800,1704418200,1704677400,1704763800,1704850200,1704936600,1705023000,1705282200],"indicators":{"quote":[{"close":[12.0,12.0,11.859999656677246,12.0,12.579999923706055,12.399999618530273,12.399999618530273,12.380000114440918,12.300000190734863,12.140000343322754,12.0,12.0,12.0,12.0,12.0,11.600000381469727,11.5600004196167,11.399999618530273,11.539999961853027,11.960000038146973,12.0600004196167,11.859999656677246,11.760000228881836,11.979999542236328,12.800000190734863,13.979999542236328,13.199999809265137,13.0600004196167,12.979999542236328,13.100000381469727,13.119999885559082,13.380000114440918,14.0,14.239999771118164,13.079999923706055,13.739999771118164,13.600000381469727,13.899999618530273,14.399999618530273,15.0,14.859999656677246,15.119999885559082,15.800000190734863,15.819999694824219,15.579999923706055,16.100000381469727,16.360000610351562,14.920000076293945,15.279999732971191,15.640000343322754,15.5,15.699999809265137,16.040000915527344,16.040000915527344],"high":[12.199999809265137,12.0,12.0,12.0,12.600000381469727,12.800000190734863,12.539999961853027,12.399999618530273,12.579999923706055,12.399999618530273,12.199999809265137,12.020000457763672,12.020000457763672,12.0,12.079999923706055,12.0,11.720000267028809,11.600000381469727,11.800000190734863,11.979999542236328,12.180000305175781,12.15999984741211,12.039999961853027,12.079999923706055,12.899999618530273,14.039999961853027,13.960000038146973,13.300000190734863,13.279999732971191,13.239999771118164,13.199999809265137,13.4399995803833,14.0600004196167,14.680000305175781,14.460000038146973,13.880000114440918,13.9399995803833,13.979999542236328,14.460000038146973,15.180000305175781,15.199999809265137,15.140000343322754,15.899999618530273,16.15999984741211,15.880000114440918,16.200000762939453,16.360000610351562,16.540000915527344,15.460000038146973,15.680000305175781,15.739999771118164,15.760000228881836,16.059999465942383,16.040000915527344],"volume":[21003699,4884200,2782600,2932400,5395200,4447200,4620800,4520800,4601400,4552400,5276800,6423200,11438800,15013400,12178200,5653600,3119000,2067200,2368400,4464400,3024600,2221800,2465000,2804600,5078900,6253800,4493400,4489600,4489400,4660601,3277200,4586600,4866400,5236500,5484600,6184650,2375600,2534600,2902600,4332900,2609800,2852300,3151000,4586100,4730200,4712439,4764600,5090200,3044400,4574800,1868600,2184000,2369000,0],"open":[12.0,12.0,12.0,11.800000190734863,11.979999542236328,12.699999809265137,12.34000015258789,12.399999618530273,12.300000190734863,12.300000190734863,12.0,12.0,12.0,12.0,12.0,12.0,11.5,11.579999923706055,11.100000381469727,11.579999923706055,11.960000038146973,12.0600004196167,11.899999618530273,11.800000190734863,11.979999542236328,12.800000190734863,13.899999618530273,13.199999809265137,13.0600004196167,12.920000076293945,13.039999961853027,13.079999923706055,13.300000190734863,13.979999542236328,14.239999771118164,13.079999923706055,13.800000190734863,13.520000457763672,13.899999618530273,14.220000267028809,15.0,14.699999809265137,14.9399995803833,15.800000190734863,15.600000381469727,15.579999923706055,16.100000381469727,16.299999237060547,14.920000076293945,15.279999732971191,15.640000343322754,15.5,15.699999809265137,16.040000915527344],"low":[11.800000190734863,11.819999694824219,11.859999656677246,11.800000190734863,11.9399995803833,12.220000267028809,12.079999923706055,12.119999885559082,12.220000267028809,11.800000190734863,11.960000038146973,11.899999618530273,11.699999809265137,11.779999732971191,11.880000114440918,11.579999923706055,11.300000190734863,10.979999542236328,11.100000381469727,10.720000267028809,11.399999618530273,11.819999694824219,11.680000305175781,11.680000305175781,11.880000114440918,12.800000190734863,12.9399995803833,12.800000190734863,12.819999694824219,12.619999885559082,12.819999694824219,12.779999732971191,13.300000190734863,13.979999542236328,12.9399995803833,12.84000015258789,13.34000015258789,13.279999732971191,13.819999694824219,14.100000381469727,14.539999961853027,14.5,14.880000114440918,15.600000381469727,15.300000190734863,15.4399995803833,15.899999618530273,14.819999694824219,14.720000267028809,15.039999961853027,15.399999618530273,15.359999656677246,15.65999984741211,16.040000915527344]}],"adjclose":[{"adjclose":[12.0,12.0,11.859999656677246,12.0,12.579999923706055,12.399999618530273,12.399999618530273,12.380000114440918,12.300000190734863,12.140000343322754,12.0,12.0,12.0,12.0,12.0,11.600000381469727,11.5600004196167,11.399999618530273,11.539999961853027,11.960000038146973,12.0600004196167,11.859999656677246,11.760000228881836,11.979999542236328,12.800000190734863,13.979999542236328,13.199999809265137,13.0600004196167,12.979999542236328,13.100000381469727,13.119999885559082,13.380000114440918,14.0,14.239999771118164,13.079999923706055,13.739999771118164,13.600000381469727,13.899999618530273,14.399999618530273,15.0,14.859999656677246,15.119999885559082,15.800000190734863,15.819999694824219,15.579999923706055,16.100000381469727,16.360000610351562,14.920000076293945,15.279999732971191,15.640000343322754,15.5,15.699999809265137,16.040000915527344,16.040000915527344]}]}}],"error":null}} |