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":"2496.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1695691800,"regularMarketTime":1781160855,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":4.2,"fiftyTwoWeekHigh":8.4,"fiftyTwoWeekLow":3.9,"regularMarketDayHigh":4.2,"regularMarketDayLow":4.2,"regularMarketVolume":1345400,"longName":"Wuhan YZY Biopharma Co., Ltd.","shortName":"YZYBIO-B","chartPreviousClose":16.2,"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":[1695691800,1695778200,1695864600,1695951000,1696296600,1696383000,1696469400,1696555800,1696815000,1696901400,1696987800,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],"indicators":{"quote":[{"open":[16.200000762939453,19.440000534057617,18.260000228881836,15.619999885559082,15.779999732971191,14.300000190734863,15.260000228881836,15.539999961853027,15.760000228881836,15.800000190734863,15.899999618530273,15.640000343322754,15.800000190734863,15.859999656677246,15.680000305175781,15.699999809265137,14.600000381469727,12.0,10.100000381469727,8.90999984741211,8.890000343322754,9.520000457763672,10.020000457763672,11.380000114440918,10.84000015258789,9.800000190734863,11.619999885559082,10.0,9.600000381469727,9.800000190734863,8.920000076293945,8.880000114440918,8.510000228881836,8.25,8.979999542236328,8.859999656677246,8.859999656677246,9.079999923706055,9.0,9.199999809265137,8.899999618530273,8.880000114440918,8.850000381469727,8.460000038146973,8.039999961853027,8.59000015258789,8.600000381469727,8.380000114440918,8.300000190734863,8.40999984741211,8.420000076293945,8.199999809265137,8.649999618530273,8.630000114440918,8.630000114440918,8.619999885559082],"low":[16.1200008392334,18.260000228881836,14.960000038146973,15.279999732971191,14.600000381469727,14.300000190734863,15.0,15.300000190734863,15.739999771118164,15.760000228881836,15.699999809265137,15.619999885559082,15.800000190734863,15.699999809265137,15.680000305175781,14.880000114440918,12.600000381469727,10.300000190734863,8.770000457763672,8.220000267028809,8.890000343322754,9.520000457763672,10.020000457763672,10.260000228881836,10.579999923706055,9.680000305175781,9.760000228881836,9.649999618530273,9.600000381469727,9.5,8.920000076293945,8.479999542236328,8.489999771118164,8.020000457763672,8.850000381469727,8.859999656677246,8.859999656677246,9.460000038146973,9.0,8.699999809265137,8.899999618530273,8.550000190734863,8.850000381469727,8.460000038146973,8.039999961853027,8.550000190734863,8.100000381469727,8.380000114440918,8.300000190734863,8.109999656677246,8.420000076293945,8.199999809265137,8.640000343322754,8.630000114440918,8.630000114440918,8.100000381469727],"close":[19.440000534057617,18.31999969482422,16.0,15.800000190734863,15.0,15.279999732971191,15.539999961853027,16.0,15.9399995803833,15.899999618530273,15.899999618530273,15.800000190734863,15.859999656677246,15.84000015258789,15.760000228881836,14.880000114440918,12.600000381469727,10.800000190734863,8.920000076293945,8.9399995803833,9.539999961853027,10.0,11.380000114440918,10.84000015258789,10.5,11.0,10.0,9.699999809265137,9.800000190734863,9.510000228881836,9.0,8.5,8.489999771118164,8.800000190734863,8.850000381469727,8.859999656677246,9.020000457763672,9.3100004196167,9.199999809265137,8.859999656677246,8.899999618530273,8.800000190734863,8.800000190734863,8.800000190734863,8.600000381469727,8.600000381469727,8.3100004196167,8.380000114440918,8.420000076293945,8.420000076293945,8.420000076293945,8.880000114440918,8.630000114440918,8.630000114440918,8.630000114440918,8.619999885559082],"volume":[953400,456000,401000,179600,250800,86400,15800,50400,15200,24800,40000,73000,41600,42400,18000,39200,36200,64600,34800,24400,2600,1200,6000,2600,6000,16800,4600,7000,7200,2000,7600,3600,9400,11400,11000,2400,12400,10200,1400,23800,0,7000,1000,4000,10000,12400,1000,0,6400,2000,0,5600,2200,200,200,10400],"high":[19.700000762939453,19.799999237060547,18.280000686645508,16.0,15.779999732971191,15.479999542236328,15.539999961853027,16.0,16.200000762939453,16.0,15.899999618530273,15.800000190734863,15.859999656677246,15.859999656677246,15.760000228881836,15.960000038146973,14.600000381469727,12.0,10.380000114440918,9.020000457763672,9.539999961853027,10.0,11.399999618530273,11.380000114440918,10.84000015258789,11.760000228881836,11.619999885559082,10.0,9.989999771118164,9.800000190734863,9.010000228881836,8.880000114440918,8.5,8.800000190734863,8.979999542236328,8.859999656677246,9.020000457763672,10.0,9.199999809265137,9.199999809265137,8.899999618530273,8.880000114440918,8.850000381469727,8.800000190734863,8.600000381469727,8.600000381469727,8.600000381469727,8.380000114440918,8.420000076293945,8.420000076293945,8.420000076293945,8.420000076293945,8.649999618530273,8.630000114440918,8.630000114440918,8.619999885559082]}],"adjclose":[{"adjclose":[19.440000534057617,18.31999969482422,16.0,15.800000190734863,15.0,15.279999732971191,15.539999961853027,16.0,15.9399995803833,15.899999618530273,15.899999618530273,15.800000190734863,15.859999656677246,15.84000015258789,15.760000228881836,14.880000114440918,12.600000381469727,10.800000190734863,8.920000076293945,8.9399995803833,9.539999961853027,10.0,11.380000114440918,10.84000015258789,10.5,11.0,10.0,9.699999809265137,9.800000190734863,9.510000228881836,9.0,8.5,8.489999771118164,8.800000190734863,8.850000381469727,8.859999656677246,9.020000457763672,9.3100004196167,9.199999809265137,8.859999656677246,8.899999618530273,8.800000190734863,8.800000190734863,8.800000190734863,8.600000381469727,8.600000381469727,8.3100004196167,8.380000114440918,8.420000076293945,8.420000076293945,8.420000076293945,8.880000114440918,8.630000114440918,8.630000114440918,8.630000114440918,8.619999885559082]}]}}],"error":null}} |