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.6 KiB
JSON
1 line
6.6 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2625.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1743384600,"regularMarketTime":1781510104,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":2.35,"fiftyTwoWeekHigh":8.86,"fiftyTwoWeekLow":2.04,"regularMarketDayHigh":2.35,"regularMarketDayLow":2.31,"regularMarketVolume":26000,"longName":"Jiangsu Horizon Chain Supermarket Company Limited","shortName":"JIANGSU HORIZON","chartPreviousClose":3.44,"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","ytd","max"]},"timestamp":[1743384600,1743471000,1743557400,1743643800,1743989400,1744075800,1744162200,1744248600,1744335000,1744594200,1744680600,1744767000,1744853400,1745285400,1745371800,1745458200,1745544600,1745803800,1745890200,1745976600,1746149400,1746495000,1746581400,1746667800,1746754200,1747013400,1747099800,1747186200,1747272600,1747359000,1747618200,1747704600,1747791000,1747877400,1747963800,1748223000,1748309400,1748395800,1748482200,1748568600,1748827800,1748914200,1749000600,1749087000,1749173400,1749432600,1749519000,1749605400,1749691800,1749778200,1750037400,1750123800,1750210200,1750296600],"indicators":{"quote":[{"open":[3.440000057220459,2.549999952316284,2.450000047683716,2.5,2.319999933242798,2.2699999809265137,2.119999885559082,2.119999885559082,2.490000009536743,2.509999990463257,2.5199999809265137,2.5,2.4800000190734863,2.549999952316284,2.549999952316284,2.5299999713897705,2.5,2.450000047683716,2.7100000381469727,2.680000066757202,2.8499999046325684,3.309999942779541,3.3399999141693115,3.0199999809265137,3.259999990463257,3.3299999237060547,3.1600000858306885,3.0999999046325684,3.0799999237060547,3.130000114440918,3.1600000858306885,3.2899999618530273,3.1700000762939453,3.069999933242798,3.049999952316284,3.069999933242798,3.059999942779541,3.1500000953674316,3.0799999237060547,3.0399999618530273,3.130000114440918,3.049999952316284,3.049999952316284,3.0299999713897705,3.0299999713897705,3.0399999618530273,3.2200000286102295,3.190000057220459,3.1700000762939453,3.049999952316284,3.0199999809265137,3.0,2.930000066757202,2.9000000953674316],"high":[3.6500000953674316,2.5899999141693115,2.5399999618530273,2.549999952316284,2.380000114440918,2.299999952316284,2.190000057220459,2.609999895095825,2.75,2.5999999046325684,2.5199999809265137,2.5,2.549999952316284,2.5799999237060547,2.5899999141693115,2.559999942779541,2.509999990463257,3.0,2.869999885559082,2.799999952316284,3.2799999713897705,3.5799999237060547,3.369999885559082,3.4000000953674316,3.4200000762939453,3.3299999237060547,3.1600000858306885,3.3499999046325684,3.2300000190734863,3.299999952316284,3.2899999618530273,3.4000000953674316,3.2300000190734863,3.119999885559082,3.0799999237060547,3.1700000762939453,3.180000066757202,3.1500000953674316,3.0799999237060547,3.130000114440918,3.130000114440918,3.130000114440918,3.0999999046325684,3.0899999141693115,3.0899999141693115,3.2899999618530273,3.2699999809265137,3.190000057220459,3.1700000762939453,3.0899999141693115,3.0399999618530273,3.0,2.940000057220459,2.950000047683716],"close":[2.5,2.4000000953674316,2.5,2.450000047683716,2.2699999809265137,2.140000104904175,2.119999885559082,2.5,2.509999990463257,2.5199999809265137,2.509999990463257,2.4800000190734863,2.549999952316284,2.549999952316284,2.5299999713897705,2.509999990463257,2.450000047683716,2.7100000381469727,2.680000066757202,2.7899999618530273,3.2699999809265137,3.3399999141693115,3.1600000858306885,3.3499999046325684,3.3299999237060547,3.2200000286102295,3.059999942779541,3.0799999237060547,3.1600000858306885,3.2100000381469727,3.2799999713897705,3.259999990463257,3.0999999046325684,3.119999885559082,3.069999933242798,3.1500000953674316,3.1500000953674316,3.0399999618530273,3.0799999237060547,3.130000114440918,3.049999952316284,3.0399999618530273,3.0299999713897705,3.0899999141693115,3.0799999237060547,3.200000047683716,3.200000047683716,3.1700000762939453,3.130000114440918,3.069999933242798,3.0399999618530273,2.930000066757202,2.9100000858306885,2.8499999046325684],"volume":[27790000,4067000,1315000,1112000,3680280,823000,363780,1002000,741000,585000,552000,362000,278000,298000,1123000,161000,137000,8957000,1416000,1765000,5291600,1674000,448000,2615000,2120000,1732000,581000,886000,338000,270000,193000,599000,237000,317000,57000,398000,64000,43000,127000,33000,1746000,93000,139000,131000,1210000,275000,110000,129000,29000,202000,249000,1306000,95000,423000],"low":[2.390000104904175,2.3499999046325684,2.4200000762939453,2.430000066757202,2.0899999141693115,2.140000104904175,2.0,2.119999885559082,2.450000047683716,2.490000009536743,2.4100000858306885,2.440000057220459,2.430000066757202,2.5,2.5,2.5,2.450000047683716,2.4100000858306885,2.640000104904175,2.680000066757202,2.7899999618530273,3.1500000953674316,3.109999895095825,3.0199999809265137,3.259999990463257,3.190000057220459,3.0,2.930000066757202,3.0299999713897705,3.119999885559082,3.1500000953674316,3.25,3.0399999618530273,3.0199999809265137,3.0399999618530273,3.049999952316284,3.059999942779541,3.0399999618530273,3.0199999809265137,3.0399999618530273,3.009999990463257,3.0299999713897705,3.009999990463257,3.0299999713897705,3.0,3.0299999713897705,3.130000114440918,3.069999933242798,3.059999942779541,3.0199999809265137,3.0,2.75,2.880000114440918,2.8399999141693115]}],"adjclose":[{"adjclose":[2.5,2.4000000953674316,2.5,2.450000047683716,2.2699999809265137,2.140000104904175,2.119999885559082,2.5,2.509999990463257,2.5199999809265137,2.509999990463257,2.4800000190734863,2.549999952316284,2.549999952316284,2.5299999713897705,2.509999990463257,2.450000047683716,2.7100000381469727,2.680000066757202,2.7899999618530273,3.2699999809265137,3.3399999141693115,3.1600000858306885,3.3499999046325684,3.3299999237060547,3.2200000286102295,3.059999942779541,3.0799999237060547,3.1600000858306885,3.2100000381469727,3.2799999713897705,3.259999990463257,3.0999999046325684,3.119999885559082,3.069999933242798,3.1500000953674316,3.1500000953674316,3.0399999618530273,3.0799999237060547,3.130000114440918,3.049999952316284,3.0399999618530273,3.0299999713897705,3.0899999141693115,3.0799999237060547,3.200000047683716,3.200000047683716,3.1700000762939453,3.130000114440918,3.069999933242798,3.0399999618530273,2.930000066757202,2.9100000858306885,2.8499999046325684]}]}}],"error":null}} |