Files
hk-ipo/data/raw/02540/price_history_yahoo_2024-03-05_2024-05-27.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.5 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2540.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1709861400,"regularMarketTime":1781508956,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":0.89,"fiftyTwoWeekHigh":1.7,"fiftyTwoWeekLow":0.73,"regularMarketDayHigh":0.9,"regularMarketDayLow":0.86,"regularMarketVolume":270000,"longName":"Lesi Group Limited","shortName":"LESI GROUP","chartPreviousClose":0.9,"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":[1709861400,1710120600,1710207000,1710293400,1710379800,1710466200,1710725400,1710811800,1710898200,1710984600,1711071000,1711330200,1711416600,1711503000,1711589400,1712021400,1712107800,1712280600,1712539800,1712626200,1712712600,1712799000,1712885400,1713144600,1713231000,1713317400,1713403800,1713490200,1713749400,1713835800,1713922200,1714008600,1714095000,1714354200,1714440600,1714613400,1714699800,1714959000,1715045400,1715131800,1715218200,1715304600,1715563800,1715650200,1715823000,1715909400,1716168600,1716255000,1716341400,1716427800,1716514200,1716773400],"indicators":{"quote":[{"open":[0.8999999761581421,1.4800000190734863,2.5999999046325684,2.7699999809265137,2.680000066757202,2.9800000190734863,2.950000047683716,2.759999990463257,2.8299999237060547,2.819999933242798,2.809999942779541,3.190000057220459,4.96999979019165,5.599999904632568,6.489999771118164,6.300000190734863,3.7799999713897705,4.059999942779541,3.9200000762939453,3.5999999046325684,3.2799999713897705,3.490000009536743,3.509999990463257,3.549999952316284,3.799999952316284,3.619999885559082,3.5299999713897705,3.4600000381469727,3.359999895095825,3.4800000190734863,3.6500000953674316,3.5199999809265137,3.549999952316284,3.4600000381469727,2.740000009536743,2.75,2.6500000953674316,2.609999895095825,2.309999942779541,2.2899999618530273,2.1600000858306885,2.200000047683716,2.2899999618530273,2.049999952316284,1.8700000047683716,1.7999999523162842,1.809999942779541,1.690000057220459,1.6399999856948853,1.5199999809265137,1.5,1.2999999523162842],"high":[1.600000023841858,2.640000104904175,3.390000104904175,3.0,3.049999952316284,2.9800000190734863,2.9700000286102295,2.9200000762939453,2.9000000953674316,2.9100000858306885,3.299999952316284,4.809999942779541,5.739999771118164,6.659999847412109,7.28000020980835,6.300000190734863,4.800000190734863,4.119999885559082,4.079999923706055,3.6600000858306885,4.099999904632568,3.700000047683716,3.5799999237060547,4.019999980926514,3.799999952316284,3.799999952316284,3.609999895095825,3.4600000381469727,3.490000009536743,3.700000047683716,3.680000066757202,3.640000104904175,3.6700000762939453,3.4600000381469727,3.049999952316284,2.75,2.8499999046325684,2.799999952316284,2.430000066757202,2.2899999618530273,2.4000000953674316,2.4000000953674316,2.2899999618530273,2.259999990463257,2.069999933242798,1.8799999952316284,1.9500000476837158,1.7300000190734863,1.7300000190734863,1.5499999523162842,1.5399999618530273,1.350000023841858],"close":[1.5,2.5,2.7799999713897705,2.680000066757202,2.940000057220459,2.930000066757202,2.7799999713897705,2.8299999237060547,2.819999933242798,2.8399999141693115,3.0799999237060547,4.800000190734863,5.599999904632568,6.489999771118164,6.889999866485596,3.880000114440918,4.059999942779541,3.9200000762939453,3.7200000286102295,3.430000066757202,3.6600000858306885,3.509999990463257,3.549999952316284,3.799999952316284,3.700000047683716,3.5899999141693115,3.4600000381469727,3.3499999046325684,3.490000009536743,3.6500000953674316,3.5199999809265137,3.509999990463257,3.4600000381469727,2.819999933242798,2.7200000286102295,2.640000104904175,2.609999895095825,2.309999942779541,2.190000057220459,2.200000047683716,2.2699999809265137,2.2899999618530273,2.1500000953674316,1.8899999856948853,1.8300000429153442,1.850000023841858,1.7300000190734863,1.6399999856948853,1.5199999809265137,1.5,1.340000033378601,1.350000023841858],"volume":[65740000,30392500,23952200,5364500,4385000,4732000,4712500,1168500,1467500,2682500,4264500,7375000,6917500,5330000,2720200,5647500,2672500,1030000,1867500,1105000,1107500,1102500,267500,887498,875000,327500,405000,280000,395000,142500,552500,1415000,2682500,2307500,1850000,3417500,1642500,1815000,1840000,1445000,1152500,4665000,497500,2795000,1415000,1522500,1242500,1247500,3557500,3682500,2875000,392500],"low":[0.8999999761581421,1.4299999475479126,2.0,2.549999952316284,2.6700000762939453,2.6500000953674316,2.690000057220459,2.700000047683716,2.740000009536743,2.75,2.7799999713897705,3.130000114440918,4.570000171661377,5.190000057220459,6.300000190734863,3.619999885559082,3.509999990463257,3.8399999141693115,3.190000057220459,3.359999895095825,3.2799999713897705,3.4000000953674316,3.450000047683716,3.5299999713897705,3.4700000286102295,3.5299999713897705,3.4000000953674316,3.3499999046325684,3.359999895095825,3.380000114440918,3.490000009536743,3.430000066757202,3.25,2.700000047683716,2.7200000286102295,2.200000047683716,2.5199999809265137,2.259999990463257,2.190000057220459,2.0799999237060547,2.1600000858306885,2.190000057220459,2.140000104904175,1.7799999713897705,1.7999999523162842,1.6399999856948853,1.7300000190734863,1.6200000047683716,1.440000057220459,1.2999999523162842,1.2799999713897705,1.2999999523162842]}],"adjclose":[{"adjclose":[1.5,2.5,2.7799999713897705,2.680000066757202,2.940000057220459,2.930000066757202,2.7799999713897705,2.8299999237060547,2.819999933242798,2.8399999141693115,3.0799999237060547,4.800000190734863,5.599999904632568,6.489999771118164,6.889999866485596,3.880000114440918,4.059999942779541,3.9200000762939453,3.7200000286102295,3.430000066757202,3.6600000858306885,3.509999990463257,3.549999952316284,3.799999952316284,3.700000047683716,3.5899999141693115,3.4600000381469727,3.3499999046325684,3.490000009536743,3.6500000953674316,3.5199999809265137,3.509999990463257,3.4600000381469727,2.819999933242798,2.7200000286102295,2.640000104904175,2.609999895095825,2.309999942779541,2.190000057220459,2.200000047683716,2.2699999809265137,2.2899999618530273,2.1500000953674316,1.8899999856948853,1.8300000429153442,1.850000023841858,1.7300000190734863,1.6399999856948853,1.5199999809265137,1.5,1.340000033378601,1.350000023841858]}]}}],"error":null}}