Files
hk-ipo/data/raw/02228/price_history_yahoo_2024-06-10_2024-09-01.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.8 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2228.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1718242200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":6.95,"fiftyTwoWeekHigh":15.12,"fiftyTwoWeekLow":5.27,"regularMarketDayHigh":7.18,"regularMarketDayLow":6.85,"regularMarketVolume":44827372,"longName":"XtalPi Holdings Limited","shortName":"XTALPI","chartPreviousClose":5.39,"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":[1718242200,1718328600,1718587800,1718674200,1718760600,1718847000,1718933400,1719192600,1719279000,1719365400,1719451800,1719538200,1719883800,1719970200,1720056600,1720143000,1720402200,1720488600,1720575000,1720661400,1720747800,1721007000,1721093400,1721179800,1721266200,1721352600,1721611800,1721698200,1721784600,1721871000,1721957400,1722216600,1722303000,1722389400,1722475800,1722562200,1722821400,1722907800,1722994200,1723080600,1723167000,1723426200,1723512600,1723599000,1723685400,1723771800,1724031000,1724117400,1724203800,1724290200,1724376600,1724635800,1724722200,1724808600,1724895000,1724981400],"indicators":{"quote":[{"close":[5.800000190734863,5.400000095367432,5.28000020980835,5.28000020980835,5.300000190734863,5.300000190734863,5.349999904632568,5.349999904632568,5.380000114440918,5.420000076293945,5.300000190734863,5.28000020980835,5.28000020980835,5.289999961853027,5.28000020980835,5.28000020980835,5.369999885559082,5.349999904632568,5.179999828338623,5.260000228881836,5.46999979019165,5.800000190734863,5.75,5.539999961853027,5.769999980926514,5.590000152587891,5.670000076293945,5.809999942779541,5.809999942779541,5.769999980926514,5.809999942779541,5.71999979019165,5.570000171661377,5.099999904632568,5.539999961853027,5.599999904632568,5.489999771118164,5.679999828338623,5.880000114440918,5.840000152587891,5.78000020980835,6.300000190734863,6.25,7.300000190734863,6.440000057220459,6.389999866485596,6.519999980926514,7.0,6.570000171661377,6.360000133514404,6.449999809265137,6.75,6.059999942779541,6.699999809265137,8.149999618530273,8.489999771118164],"volume":[85480400,10236000,7902000,2114000,2057000,3781350,6193600,1220000,2032000,2509000,1063000,8479000,2642000,2003000,6028000,2274000,4889000,1071000,509000,921000,659000,1866000,758000,340000,615000,327000,310000,3084000,3313000,1301000,502000,1335000,3061000,3314000,1795000,1069000,1962000,1265000,3004000,1379000,3331350,4820000,2425000,3036400,4062000,3682000,2099000,4196000,3445210,2621000,3322000,2035110,2932000,2771700,6740579,7618000],"low":[5.309999942779541,5.360000133514404,5.179999828338623,5.28000020980835,5.28000020980835,5.289999961853027,5.28000020980835,5.309999942779541,5.300000190734863,5.329999923706055,5.289999961853027,5.050000190734863,5.190000057220459,5.28000020980835,5.28000020980835,5.269999980926514,4.28000020980835,5.099999904632568,5.099999904632568,5.170000076293945,5.199999809265137,5.360000133514404,5.730000019073486,5.539999961853027,5.46999979019165,5.590000152587891,5.599999904632568,5.599999904632568,5.78000020980835,5.760000228881836,5.769999980926514,5.670000076293945,5.559999942779541,4.960000038146973,5.110000133514404,5.199999809265137,5.260000228881836,5.079999923706055,5.579999923706055,5.75,5.630000114440918,5.78000020980835,5.949999809265137,6.150000095367432,6.199999809265137,5.920000076293945,6.110000133514404,6.380000114440918,6.570000171661377,6.289999961853027,5.989999771118164,6.320000171661377,6.03000020980835,6.139999866485596,6.400000095367432,7.820000171661377],"high":[6.579999923706055,5.940000057220459,5.489999771118164,5.53000020980835,5.380000114440918,5.670000076293945,5.599999904632568,5.440000057220459,5.46999979019165,5.519999980926514,5.440000057220459,5.349999904632568,5.309999942779541,5.360000133514404,5.320000171661377,5.300000190734863,5.449999809265137,5.610000133514404,5.349999904632568,5.480000019073486,5.46999979019165,5.889999866485596,6.0,5.800000190734863,5.849999904632568,5.800000190734863,5.75,5.929999828338623,5.960000038146973,5.869999885559082,5.820000171661377,5.829999923706055,5.760000228881836,5.599999904632568,5.75,5.650000095367432,5.639999866485596,5.679999828338623,6.320000171661377,5.880000114440918,5.840000152587891,6.309999942779541,6.300000190734863,7.300000190734863,7.320000171661377,6.5,6.71999979019165,7.070000171661377,7.260000228881836,6.840000152587891,6.489999771118164,6.900000095367432,6.769999980926514,6.699999809265137,8.149999618530273,9.100000381469727],"open":[5.389999866485596,5.789999961853027,5.449999809265137,5.309999942779541,5.300000190734863,5.309999942779541,5.320000171661377,5.369999885559082,5.349999904632568,5.329999923706055,5.409999847412109,5.300000190734863,5.28000020980835,5.289999961853027,5.289999961853027,5.28000020980835,5.269999980926514,5.369999885559082,5.340000152587891,5.170000076293945,5.199999809265137,5.380000114440918,5.800000190734863,5.699999809265137,5.5,5.800000190734863,5.599999904632568,5.599999904632568,5.809999942779541,5.769999980926514,5.769999980926514,5.829999923706055,5.670000076293945,5.570000171661377,5.179999828338623,5.409999847412109,5.570000171661377,5.449999809265137,5.650000095367432,5.829999923706055,5.769999980926514,5.929999828338623,6.289999961853027,6.21999979019165,7.320000171661377,6.320000171661377,6.579999923706055,6.559999942779541,7.0,6.570000171661377,6.360000133514404,6.320000171661377,6.619999885559082,6.159999847412109,6.429999828338623,8.199999809265137]}],"adjclose":[{"adjclose":[5.800000190734863,5.400000095367432,5.28000020980835,5.28000020980835,5.300000190734863,5.300000190734863,5.349999904632568,5.349999904632568,5.380000114440918,5.420000076293945,5.300000190734863,5.28000020980835,5.28000020980835,5.289999961853027,5.28000020980835,5.28000020980835,5.369999885559082,5.349999904632568,5.179999828338623,5.260000228881836,5.46999979019165,5.800000190734863,5.75,5.539999961853027,5.769999980926514,5.590000152587891,5.670000076293945,5.809999942779541,5.809999942779541,5.769999980926514,5.809999942779541,5.71999979019165,5.570000171661377,5.099999904632568,5.539999961853027,5.599999904632568,5.489999771118164,5.679999828338623,5.880000114440918,5.840000152587891,5.78000020980835,6.300000190734863,6.25,7.300000190734863,6.440000057220459,6.389999866485596,6.519999980926514,7.0,6.570000171661377,6.360000133514404,6.449999809265137,6.75,6.059999942779541,6.699999809265137,8.149999618530273,8.489999771118164]}]}}],"error":null}}