Files
hk-ipo/data/raw/02493/price_history_yahoo_2026-04-25_2026-06-07.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
2.8 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2493.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1778549400,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":26.74,"fiftyTwoWeekHigh":29.18,"fiftyTwoWeekLow":20.8,"regularMarketDayHigh":26.98,"regularMarketDayLow":24.78,"regularMarketVolume":872200,"shortName":"MABWELL-B","chartPreviousClose":26.64,"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","ytd","max"]},"timestamp":[1778549400,1778635800,1778722200,1778808600,1779067800,1779154200,1779240600,1779327000,1779413400,1779759000,1779845400,1779931800,1780018200,1780277400,1780363800,1780450200,1780536600,1780623000],"indicators":{"quote":[{"high":[27.0,26.139999389648438,25.84000015258789,26.5,25.1200008392334,25.200000762939453,25.18000030517578,25.5,26.3799991607666,24.239999771118164,23.8799991607666,23.799999237060547,23.540000915527344,23.360000610351562,22.8799991607666,22.799999237060547,23.0,23.260000228881836],"volume":[1640600,735400,1897800,564600,343200,257400,534400,395500,1062200,657000,398600,709600,664800,531200,367400,484600,292200,243000],"close":[26.020000457763672,25.139999389648438,25.3799991607666,25.399999618530273,24.860000610351562,24.920000076293945,24.059999465942383,24.520000457763672,24.420000076293945,23.399999618530273,23.559999465942383,22.81999969482422,22.780000686645508,22.440000534057617,22.700000762939453,22.219999313354492,22.65999984741211,22.399999618530273],"low":[26.0,25.100000381469727,24.84000015258789,25.18000030517578,24.520000457763672,24.280000686645508,24.059999465942383,24.31999969482422,24.100000381469727,23.18000030517578,22.979999542236328,22.5,21.920000076293945,22.219999313354492,21.920000076293945,21.780000686645508,22.079999923706055,21.940000534057617],"open":[26.639999389648438,26.020000457763672,25.139999389648438,25.3799991607666,25.1200008392334,24.860000610351562,25.139999389648438,24.5,26.0,24.0,23.459999084472656,23.579999923706055,22.799999237060547,22.739999771118164,22.440000534057617,22.799999237060547,22.5,22.899999618530273]}],"adjclose":[{"adjclose":[26.020000457763672,25.139999389648438,25.3799991607666,25.399999618530273,24.860000610351562,24.920000076293945,24.059999465942383,24.520000457763672,24.420000076293945,23.399999618530273,23.559999465942383,22.81999969482422,22.780000686645508,22.440000534057617,22.700000762939453,22.219999313354492,22.65999984741211,22.399999618530273]}]}}],"error":null}}