Files
hk-ipo/data/raw/03881/price_history_yahoo_2025-12-16_2026-03-09.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
5.9 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"3881.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1766107800,"regularMarketTime":1781510341,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":18.18,"fiftyTwoWeekHigh":40.88,"fiftyTwoWeekLow":17.2,"regularMarketDayHigh":18.87,"regularMarketDayLow":17.59,"regularMarketVolume":501400,"longName":"CiDi Inc.","shortName":"CIDI","chartPreviousClose":26.3,"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","ytd","max"]},"timestamp":[1766107800,1766367000,1766453400,1766539800,1766971800,1767058200,1767144600,1767317400,1767576600,1767663000,1767749400,1767835800,1767922200,1768181400,1768267800,1768354200,1768440600,1768527000,1768786200,1768872600,1768959000,1769045400,1769131800,1769391000,1769477400,1769563800,1769650200,1769736600,1769995800,1770082200,1770168600,1770255000,1770341400,1770600600,1770687000,1770773400,1770859800,1770946200,1771205400,1771551000,1771810200,1771896600,1771983000,1772069400,1772155800,1772415000,1772501400,1772587800,1772674200,1772760600,1773019800],"indicators":{"quote":[{"high":[26.299999237060547,23.6200008392334,23.34000015258789,23.520000457763672,23.8799991607666,23.280000686645508,23.139999389648438,23.139999389648438,23.280000686645508,23.799999237060547,25.860000610351562,25.780000686645508,25.5,26.200000762939453,26.84000015258789,26.15999984741211,25.579999923706055,26.559999465942383,26.360000610351562,26.100000381469727,25.520000457763672,25.0,24.600000381469727,24.200000762939453,24.5,25.479999542236328,25.600000381469727,24.0,22.81999969482422,22.479999542236328,22.579999923706055,22.979999542236328,21.979999542236328,22.600000381469727,24.200000762939453,24.700000762939453,24.559999465942383,24.079999923706055,22.139999389648438,23.8799991607666,23.68000030517578,24.0,24.18000030517578,23.520000457763672,24.0,24.5,24.600000381469727,23.979999542236328,26.399999618530273,27.520000457763672,27.5],"open":[26.299999237060547,22.700000762939453,23.299999237060547,23.520000457763672,23.0,23.0,23.139999389648438,23.059999465942383,22.079999923706055,22.139999389648438,23.100000381469727,24.5,25.18000030517578,24.8799991607666,25.799999237060547,25.899999618530273,25.5,25.100000381469727,26.299999237060547,26.100000381469727,25.5,24.559999465942383,24.0,24.079999923706055,24.5,24.260000228881836,25.299999237060547,24.0,21.799999237060547,22.139999389648438,21.5,21.700000762939453,21.5,20.799999237060547,22.239999771118164,24.020000457763672,24.5,23.100000381469727,22.139999389648438,22.100000381469727,21.899999618530273,23.0,24.18000030517578,23.040000915527344,23.0,23.860000610351562,24.420000076293945,22.5,24.0,26.5,27.5],"volume":[8116400,1118400,883200,0,569900,1169400,0,243100,280000,128600,1036200,261700,125700,914500,413400,247400,96000,590000,255700,191510,231100,114500,159400,70800,148000,148600,105400,338590,180400,37700,79100,269400,325810,243200,229500,209900,233700,226800,0,305900,207400,143200,60400,347600,312700,168800,256700,119700,635160,660904,618800],"close":[22.700000762939453,23.100000381469727,23.299999237060547,23.520000457763672,23.399999618530273,22.299999237060547,23.139999389648438,22.5,23.0,23.18000030517578,24.959999084472656,25.18000030517578,24.899999618530273,25.799999237060547,25.899999618530273,25.600000381469727,25.1200008392334,26.0,26.100000381469727,25.520000457763672,24.559999465942383,24.239999771118164,24.079999923706055,24.200000762939453,24.260000228881836,25.299999237060547,24.0,22.0,22.1200008392334,21.899999618530273,22.0,21.540000915527344,20.799999237060547,22.239999771118164,24.0,24.200000762939453,24.0,22.719999313354492,22.139999389648438,23.200000762939453,23.15999984741211,23.8799991607666,23.040000915527344,22.200000762939453,23.860000610351562,24.18000030517578,22.700000762939453,23.860000610351562,26.059999465942383,27.5,22.940000534057617],"low":[21.799999237060547,22.420000076293945,22.020000457763672,23.520000457763672,22.559999465942383,22.18000030517578,23.139999389648438,21.8799991607666,19.8799991607666,22.139999389648438,22.65999984741211,24.020000457763672,24.700000762939453,24.8799991607666,25.760000228881836,25.0,24.700000762939453,25.100000381469727,25.780000686645508,24.520000457763672,24.0,23.940000534057617,23.8799991607666,22.940000534057617,23.420000076293945,24.260000228881836,24.0,22.0,21.799999237060547,21.799999237060547,21.5,21.459999084472656,20.799999237060547,20.799999237060547,22.0,23.1200008392334,23.020000457763672,22.700000762939453,22.139999389648438,22.079999923706055,21.899999618530273,23.0,23.020000457763672,21.020000457763672,22.700000762939453,23.860000610351562,22.399999618530273,22.200000762939453,23.899999618530273,25.200000762939453,22.0]}],"adjclose":[{"adjclose":[22.700000762939453,23.100000381469727,23.299999237060547,23.520000457763672,23.399999618530273,22.299999237060547,23.139999389648438,22.5,23.0,23.18000030517578,24.959999084472656,25.18000030517578,24.899999618530273,25.799999237060547,25.899999618530273,25.600000381469727,25.1200008392334,26.0,26.100000381469727,25.520000457763672,24.559999465942383,24.239999771118164,24.079999923706055,24.200000762939453,24.260000228881836,25.299999237060547,24.0,22.0,22.1200008392334,21.899999618530273,22.0,21.540000915527344,20.799999237060547,22.239999771118164,24.0,24.200000762939453,24.0,22.719999313354492,22.139999389648438,23.200000762939453,23.15999984741211,23.8799991607666,23.040000915527344,22.200000762939453,23.860000610351562,24.18000030517578,22.700000762939453,23.860000610351562,26.059999465942383,27.5,22.940000534057617]}]}}],"error":null}}