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":"2429.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1698975000,"regularMarketTime":1781510333,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":2.25,"fiftyTwoWeekHigh":4.31,"fiftyTwoWeekLow":1.87,"regularMarketDayHigh":2.31,"regularMarketDayLow":2.12,"regularMarketVolume":288500,"longName":"Beijing UBOX Online Technology Corp.","shortName":"UBOX ONLINE","chartPreviousClose":12.5,"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":[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,1705368600,1705455000,1705541400,1705627800,1705887000],"indicators":{"quote":[{"high":[14.979999542236328,14.579999923706055,15.579999923706055,15.899999618530273,15.199999809265137,12.779999732971191,13.34000015258789,13.0600004196167,13.300000190734863,14.199999809265137,14.899999618530273,15.140000343322754,15.100000381469727,17.979999542236328,17.139999389648438,16.799999237060547,16.920000076293945,16.65999984741211,17.0,16.700000762939453,16.520000457763672,16.520000457763672,16.139999389648438,15.680000305175781,15.119999885559082,15.0,15.399999618530273,16.139999389648438,16.6200008392334,16.299999237060547,15.779999732971191,15.199999809265137,15.65999984741211,16.5,15.920000076293945,15.619999885559082,15.5,15.979999542236328,16.100000381469727,15.600000381469727,15.979999542236328,16.5,16.84000015258789,17.5,17.479999542236328,17.0,16.739999771118164,16.139999389648438,15.880000114440918,16.299999237060547,16.200000762939453,16.020000457763672,16.280000686645508,16.719999313354492],"volume":[4700500,968000,1041500,821000,769000,318500,400000,390500,427500,412500,350150,202500,323000,773350,328000,315000,245000,582500,484000,385500,271000,413500,342000,308500,312000,306500,299500,285500,323500,323000,334000,390500,749500,599500,211000,125500,181000,315500,341000,185500,270500,439500,502500,374000,310000,135000,279500,266500,0,266000,222000,181500,206000,509500],"open":[12.5,14.4399995803833,13.920000076293945,15.260000228881836,14.800000190734863,12.65999984741211,12.739999771118164,12.699999809265137,12.880000114440918,13.220000267028809,13.800000190734863,14.5,14.84000015258789,14.819999694824219,16.719999313354492,15.640000343322754,16.34000015258789,16.65999984741211,16.579999923706055,16.399999618530273,15.920000076293945,16.020000457763672,16.139999389648438,15.319999694824219,15.119999885559082,14.640000343322754,14.399999618530273,14.699999809265137,16.0,16.15999984741211,15.779999732971191,14.600000381469727,14.800000190734863,15.359999656677246,15.5,15.579999923706055,15.5,15.260000228881836,15.960000038146973,15.600000381469727,15.180000305175781,15.960000038146973,16.3799991607666,16.5,16.799999237060547,16.780000686645508,16.579999923706055,16.0,15.880000114440918,15.9399995803833,16.200000762939453,15.520000457763672,15.699999809265137,16.31999969482422],"close":[14.579999923706055,14.0,15.020000457763672,14.800000190734863,12.819999694824219,12.5,12.800000190734863,12.880000114440918,13.220000267028809,14.0600004196167,14.5,14.84000015258789,14.819999694824219,16.68000030517578,15.779999732971191,16.34000015258789,16.579999923706055,16.579999923706055,16.600000381469727,16.299999237060547,16.1200008392334,16.139999389648438,15.319999694824219,15.239999771118164,14.800000190734863,14.399999618530273,14.880000114440918,15.899999618530273,16.040000915527344,15.800000190734863,15.0600004196167,14.739999771118164,15.220000267028809,15.979999542236328,15.819999694824219,15.199999809265137,15.260000228881836,15.960000038146973,15.460000038146973,15.279999732971191,15.739999771118164,16.399999618530273,16.5,16.799999237060547,16.799999237060547,16.440000534057617,16.0,15.880000114440918,15.880000114440918,16.200000762939453,15.819999694824219,15.5,16.100000381469727,16.440000534057617],"low":[12.319999694824219,13.619999885559082,13.779999732971191,14.520000457763672,12.720000267028809,11.84000015258789,12.5,12.579999923706055,12.520000457763672,13.220000267028809,14.0,14.5,14.5,14.819999694824219,15.5,15.600000381469727,16.139999389648438,15.899999618530273,16.1200008392334,16.260000228881836,15.399999618530273,15.819999694824219,15.180000305175781,15.119999885559082,14.5,14.239999771118164,14.359999656677246,14.699999809265137,15.819999694824219,15.479999542236328,14.9399995803833,13.800000190734863,14.800000190734863,15.359999656677246,15.460000038146973,14.779999732971191,14.899999618530273,15.100000381469727,15.300000190734863,14.600000381469727,15.119999885559082,15.399999618530273,15.899999618530273,16.0,16.520000457763672,16.0,15.779999732971191,15.479999542236328,15.880000114440918,15.600000381469727,15.699999809265137,15.300000190734863,15.619999885559082,16.020000457763672]}],"adjclose":[{"adjclose":[14.579999923706055,14.0,15.020000457763672,14.800000190734863,12.819999694824219,12.5,12.800000190734863,12.880000114440918,13.220000267028809,14.0600004196167,14.5,14.84000015258789,14.819999694824219,16.68000030517578,15.779999732971191,16.34000015258789,16.579999923706055,16.579999923706055,16.600000381469727,16.299999237060547,16.1200008392334,16.139999389648438,15.319999694824219,15.239999771118164,14.800000190734863,14.399999618530273,14.880000114440918,15.899999618530273,16.040000915527344,15.800000190734863,15.0600004196167,14.739999771118164,15.220000267028809,15.979999542236328,15.819999694824219,15.199999809265137,15.260000228881836,15.960000038146973,15.460000038146973,15.279999732971191,15.739999771118164,16.399999618530273,16.5,16.799999237060547,16.799999237060547,16.440000534057617,16.0,15.880000114440918,15.880000114440918,16.200000762939453,15.819999694824219,15.5,16.100000381469727,16.440000534057617]}]}}],"error":null}} |