Files
hk-ipo/data/raw/02520/price_history_yahoo_2023-11-19_2024-02-10.json
T
geometrybase 078f56998b Backfill IPO price performance history
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.
2026-06-15 09:16:08 +00:00

1 line
6.7 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2520.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1700616600,"regularMarketTime":1781490796,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":2.08,"fiftyTwoWeekHigh":2.57,"fiftyTwoWeekLow":1.66,"regularMarketDayHigh":2.08,"regularMarketDayLow":2.0,"regularMarketVolume":108000,"longName":"Shanxi Installation Group Co., Ltd.","shortName":"SHANXI INSTALL","chartPreviousClose":2.18,"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":[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,1705973400,1706059800,1706146200,1706232600,1706491800,1706578200,1706664600,1706751000,1706837400,1707096600,1707183000,1707269400,1707355800,1707442200],"indicators":{"quote":[{"open":[2.180000066757202,2.1600000858306885,2.009999990463257,2.0199999809265137,2.009999990463257,2.109999895095825,2.059999942779541,2.2200000286102295,2.190000057220459,2.119999885559082,2.0399999618530273,2.069999933242798,2.069999933242798,2.0799999237060547,2.059999942779541,2.059999942779541,2.0799999237060547,2.130000114440918,2.1600000858306885,2.0,1.690000057220459,1.7999999523162842,1.809999942779541,1.899999976158142,1.899999976158142,2.0799999237060547,2.180000066757202,2.140000104904175,2.0799999237060547,2.180000066757202,2.1500000953674316,2.190000057220459,2.240000009536743,2.450000047683716,2.259999990463257,2.180000066757202,2.2100000381469727,2.0799999237060547,2.0899999141693115,2.0799999237060547,2.0,2.0399999618530273,2.0799999237060547,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0,2.0399999618530273,2.0,1.809999942779541,2.0199999809265137,2.049999952316284,2.180000066757202,2.180000066757202],"high":[2.25,2.1600000858306885,2.0199999809265137,2.0399999618530273,2.130000114440918,2.119999885559082,2.2899999618530273,2.2799999713897705,2.190000057220459,2.119999885559082,2.109999895095825,2.069999933242798,2.069999933242798,2.0899999141693115,2.0799999237060547,2.0799999237060547,2.180000066757202,2.2200000286102295,2.1700000762939453,2.009999990463257,1.7599999904632568,1.8200000524520874,1.8600000143051147,1.899999976158142,2.0999999046325684,2.2300000190734863,2.190000057220459,2.140000104904175,2.180000066757202,2.2799999713897705,2.180000066757202,2.319999933242798,2.5199999809265137,2.450000047683716,2.259999990463257,2.180000066757202,2.2100000381469727,2.0799999237060547,2.0899999141693115,2.0799999237060547,2.0399999618530273,2.0399999618530273,2.0999999046325684,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0,2.0399999618530273,2.0,2.049999952316284,2.059999942779541,2.180000066757202,2.180000066757202,2.180000066757202],"volume":[12720000,2652000,384000,454000,612000,162000,2518000,434000,374000,208000,534000,82000,92000,32000,134000,398000,330000,970000,24000,242000,224000,48000,72000,0,288000,164000,78000,0,4556000,1262000,308000,1354000,6426000,110000,110000,0,0,72000,12000,24000,28000,0,86000,0,0,0,0,0,0,4000,162000,60000,100000,0,0],"low":[2.180000066757202,1.9500000476837158,2.0,2.0,2.009999990463257,2.049999952316284,2.059999942779541,2.1500000953674316,2.0999999046325684,2.109999895095825,2.049999952316284,2.059999942779541,2.059999942779541,2.069999933242798,2.0399999618530273,2.059999942779541,2.0799999237060547,2.130000114440918,2.009999990463257,1.590000033378601,1.6699999570846558,1.7899999618530273,1.7300000190734863,1.899999976158142,1.899999976158142,2.0799999237060547,2.0799999237060547,2.140000104904175,2.0,2.059999942779541,2.1500000953674316,2.119999885559082,2.240000009536743,2.299999952316284,2.1500000953674316,2.180000066757202,2.2100000381469727,2.0299999713897705,2.0799999237060547,2.0399999618530273,2.0,2.0399999618530273,1.899999976158142,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0,2.0399999618530273,2.0,1.809999942779541,2.0199999809265137,2.0799999237060547,2.180000066757202,2.180000066757202],"close":[2.180000066757202,2.0,2.0199999809265137,2.009999990463257,2.109999895095825,2.059999942779541,2.2100000381469727,2.190000057220459,2.119999885559082,2.109999895095825,2.069999933242798,2.059999942779541,2.059999942779541,2.069999933242798,2.049999952316284,2.0799999237060547,2.130000114440918,2.180000066757202,2.009999990463257,1.590000033378601,1.690000057220459,1.7999999523162842,1.8600000143051147,1.899999976158142,2.0799999237060547,2.190000057220459,2.180000066757202,2.140000104904175,2.180000066757202,2.259999990463257,2.180000066757202,2.240000009536743,2.450000047683716,2.319999933242798,2.180000066757202,2.180000066757202,2.2100000381469727,2.0799999237060547,2.0799999237060547,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.069999933242798,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0399999618530273,2.0,2.0399999618530273,2.0,2.049999952316284,2.059999942779541,2.180000066757202,2.180000066757202,2.180000066757202]}],"adjclose":[{"adjclose":[2.1718478202819824,1.992520809173584,2.0124459266662598,2.002483367919922,2.102109432220459,2.0522964000701904,2.201735496520996,2.1818103790283203,2.112071990966797,2.102109432220459,2.0622589588165283,2.0522964000701904,2.0522964000701904,2.0622589588165283,2.0423338413238525,2.072221517562866,2.122034788131714,2.1718478202819824,2.002483367919922,1.5840541124343872,1.6836801767349243,1.7932686805725098,1.8530443906784058,1.8928947448730469,2.072221517562866,2.1818103790283203,2.1718478202819824,2.1319973468780518,2.1718478202819824,2.2515485286712646,2.1718478202819824,2.231623411178589,2.440838098526001,2.311324119567871,2.1718478202819824,2.1718478202819824,2.201735496520996,2.072221517562866,2.072221517562866,2.0323712825775146,2.0323712825775146,2.0323712825775146,2.0622589588165283,2.0323712825775146,2.0323712825775146,2.0323712825775146,2.0323712825775146,1.992520809173584,2.0323712825775146,1.992520809173584,2.0423338413238525,2.0522964000701904,2.1718478202819824,2.1718478202819824,2.1718478202819824]}]}}],"error":null}}