Files
hk-ipo/data/raw/02149/price_history_yahoo_2023-12-25_2024-03-17.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.0 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2149.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1703727000,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":35.0,"fiftyTwoWeekHigh":73.55,"fiftyTwoWeekLow":29.52,"regularMarketDayHigh":35.5,"regularMarketDayLow":33.04,"regularMarketVolume":143300,"longName":"BaTeLab Co., Ltd.","shortName":"BATELAB","chartPreviousClose":25.05,"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":[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,1707874200,1707960600,1708047000,1708306200,1708392600,1708479000,1708565400,1708651800,1708911000,1708997400,1709083800,1709170200,1709256600,1709515800,1709602200,1709688600,1709775000,1709861400,1710120600,1710207000,1710293400,1710379800,1710466200],"indicators":{"quote":[{"open":[25.049999237060547,22.700000762939453,25.0,26.600000381469727,26.700000762939453,25.5,25.549999237060547,23.399999618530273,24.0,24.200000762939453,23.600000381469727,23.5,22.850000381469727,22.049999237060547,19.600000381469727,19.979999542236328,19.799999237060547,19.799999237060547,20.200000762939453,20.399999618530273,20.100000381469727,20.299999237060547,19.600000381469727,19.780000686645508,19.739999771118164,20.950000762939453,20.5,19.760000228881836,19.799999237060547,19.979999542236328,20.149999618530273,19.8799991607666,20.0,20.0,20.0,19.399999618530273,19.860000610351562,19.760000228881836,19.360000610351562,19.639999389648438,19.799999237060547,19.360000610351562,19.600000381469727,19.600000381469727,19.979999542236328,20.899999618530273,19.860000610351562,20.350000381469727,24.75,23.399999618530273,22.850000381469727,22.950000762939453,23.0,22.5],"low":[21.899999618530273,22.700000762939453,25.0,26.0,25.450000762939453,25.049999237060547,23.049999237060547,21.149999618530273,22.950000762939453,23.549999237060547,23.200000762939453,23.5,21.5,19.600000381469727,19.600000381469727,19.399999618530273,18.15999984741211,19.719999313354492,19.260000228881836,19.0,19.979999542236328,19.5,19.600000381469727,19.020000457763672,19.5,19.399999618530273,19.31999969482422,19.200000762939453,19.5,19.6200008392334,20.149999618530273,19.700000762939453,19.700000762939453,19.540000915527344,19.700000762939453,19.399999618530273,19.360000610351562,19.299999237060547,19.360000610351562,19.420000076293945,19.200000762939453,19.360000610351562,19.200000762939453,19.540000915527344,19.700000762939453,19.81999969482422,19.860000610351562,20.25,23.0,21.799999237060547,22.5,22.5,21.799999237060547,22.299999237060547],"volume":[1734000,276600,251600,102800,115300,33700,99600,215500,24100,20300,56000,0,33600,110000,20800,27800,26300,27600,14400,35400,39800,144000,1800,7598,6200,20500,3200,7400,20300,14500,0,5900,5100,6200,3400,2000,9000,3600,20200,27500,35400,23700,16500,32900,58100,14000,75700,406600,80300,72500,24200,30300,15800,13200],"high":[27.25,25.0,27.0,27.100000381469727,26.700000762939453,26.100000381469727,25.75,24.200000762939453,24.25,24.399999618530273,24.200000762939453,23.5,22.850000381469727,22.049999237060547,20.0,20.25,19.8799991607666,20.5,20.399999618530273,20.950000762939453,20.850000381469727,20.600000381469727,20.149999618530273,19.979999542236328,19.959999084472656,19.979999542236328,20.5,19.899999618530273,19.979999542236328,20.0,20.149999618530273,20.0,20.0,20.0,20.0,19.8799991607666,19.860000610351562,19.760000228881836,19.739999771118164,19.8799991607666,19.8799991607666,19.799999237060547,19.6200008392334,19.940000534057617,20.950000762939453,20.899999618530273,20.600000381469727,27.950000762939453,26.0,24.899999618530273,23.799999237060547,23.799999237060547,23.0,23.649999618530273],"close":[22.700000762939453,25.0,26.600000381469727,26.350000381469727,25.5,25.100000381469727,23.399999618530273,24.0,23.600000381469727,23.899999618530273,23.600000381469727,23.5,22.049999237060547,19.600000381469727,19.959999084472656,19.799999237060547,19.8799991607666,20.25,20.399999618530273,20.899999618530273,20.299999237060547,20.399999618530273,20.100000381469727,19.979999542236328,19.959999084472656,19.899999618530273,19.760000228881836,19.899999618530273,19.979999542236328,20.0,20.149999618530273,20.0,19.760000228881836,20.0,19.899999618530273,19.8799991607666,19.68000030517578,19.700000762939453,19.65999984741211,19.799999237060547,19.600000381469727,19.719999313354492,19.540000915527344,19.700000762939453,19.780000686645508,19.860000610351562,20.100000381469727,24.75,23.399999618530273,23.5,22.950000762939453,23.0,22.25,23.649999618530273]}],"adjclose":[{"adjclose":[22.700000762939453,25.0,26.600000381469727,26.350000381469727,25.5,25.100000381469727,23.399999618530273,24.0,23.600000381469727,23.899999618530273,23.600000381469727,23.5,22.049999237060547,19.600000381469727,19.959999084472656,19.799999237060547,19.8799991607666,20.25,20.399999618530273,20.899999618530273,20.299999237060547,20.399999618530273,20.100000381469727,19.979999542236328,19.959999084472656,19.899999618530273,19.760000228881836,19.899999618530273,19.979999542236328,20.0,20.149999618530273,20.0,19.760000228881836,20.0,19.899999618530273,19.8799991607666,19.68000030517578,19.700000762939453,19.65999984741211,19.799999237060547,19.600000381469727,19.719999313354492,19.540000915527344,19.700000762939453,19.780000686645508,19.860000610351562,20.100000381469727,24.75,23.399999618530273,23.5,22.950000762939453,23.0,22.25,23.649999618530273]}]}}],"error":null}}