Files
hk-ipo/data/raw/02050/price_history_yahoo_2025-06-20_2025-09-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.9 KiB
JSON

{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2050.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1750642200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":29.3,"fiftyTwoWeekHigh":46.48,"fiftyTwoWeekLow":20.7,"regularMarketDayHigh":29.48,"regularMarketDayLow":28.52,"regularMarketVolume":10836769,"longName":"Zhejiang Sanhua Intelligent Controls Co.,Ltd","shortName":"SANHUA","chartPreviousClose":20.95,"priceHint":3,"currentTradingPeriod":{"pre":{"timezone":"HKT","end":1781487000,"start":1781485200,"gmtoffset":28800},"regular":{"timezone":"HKT","end":1781511000,"start":1781487000,"gmtoffset":28800},"post":{"timezone":"HKT","end":1781511000,"start":1781511000,"gmtoffset":28800}},"dataGranularity":"1d","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","ytd","max"]},"timestamp":[1750642200,1750728600,1750815000,1750901400,1750987800,1751247000,1751419800,1751506200,1751592600,1751851800,1751938200,1752024600,1752111000,1752197400,1752456600,1752543000,1752629400,1752715800,1752802200,1753061400,1753147800,1753234200,1753320600,1753407000,1753666200,1753752600,1753839000,1753925400,1754011800,1754271000,1754357400,1754443800,1754530200,1754616600,1754875800,1754962200,1755048600,1755135000,1755221400,1755480600,1755567000,1755653400,1755739800,1755826200,1756085400,1756171800,1756258200,1756344600,1756431000,1756690200,1756776600,1756863000,1756949400,1757035800,1757295000,1757381400,1757467800,1757554200],"indicators":{"quote":[{"close":[22.5,24.850000381469727,26.350000381469727,25.0,24.299999237060547,25.149999618530273,24.200000762939453,24.299999237060547,23.100000381469727,22.950000762939453,23.0,23.700000762939453,23.299999237060547,23.25,23.0,23.899999618530273,25.899999618530273,27.850000381469727,28.100000381469727,28.0,27.850000381469727,28.5,28.5,26.899999618530273,26.649999618530273,26.600000381469727,25.799999237060547,26.149999618530273,26.149999618530273,27.059999465942383,26.799999237060547,27.8799991607666,28.18000030517578,27.5,27.5,27.260000228881836,27.760000228881836,27.100000381469727,28.299999237060547,28.399999618530273,30.100000381469727,29.139999389648438,29.68000030517578,29.799999237060547,29.639999389648438,29.899999618530273,30.399999618530273,31.81999969482422,31.15999984741211,30.81999969482422,31.219999313354492,30.040000915527344,28.579999923706055,29.31999969482422,33.7599983215332,32.040000915527344,31.440000534057617,32.439998626708984],"low":[20.700000762939453,22.5,25.600000381469727,24.0,24.200000762939453,24.100000381469727,24.100000381469727,24.100000381469727,23.049999237060547,22.149999618530273,22.5,22.850000381469727,23.100000381469727,23.200000762939453,22.899999618530273,23.0,23.899999618530273,25.299999237060547,27.100000381469727,27.350000381469727,27.5,27.75,28.100000381469727,26.549999237060547,26.549999237060547,26.200000762939453,25.799999237060547,25.649999618530273,25.850000381469727,26.0,26.559999465942383,26.600000381469727,27.34000015258789,27.420000076293945,27.139999389648438,26.860000610351562,27.040000915527344,27.0,26.700000762939453,28.1200008392334,28.020000457763672,28.780000686645508,29.0,29.420000076293945,29.459999084472656,29.34000015258789,29.81999969482422,29.799999237060547,30.600000381469727,30.5,29.700000762939453,29.6200008392334,28.299999237060547,28.360000610351562,29.5,31.739999771118164,31.1200008392334,30.700000762939453],"high":[22.549999237060547,24.850000381469727,26.899999618530273,26.399999618530273,26.200000762939453,25.149999618530273,24.899999618530273,24.799999237060547,24.149999618530273,23.450000762939453,23.25,24.200000762939453,23.950000762939453,23.600000381469727,23.399999618530273,24.200000762939453,26.0,28.0,28.200000762939453,29.549999237060547,29.450000762939453,28.75,28.700000762939453,28.100000381469727,27.799999237060547,26.950000762939453,26.600000381469727,26.5,26.5,27.360000610351562,27.6200008392334,29.260000228881836,28.479999542236328,28.360000610351562,27.81999969482422,27.68000030517578,27.959999084472656,28.139999389648438,28.459999084472656,28.959999084472656,31.280000686645508,29.719999313354492,30.399999618530273,30.559999465942383,30.5,30.15999984741211,31.5,31.81999969482422,32.599998474121094,31.700000762939453,31.780000686645508,31.899999618530273,30.299999237060547,29.68000030517578,33.97999954223633,33.58000183105469,32.439998626708984,32.5],"open":[20.950000762939453,22.649999618530273,25.600000381469727,26.399999618530273,25.049999237060547,24.299999237060547,24.600000381469727,24.5,24.149999618530273,23.0,22.799999237060547,23.0,23.850000381469727,23.299999237060547,23.299999237060547,23.0,24.100000381469727,26.0,27.25,28.0,28.0,28.399999618530273,28.350000381469727,28.100000381469727,26.950000762939453,26.649999618530273,26.549999237060547,25.799999237060547,25.850000381469727,26.0,27.18000030517578,26.799999237060547,28.100000381469727,28.18000030517578,27.5,27.520000457763672,27.5,27.780000686645508,27.100000381469727,28.200000762939453,28.780000686645508,29.719999313354492,29.200000762939453,30.0,30.5,29.639999389648438,29.959999084472656,30.219999313354492,32.380001068115234,31.700000762939453,30.81999969482422,31.600000381469727,30.200000762939453,28.399999618530273,29.5,33.58000183105469,31.979999542236328,31.299999237060547],"volume":[125316817,61341554,46586064,17991516,11612350,7413900,5920209,2548550,6315785,5015300,4617181,3102942,6058028,2384925,2875980,3975145,9324531,18586670,6414990,9900300,8652800,4135900,4123647,7646781,6058593,4426547,3406806,3712100,1851000,6689654,2945500,10907823,6082660,5667690,3995000,3827162,5354042,5807700,10958714,6414400,20025405,9546136,6697527,9063900,5612040,5830163,11413398,9237672,15550075,4140400,17692034,7869935,7175867,5208521,31388440,16890400,8143110,12606374]}],"adjclose":[{"adjclose":[22.410715103149414,24.75139045715332,26.245439529418945,24.900794982910156,24.20357322692871,25.050199508666992,24.103971481323242,24.20357322692871,23.00833511352539,22.858930587768555,22.90873146057129,23.605955123901367,23.20754051208496,23.157739639282227,22.90873146057129,23.805160522460938,25.797224044799805,27.739486694335938,27.988494873046875,27.888891220092773,27.739486694335938,28.38690757751465,28.38690757751465,26.793254852294922,26.544248580932617,26.494447708129883,25.697620391845703,26.046232223510742,26.046232223510742,26.952621459960938,26.69365119934082,27.769367218017578,28.06817626953125,27.3908748626709,27.3908748626709,27.151826858520508,27.649843215942383,26.992462158203125,28.187700271606445,28.287303924560547,29.980558395385742,29.02436637878418,29.562225341796875,29.681747436523438,29.522382736206055,29.78135108947754,30.279367446899414,31.6937313079834,31.036352157592773,30.69770050048828,31.096113204956055,29.92079734802246,28.466588973999023,29.20365333557129,33.626033782958984,31.912860870361328,31.31524085998535,32.31127166748047]}]}}],"error":null}}