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.7 KiB
JSON
1 line
6.7 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2438.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1713922200,"regularMarketTime":1781510035,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":0.305,"fiftyTwoWeekHigh":1.04,"fiftyTwoWeekLow":0.285,"regularMarketDayHigh":0.31,"regularMarketDayLow":0.295,"regularMarketVolume":1369000,"longName":"Mobvoi Inc.","shortName":"MOBVOI","chartPreviousClose":2.98,"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":[1713922200,1714008600,1714095000,1714354200,1714440600,1714613400,1714699800,1714959000,1715045400,1715131800,1715218200,1715304600,1715563800,1715650200,1715823000,1715909400,1716168600,1716255000,1716341400,1716427800,1716514200,1716773400,1716859800,1716946200,1717032600,1717119000,1717378200,1717464600,1717551000,1717637400,1717723800,1718069400,1718155800,1718242200,1718328600,1718587800,1718674200,1718760600,1718847000,1718933400,1719192600,1719279000,1719365400,1719451800,1719538200,1719883800,1719970200,1720056600,1720143000,1720402200,1720488600,1720575000,1720661400,1720747800],"indicators":{"quote":[{"open":[2.9800000190734863,3.680000066757202,3.359999895095825,3.390000104904175,3.7699999809265137,3.7899999618530273,3.950000047683716,4.28000020980835,4.059999942779541,4.0,3.640000104904175,3.700000047683716,3.5199999809265137,3.9600000381469727,3.8399999141693115,3.819999933242798,3.6500000953674316,3.680000066757202,3.5999999046325684,3.680000066757202,3.569999933242798,3.5999999046325684,3.5799999237060547,3.619999885559082,3.5999999046325684,3.690000057220459,3.569999933242798,3.309999942779541,3.059999942779541,2.559999942779541,2.3399999141693115,2.5199999809265137,2.380000114440918,2.1600000858306885,2.25,2.200000047683716,2.180000066757202,2.490000009536743,2.75,2.5999999046325684,2.509999990463257,2.2300000190734863,2.200000047683716,2.240000009536743,2.0199999809265137,2.0199999809265137,1.9800000190734863,2.009999990463257,1.9900000095367432,1.850000023841858,1.7899999618530273,1.8200000524520874,1.850000023841858,1.7599999904632568],"high":[3.759999990463257,3.990000009536743,3.5899999141693115,3.7799999713897705,3.819999933242798,3.9100000858306885,4.380000114440918,4.28000020980835,4.170000076293945,4.119999885559082,3.7699999809265137,3.7799999713897705,3.819999933242798,4.099999904632568,3.9000000953674316,3.819999933242798,3.7699999809265137,3.700000047683716,3.7300000190734863,3.75,3.6600000858306885,3.6500000953674316,3.700000047683716,3.6700000762939453,3.630000114440918,3.690000057220459,3.640000104904175,3.359999895095825,3.059999942779541,2.680000066757202,2.5199999809265137,2.5999999046325684,2.4100000858306885,2.2899999618530273,2.319999933242798,2.2100000381469727,2.380000114440918,2.7300000190734863,2.819999933242798,2.6500000953674316,2.509999990463257,2.299999952316284,2.299999952316284,2.240000009536743,2.119999885559082,2.0999999046325684,2.049999952316284,2.059999942779541,1.9900000095367432,1.8799999952316284,1.899999976158142,1.840000033378601,1.850000023841858,1.7799999713897705],"close":[3.680000066757202,3.359999895095825,3.390000104904175,3.7200000286102295,3.799999952316284,3.8499999046325684,4.239999771118164,4.059999942779541,4.019999980926514,3.6700000762939453,3.700000047683716,3.5299999713897705,3.809999942779541,3.8399999141693115,3.809999942779541,3.630000114440918,3.690000057220459,3.569999933242798,3.680000066757202,3.5999999046325684,3.5999999046325684,3.5999999046325684,3.630000114440918,3.5899999141693115,3.549999952316284,3.569999933242798,3.359999895095825,3.0,2.549999952316284,2.359999895095825,2.4700000286102295,2.380000114440918,2.180000066757202,2.2699999809265137,2.200000047683716,2.140000104904175,2.3399999141693115,2.7200000286102295,2.5799999237060547,2.5,2.299999952316284,2.2100000381469727,2.240000009536743,2.0899999141693115,2.0199999809265137,1.9800000190734863,1.9900000095367432,1.9800000190734863,1.8899999856948853,1.7899999618530273,1.8200000524520874,1.7400000095367432,1.75,1.7400000095367432],"volume":[61942500,30611000,8207400,10104000,11010000,9224000,29911387,4980000,3553000,6845000,2557000,4648000,6513235,10178500,6621400,3584000,2554000,2127000,1744000,2322000,1719000,2150000,1707000,1054000,2163000,3569000,2491600,5363000,7034000,5791000,3444066,1424000,1883000,3199397,1008000,1157315,2528000,6530000,3121000,6653020,2404575,1024000,1234000,1430000,1415000,999000,801000,715000,572000,970890,264000,1086000,351205,416000],"low":[2.9800000190734863,3.319999933242798,3.309999942779541,3.390000104904175,3.5799999237060547,3.7200000286102295,3.859999895095825,4.059999942779541,3.9200000762939453,3.640000104904175,3.5399999618530273,3.4800000190734863,3.450000047683716,3.799999952316284,3.6500000953674316,3.630000114440918,3.5999999046325684,3.569999933242798,3.5799999237060547,3.5999999046325684,3.5299999713897705,3.559999942779541,3.549999952316284,3.549999952316284,3.5199999809265137,3.5299999713897705,3.25,2.9600000381469727,2.430000066757202,2.2100000381469727,2.25,2.3299999237060547,2.180000066757202,2.0199999809265137,2.190000057220459,2.069999933242798,2.0999999046325684,2.380000114440918,2.5299999713897705,2.4600000381469727,2.1500000953674316,2.200000047683716,2.1500000953674316,2.0799999237060547,2.009999990463257,1.9199999570846558,1.9500000476837158,1.9199999570846558,1.8700000047683716,1.7000000476837158,1.7799999713897705,1.7200000286102295,1.7200000286102295,1.7400000095367432]}],"adjclose":[{"adjclose":[3.680000066757202,3.359999895095825,3.390000104904175,3.7200000286102295,3.799999952316284,3.8499999046325684,4.239999771118164,4.059999942779541,4.019999980926514,3.6700000762939453,3.700000047683716,3.5299999713897705,3.809999942779541,3.8399999141693115,3.809999942779541,3.630000114440918,3.690000057220459,3.569999933242798,3.680000066757202,3.5999999046325684,3.5999999046325684,3.5999999046325684,3.630000114440918,3.5899999141693115,3.549999952316284,3.569999933242798,3.359999895095825,3.0,2.549999952316284,2.359999895095825,2.4700000286102295,2.380000114440918,2.180000066757202,2.2699999809265137,2.200000047683716,2.140000104904175,2.3399999141693115,2.7200000286102295,2.5799999237060547,2.5,2.299999952316284,2.2100000381469727,2.240000009536743,2.0899999141693115,2.0199999809265137,1.9800000190734863,1.9900000095367432,1.9800000190734863,1.8899999856948853,1.7899999618530273,1.8200000524520874,1.7400000095367432,1.75,1.7400000095367432]}]}}],"error":null}} |