Files
hk-ipo/data/raw/06682/price_history_yahoo_2023-09-25_2023-12-17.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.0 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"6682.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1695864600,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":29.16,"fiftyTwoWeekHigh":70.0,"fiftyTwoWeekLow":26.6,"regularMarketDayHigh":29.72,"regularMarketDayLow":28.76,"regularMarketVolume":4385800,"longName":"Phancy Group Co., Ltd.","shortName":"PHANCY","chartPreviousClose":63.1,"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":[1695864600,1695951000,1696296600,1696383000,1696469400,1696555800,1696815000,1696901400,1696987800,1697074200,1697160600,1697419800,1697506200,1697592600,1697679000,1697765400,1698111000,1698197400,1698283800,1698370200,1698629400,1698715800,1698802200,1698888600,1698975000,1699234200,1699320600,1699407000,1699493400,1699579800,1699839000,1699925400,1700011800,1700098200,1700184600,1700443800,1700530200,1700616600,1700703000,1700789400,1701048600,1701135000,1701221400,1701307800,1701394200,1701653400,1701739800,1701826200,1701912600,1701999000,1702258200,1702344600,1702431000,1702517400,1702603800],"indicators":{"quote":[{"high":[65.0,58.650001525878906,56.5,55.650001525878906,55.25,54.349998474121094,54.900001525878906,54.400001525878906,54.099998474121094,56.75,57.900001525878906,56.75,56.5,55.70000076293945,55.599998474121094,55.650001525878906,55.45000076293945,53.849998474121094,53.45000076293945,53.150001525878906,52.400001525878906,52.29999923706055,51.95000076293945,50.150001525878906,49.5,49.70000076293945,49.29999923706055,50.0,49.95000076293945,49.5,50.20000076293945,54.5,55.5,55.900001525878906,55.0,53.900001525878906,53.54999923706055,53.0,56.45000076293945,55.04999923706055,55.650001525878906,52.400001525878906,54.25,54.79999923706055,54.5,54.5,51.400001525878906,51.5,51.349998474121094,52.79999923706055,53.5,53.95000076293945,53.400001525878906,52.900001525878906,49.400001525878906],"open":[63.099998474121094,57.599998474121094,56.0,55.599998474121094,54.04999923706055,54.349998474121094,54.0,54.04999923706055,54.0,53.849998474121094,55.650001525878906,56.599998474121094,56.04999923706055,55.650001525878906,55.29999923706055,55.400001525878906,55.0,53.849998474121094,51.599998474121094,52.20000076293945,51.79999923706055,51.099998474121094,51.900001525878906,50.0,48.5,49.349998474121094,48.5,48.900001525878906,48.900001525878906,49.099998474121094,49.45000076293945,50.0,54.0,55.900001525878906,52.0,53.45000076293945,52.79999923706055,53.0,53.0,55.0,53.099998474121094,51.099998474121094,50.95000076293945,52.849998474121094,54.099998474121094,53.599998474121094,51.400001525878906,49.099998474121094,50.5,50.349998474121094,52.54999923706055,53.400001525878906,51.70000076293945,52.29999923706055,48.099998474121094],"close":[58.5,56.150001525878906,55.599998474121094,54.0,54.400001525878906,54.0,54.0,53.95000076293945,53.849998474121094,55.599998474121094,57.150001525878906,56.04999923706055,55.849998474121094,55.29999923706055,55.400001525878906,55.54999923706055,53.150001525878906,51.79999923706055,52.0,53.150001525878906,51.70000076293945,52.0,50.0,48.75,49.29999923706055,49.0,49.29999923706055,49.5,49.349998474121094,49.150001525878906,50.04999923706055,53.5,54.20000076293945,53.95000076293945,54.349998474121094,52.0,52.75,52.79999923706055,55.79999923706055,53.099998474121094,51.599998474121094,51.900001525878906,53.20000076293945,54.099998474121094,53.599998474121094,51.54999923706055,49.0,50.54999923706055,51.099998474121094,52.20000076293945,53.45000076293945,53.79999923706055,52.29999923706055,48.099998474121094,47.79999923706055],"volume":[1745800,277500,252600,355800,90700,78500,51000,58800,234600,212800,178200,145500,144600,155500,198000,279200,99900,151300,107100,149100,123500,154800,60000,38600,46800,87810,114400,70200,92500,11300,46300,182100,176600,192900,170200,71300,62900,70400,51100,47300,69400,70600,48200,202800,136300,130200,105300,160900,154900,156500,148700,132200,134700,164800,159200],"low":[56.45000076293945,55.70000076293945,55.25,52.79999923706055,53.70000076293945,53.75,54.0,53.95000076293945,53.75,53.849998474121094,55.650001525878906,55.400001525878906,55.599998474121094,54.650001525878906,54.900001525878906,55.099998474121094,53.0,48.099998474121094,48.79999923706055,51.20000076293945,51.099998474121094,49.599998474121094,50.0,48.75,47.599998474121094,48.25,48.45000076293945,48.900001525878906,48.79999923706055,49.099998474121094,49.400001525878906,50.0,53.70000076293945,53.20000076293945,52.0,51.95000076293945,52.04999923706055,52.400001525878906,52.5,53.099998474121094,50.650001525878906,51.0,50.95000076293945,52.70000076293945,52.650001525878906,51.54999923706055,48.0,46.5,48.70000076293945,49.900001525878906,51.599998474121094,51.900001525878906,51.29999923706055,47.900001525878906,47.0]}],"adjclose":[{"adjclose":[58.5,56.150001525878906,55.599998474121094,54.0,54.400001525878906,54.0,54.0,53.95000076293945,53.849998474121094,55.599998474121094,57.150001525878906,56.04999923706055,55.849998474121094,55.29999923706055,55.400001525878906,55.54999923706055,53.150001525878906,51.79999923706055,52.0,53.150001525878906,51.70000076293945,52.0,50.0,48.75,49.29999923706055,49.0,49.29999923706055,49.5,49.349998474121094,49.150001525878906,50.04999923706055,53.5,54.20000076293945,53.95000076293945,54.349998474121094,52.0,52.75,52.79999923706055,55.79999923706055,53.099998474121094,51.599998474121094,51.900001525878906,53.20000076293945,54.099998474121094,53.599998474121094,51.54999923706055,49.0,50.54999923706055,51.099998474121094,52.20000076293945,53.45000076293945,53.79999923706055,52.29999923706055,48.099998474121094,47.79999923706055]}]}}],"error":null}}