078f56998b
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.
1 line
5.5 KiB
JSON
1 line
5.5 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2498.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1704418200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":28.08,"fiftyTwoWeekHigh":46.5,"fiftyTwoWeekLow":27.64,"regularMarketDayHigh":28.76,"regularMarketDayLow":28.04,"regularMarketVolume":3140946,"longName":"Robosense Technology Co., Ltd","shortName":"ROBOSENSE","chartPreviousClose":43.0,"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","2y","5y","ytd","max"]},"timestamp":[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,1710207000,1710293400,1710379800,1710466200,1710725400,1710811800,1710898200,1710984600,1711071000,1711330200],"indicators":{"quote":[{"open":[43.0,43.0,43.150001525878906,43.099998474121094,43.04999923706055,43.04999923706055,43.0,43.0,43.0,42.75,42.70000076293945,42.54999923706055,42.5,42.5,42.5,42.04999923706055,41.099998474121094,42.79999923706055,42.79999923706055,43.0,41.04999923706055,40.0,38.70000076293945,37.54999923706055,35.25,35.5,35.349998474121094,36.650001525878906,36.650001525878906,35.70000076293945,35.04999923706055,35.0,35.0,36.0,36.25,35.349998474121094,34.70000076293945,34.900001525878906,35.849998474121094,34.5,34.75,33.0,36.54999923706055,41.099998474121094,38.099998474121094,39.0,37.20000076293945,37.650001525878906,35.0,35.75,35.5,37.0,41.0,38.04999923706055,38.20000076293945],"close":[43.0,43.0,43.150001525878906,43.04999923706055,43.0,43.0,43.0,43.0,43.0,42.70000076293945,42.599998474121094,42.5,42.5,42.54999923706055,42.349998474121094,41.099998474121094,42.79999923706055,42.79999923706055,43.0,43.0,40.70000076293945,39.0,37.0,35.20000076293945,35.5,35.5,36.5,36.650001525878906,35.70000076293945,35.04999923706055,35.04999923706055,35.0,36.0,36.400001525878906,36.54999923706055,34.79999923706055,35.400001525878906,35.900001525878906,35.0,34.95000076293945,34.75,34.70000076293945,40.95000076293945,39.20000076293945,39.099998474121094,38.70000076293945,37.650001525878906,35.900001525878906,35.79999923706055,35.599998474121094,37.0,41.349998474121094,42.0,39.150001525878906,38.650001525878906],"volume":[944300,281100,74500,43400,17500,14700,0,67100,53900,7600,30000,31300,8500,6900,7700,27100,39800,2700,42000,88100,1900,6300,3800,3100,1200,0,2000,700,800,15300,600,9700,5400,8000,5400,5800,9900,4900,1600,3900,400,2500,99400,20900,11200,1900,18200,3600,5900,5500,2700,25400,15100,9100,4600],"high":[43.099998474121094,43.099998474121094,44.400001525878906,43.29999923706055,43.70000076293945,43.099998474121094,43.0,43.099998474121094,43.0,42.79999923706055,42.70000076293945,42.70000076293945,42.5,42.54999923706055,42.5,42.349998474121094,42.95000076293945,42.79999923706055,43.0,43.0,41.5,40.0,38.70000076293945,38.70000076293945,35.900001525878906,35.5,36.5,36.650001525878906,36.650001525878906,36.5,35.04999923706055,35.04999923706055,36.54999923706055,36.45000076293945,36.599998474121094,36.29999923706055,36.349998474121094,35.900001525878906,35.849998474121094,35.0,34.75,34.70000076293945,45.150001525878906,44.0,39.099998474121094,39.0,37.650001525878906,36.599998474121094,35.79999923706055,35.75,37.0,43.099998474121094,42.45000076293945,43.0,38.650001525878906],"low":[41.5,42.04999923706055,43.0,42.5,43.0,43.0,43.0,42.79999923706055,42.75,42.70000076293945,42.599998474121094,42.5,42.150001525878906,42.25,42.25,41.099998474121094,41.099998474121094,42.79999923706055,42.79999923706055,42.79999923706055,40.70000076293945,38.70000076293945,37.0,35.20000076293945,35.20000076293945,35.5,35.349998474121094,36.650001525878906,35.5,35.04999923706055,35.04999923706055,33.349998474121094,34.75,35.20000076293945,33.599998474121094,34.79999923706055,34.54999923706055,34.900001525878906,35.0,33.79999923706055,34.04999923706055,33.0,36.0,36.150001525878906,36.849998474121094,36.900001525878906,35.849998474121094,35.04999923706055,34.54999923706055,35.0,34.599998474121094,37.0,41.0,37.95000076293945,38.04999923706055]}],"adjclose":[{"adjclose":[43.0,43.0,43.150001525878906,43.04999923706055,43.0,43.0,43.0,43.0,43.0,42.70000076293945,42.599998474121094,42.5,42.5,42.54999923706055,42.349998474121094,41.099998474121094,42.79999923706055,42.79999923706055,43.0,43.0,40.70000076293945,39.0,37.0,35.20000076293945,35.5,35.5,36.5,36.650001525878906,35.70000076293945,35.04999923706055,35.04999923706055,35.0,36.0,36.400001525878906,36.54999923706055,34.79999923706055,35.400001525878906,35.900001525878906,35.0,34.95000076293945,34.75,34.70000076293945,40.95000076293945,39.20000076293945,39.099998474121094,38.70000076293945,37.650001525878906,35.900001525878906,35.79999923706055,35.599998474121094,37.0,41.349998474121094,42.0,39.150001525878906,38.650001525878906]}]}}],"error":null}} |