Files
hk-ipo/data/raw/02489/price_history_yahoo_2023-12-19_2024-03-11.json
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":"2489.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1703208600,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":0.77,"fiftyTwoWeekHigh":2.16,"fiftyTwoWeekLow":0.71,"regularMarketDayHigh":0.8,"regularMarketDayLow":0.75,"regularMarketVolume":2066000,"longName":"Persistence Resources Group Ltd","shortName":"PERSISTENCEGOLD","chartPreviousClose":0.51,"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":[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,1707874200,1707960600,1708047000,1708306200,1708392600,1708479000,1708565400,1708651800,1708911000,1708997400,1709083800,1709170200,1709256600,1709515800,1709602200,1709688600,1709775000,1709861400,1710120600],"indicators":{"quote":[{"high":[0.5799999833106995,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5699999928474426,0.5600000023841858,0.550000011920929,0.550000011920929,0.5400000214576721,0.5099999904632568,0.5299999713897705,0.5299999713897705,0.5600000023841858,0.5400000214576721,0.5600000023841858,0.5600000023841858,0.6499999761581421,0.6200000047683716,0.5600000023841858,0.5600000023841858,0.5799999833106995,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5699999928474426,0.5600000023841858,0.550000011920929,0.550000011920929,0.5899999737739563,0.5899999737739563,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.6100000143051147,0.6899999976158142,0.699999988079071,0.6700000166893005],"open":[0.5099999904632568,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.550000011920929,0.550000011920929,0.5400000214576721,0.550000011920929,0.5400000214576721,0.5099999904632568,0.5,0.5199999809265137,0.5299999713897705,0.5400000214576721,0.5600000023841858,0.550000011920929,0.5600000023841858,0.6200000047683716,0.550000011920929,0.550000011920929,0.550000011920929,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.550000011920929,0.5600000023841858,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.5799999833106995,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.550000011920929,0.5600000023841858,0.5600000023841858,0.550000011920929,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.6100000143051147,0.6299999952316284,0.6000000238418579],"volume":[111510000,21905000,1035000,2270000,1930000,1025000,1515000,880000,1345000,2330000,1540000,610000,3260000,0,905000,1390000,4565000,7820000,2770000,200000,1455000,370000,840000,1430000,520000,295000,645000,3055000,470000,7425000,270000,185000,0,85000,70000,175000,25000,35000,775000,80000,55000,155000,85000,55000,230000,445000,320000,250000,2030000,4485000,9060000,1800000],"low":[0.5099999904632568,0.5400000214576721,0.5400000214576721,0.5400000214576721,0.550000011920929,0.550000011920929,0.5299999713897705,0.5400000214576721,0.5099999904632568,0.44999998807907104,0.47999998927116394,0.5,0.5199999809265137,0.5400000214576721,0.550000011920929,0.5400000214576721,0.550000011920929,0.550000011920929,0.5400000214576721,0.5400000214576721,0.5400000214576721,0.550000011920929,0.550000011920929,0.5400000214576721,0.5400000214576721,0.550000011920929,0.550000011920929,0.5400000214576721,0.5400000214576721,0.550000011920929,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5600000023841858,0.5600000023841858,0.5699999928474426,0.5600000023841858,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.550000011920929,0.5600000023841858,0.5600000023841858,0.5699999928474426,0.5799999833106995,0.6000000238418579],"close":[0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.550000011920929,0.550000011920929,0.550000011920929,0.5099999904632568,0.5099999904632568,0.5299999713897705,0.5299999713897705,0.550000011920929,0.5400000214576721,0.5600000023841858,0.5600000023841858,0.6200000047683716,0.5600000023841858,0.550000011920929,0.550000011920929,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.550000011920929,0.5400000214576721,0.5899999737739563,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.5600000023841858,0.6100000143051147,0.6200000047683716,0.6000000238418579,0.6700000166893005]}],"adjclose":[{"adjclose":[0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5174254775047302,0.5174254775047302,0.5174254775047302,0.47979453206062317,0.47979453206062317,0.4986099898815155,0.4986099898815155,0.5174254775047302,0.5080177783966064,0.5268332362174988,0.5268332362174988,0.5832796692848206,0.5268332362174988,0.5174254775047302,0.5174254775047302,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5174254775047302,0.5080177783966064,0.5550563931465149,0.5362409353256226,0.5362409353256226,0.5362409353256226,0.5362409353256226,0.5362409353256226,0.5362409353256226,0.5362409353256226,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.5268332362174988,0.573871910572052,0.5832796692848206,0.5644641518592834,0.630318284034729]}]}}],"error":null}}