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
6.0 KiB
JSON
1 line
6.0 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"1274.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1703035800,"regularMarketTime":1781510361,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":4.07,"fiftyTwoWeekHigh":25.0,"fiftyTwoWeekLow":2.86,"regularMarketDayHigh":4.32,"regularMarketDayLow":4.03,"regularMarketVolume":244700,"longName":"iMotion Automotive Technology (Suzhou) Co., Ltd.","shortName":"IMOTIONTECH","chartPreviousClose":29.55,"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":[1703035800,1703122200,1703208600,1703640600,1703727000,1703813400,1704159000,1704245400,1704331800,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],"indicators":{"quote":[{"high":[30.600000381469727,26.299999237060547,28.799999237060547,30.100000381469727,34.150001525878906,34.349998474121094,34.849998474121094,33.5,33.75,34.349998474121094,33.04999923706055,33.650001525878906,33.599998474121094,33.45000076293945,32.75,32.75,34.25,34.45000076293945,34.400001525878906,34.25,40.45000076293945,47.25,50.25,52.599998474121094,51.20000076293945,52.20000076293945,50.900001525878906,54.45000076293945,54.150001525878906,55.599998474121094,53.54999923706055,50.20000076293945,51.0,51.150001525878906,51.70000076293945,56.5,59.150001525878906,60.04999923706055,59.29999923706055,61.599998474121094,63.04999923706055,64.19999694824219,63.349998474121094,62.650001525878906,63.04999923706055,64.25,65.4000015258789,64.25,56.900001525878906,56.45000076293945,56.75,57.0,57.900001525878906],"open":[29.549999237060547,26.0,25.799999237060547,28.549999237060547,30.200000762939453,33.54999923706055,34.849998474121094,33.5,32.599998474121094,33.45000076293945,33.04999923706055,32.5,33.20000076293945,32.599998474121094,32.099998474121094,32.75,33.70000076293945,33.900001525878906,34.0,34.099998474121094,34.54999923706055,40.70000076293945,47.5,50.5,50.70000076293945,50.349998474121094,50.5,51.0,51.29999923706055,54.29999923706055,53.0,48.95000076293945,50.04999923706055,50.54999923706055,51.70000076293945,51.54999923706055,55.95000076293945,58.849998474121094,58.70000076293945,59.5,61.150001525878906,62.70000076293945,63.349998474121094,61.45000076293945,61.75,62.79999923706055,64.30000305175781,63.849998474121094,55.5,54.650001525878906,54.599998474121094,54.900001525878906,56.900001525878906],"volume":[1743300,327000,454100,234300,440500,512900,185300,36800,58000,30900,39800,106500,33300,64500,30800,0,98300,132700,105200,124000,262300,307000,467000,327900,92000,93500,65200,234500,211200,144200,105400,92200,36200,38400,0,143900,167000,144685,42300,131100,222400,337700,368300,344500,359200,228800,238300,245800,148700,116000,142800,124000,102700],"close":[25.850000381469727,26.100000381469727,28.549999237060547,29.950000762939453,33.95000076293945,33.70000076293945,33.5,32.599998474121094,33.45000076293945,33.5,32.54999923706055,33.20000076293945,32.849998474121094,32.650001525878906,32.75,32.75,33.95000076293945,34.04999923706055,34.04999923706055,34.20000076293945,40.45000076293945,47.25,50.25,50.400001525878906,50.349998474121094,50.70000076293945,50.849998474121094,50.900001525878906,54.150001525878906,52.849998474121094,48.75,50.0,50.400001525878906,51.150001525878906,51.70000076293945,55.849998474121094,58.650001525878906,58.5,59.25,61.04999923706055,62.599998474121094,63.099998474121094,61.29999923706055,61.599998474121094,62.70000076293945,64.25,63.400001525878906,55.95000076293945,55.45000076293945,55.099998474121094,55.20000076293945,56.79999923706055,56.150001525878906],"low":[25.850000381469727,24.049999237060547,25.75,28.5,30.200000762939453,33.20000076293945,32.900001525878906,32.099998474121094,32.0,33.0,32.349998474121094,32.0,32.79999923706055,32.5,32.099998474121094,32.75,33.099998474121094,33.20000076293945,33.54999923706055,34.0,34.400001525878906,40.70000076293945,46.95000076293945,50.099998474121094,49.79999923706055,50.29999923706055,49.95000076293945,50.900001525878906,50.20000076293945,52.0,47.900001525878906,47.75,49.29999923706055,50.099998474121094,51.70000076293945,51.54999923706055,53.599998474121094,56.150001525878906,56.75,59.150001525878906,60.349998474121094,61.20000076293945,59.900001525878906,60.25,60.25,62.650001525878906,62.70000076293945,55.25,53.45000076293945,53.70000076293945,53.900001525878906,54.849998474121094,55.650001525878906]}],"adjclose":[{"adjclose":[25.850000381469727,26.100000381469727,28.549999237060547,29.950000762939453,33.95000076293945,33.70000076293945,33.5,32.599998474121094,33.45000076293945,33.5,32.54999923706055,33.20000076293945,32.849998474121094,32.650001525878906,32.75,32.75,33.95000076293945,34.04999923706055,34.04999923706055,34.20000076293945,40.45000076293945,47.25,50.25,50.400001525878906,50.349998474121094,50.70000076293945,50.849998474121094,50.900001525878906,54.150001525878906,52.849998474121094,48.75,50.0,50.400001525878906,51.150001525878906,51.70000076293945,55.849998474121094,58.650001525878906,58.5,59.25,61.04999923706055,62.599998474121094,63.099998474121094,61.29999923706055,61.599998474121094,62.70000076293945,64.25,63.400001525878906,55.95000076293945,55.45000076293945,55.099998474121094,55.20000076293945,56.79999923706055,56.150001525878906]}]}}],"error":null}} |