Files
hk-ipo/data/raw/02551/price_history_yahoo_2024-11-05_2025-01-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.7 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2551.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1731029400,"regularMarketTime":1781505426,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":2.16,"fiftyTwoWeekHigh":3.7,"fiftyTwoWeekLow":1.85,"regularMarketDayHigh":2.21,"regularMarketDayLow":2.16,"regularMarketVolume":101000,"longName":"APT Electronics Co., Ltd.","shortName":"APT ELECTRONICS","chartPreviousClose":4.2,"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","ytd","max"]},"timestamp":[1731029400,1731288600,1731375000,1731461400,1731547800,1731634200,1731893400,1731979800,1732066200,1732152600,1732239000,1732498200,1732584600,1732671000,1732757400,1732843800,1733103000,1733189400,1733275800,1733362200,1733448600,1733707800,1733794200,1733880600,1733967000,1734053400,1734312600,1734399000,1734485400,1734571800,1734658200,1734917400,1735003800,1735263000,1735522200,1735608600,1735781400,1735867800,1736127000,1736213400,1736299800,1736386200,1736472600,1736731800,1736818200,1736904600,1736991000,1737077400,1737336600,1737423000,1737509400,1737595800,1737682200,1737941400],"indicators":{"quote":[{"close":[5.329999923706055,5.269999980926514,4.590000152587891,5.010000228881836,4.789999961853027,4.519999980926514,4.130000114440918,3.799999952316284,3.869999885559082,3.75,3.640000104904175,3.559999942779541,3.8299999237060547,3.809999942779541,3.7899999618530273,3.700000047683716,3.759999990463257,3.690000057220459,3.740000009536743,3.7300000190734863,3.6600000858306885,3.5399999618530273,3.509999990463257,3.5,3.390000104904175,3.1700000762939453,3.0199999809265137,3.3399999141693115,3.1700000762939453,3.0199999809265137,3.299999952316284,3.759999990463257,3.680000066757202,3.6500000953674316,3.549999952316284,3.5299999713897705,3.4000000953674316,3.309999942779541,3.2799999713897705,3.25,3.2200000286102295,3.1600000858306885,3.119999885559082,3.049999952316284,3.190000057220459,3.1500000953674316,3.2100000381469727,3.2200000286102295,3.3399999141693115,3.5299999713897705,3.380000114440918,3.4000000953674316,3.609999895095825,3.5],"low":[4.199999809265137,5.050000190734863,4.25,4.480000019073486,4.75,4.5,4.099999904632568,3.7799999713897705,3.609999895095825,3.7100000381469727,3.5999999046325684,3.3399999141693115,3.5399999618530273,3.740000009536743,3.619999885559082,3.680000066757202,3.700000047683716,3.690000057220459,3.6700000762939453,3.619999885559082,3.640000104904175,3.5199999809265137,3.490000009536743,3.430000066757202,3.3499999046325684,3.1500000953674316,3.0,2.819999933242798,3.1500000953674316,2.9700000286102295,2.9600000381469727,3.299999952316284,3.680000066757202,3.4800000190734863,3.549999952316284,3.5299999713897705,3.3499999046325684,3.309999942779541,3.0999999046325684,3.109999895095825,3.119999885559082,3.0999999046325684,3.109999895095825,3.0299999713897705,3.0999999046325684,3.119999885559082,3.1700000762939453,3.1600000858306885,3.200000047683716,3.3399999141693115,3.319999933242798,3.380000114440918,3.390000104904175,3.4800000190734863],"high":[5.559999942779541,5.949999809265137,5.449999809265137,5.099999904632568,5.099999904632568,4.949999809265137,4.650000095367432,4.25,4.099999904632568,3.9200000762939453,3.7899999618530273,3.6500000953674316,3.9800000190734863,3.930000066757202,3.8499999046325684,3.8299999237060547,3.930000066757202,3.859999895095825,3.819999933242798,3.7899999618530273,3.7300000190734863,3.6600000858306885,3.6600000858306885,3.549999952316284,3.549999952316284,3.390000104904175,3.1500000953674316,3.359999895095825,3.3399999141693115,3.1700000762939453,3.4100000858306885,3.759999990463257,3.680000066757202,3.799999952316284,3.6500000953674316,3.5299999713897705,3.5199999809265137,3.4000000953674316,3.309999942779541,3.2799999713897705,3.299999952316284,3.2200000286102295,3.2300000190734863,3.119999885559082,3.190000057220459,3.2200000286102295,3.25,3.25,3.4600000381469727,3.559999942779541,3.509999990463257,3.4100000858306885,3.6600000858306885,3.619999885559082],"open":[4.199999809265137,5.050000190734863,5.300000190734863,4.590000152587891,4.960000038146973,4.949999809265137,4.5,4.130000114440918,3.809999942779541,3.75,3.740000009536743,3.640000104904175,3.559999942779541,3.8399999141693115,3.7799999713897705,3.7200000286102295,3.799999952316284,3.859999895095825,3.690000057220459,3.740000009536743,3.7300000190734863,3.6600000858306885,3.569999933242798,3.509999990463257,3.450000047683716,3.390000104904175,3.1500000953674316,3.0199999809265137,3.3399999141693115,3.1700000762939453,2.9600000381469727,3.299999952316284,3.680000066757202,3.680000066757202,3.6500000953674316,3.5299999713897705,3.5,3.3499999046325684,3.309999942779541,3.130000114440918,3.119999885559082,3.2200000286102295,3.1600000858306885,3.119999885559082,3.0999999046325684,3.119999885559082,3.200000047683716,3.1600000858306885,3.200000047683716,3.3399999141693115,3.4600000381469727,3.380000114440918,3.390000104904175,3.619999885559082],"volume":[75504380,20260998,10906676,8153000,3069000,2313000,4533000,4417000,3017200,1032000,1622000,1918000,2783000,1120000,600000,827000,687000,438000,482000,545000,430000,896000,1155000,666000,1122800,1121000,587000,1656000,520000,400000,1207000,2691000,0,1022000,364000,0,218000,267000,391000,61000,67000,200000,138000,208000,126000,73000,158000,44000,262000,513000,174000,104000,597000,440000]}],"adjclose":[{"adjclose":[5.104974269866943,5.0475077629089355,4.39621639251709,4.7984843254089355,4.587772369384766,4.329171657562256,3.955636978149414,3.639569044113159,3.706613540649414,3.5916800498962402,3.4863240718841553,3.4097015857696533,3.668302297592163,3.649146795272827,3.629991054534912,3.543790817260742,3.601257801055908,3.534213066101074,3.582102060317993,3.572524309158325,3.5054798126220703,3.390545606613159,3.3618123531341553,3.3522346019744873,3.2468788623809814,3.0361669063568115,2.8924994468688965,3.1989896297454834,3.0361669063568115,2.8924994468688965,3.1606781482696533,3.601257801055908,3.5246353149414062,3.4959020614624023,3.4001235961914062,3.380967855453491,3.2564566135406494,3.1702561378479004,3.1415226459503174,3.1127893924713135,3.0840556621551514,3.0265891551971436,2.9882774353027344,2.9212329387664795,3.0553224086761475,3.0170114040374756,3.0744779109954834,3.0840556621551514,3.1989896297454834,3.380967855453491,3.2373008728027344,3.2564566135406494,3.457590341567993,3.3522346019744873]}]}}],"error":null}}