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":"2268.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1700184600,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":48.3,"fiftyTwoWeekHigh":85.5,"fiftyTwoWeekLow":38.8,"regularMarketDayHigh":48.9,"regularMarketDayLow":47.36,"regularMarketVolume":4237266,"longName":"WuXi XDC Cayman Inc.","shortName":"WUXI XDC","chartPreviousClose":26.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","2y","5y","ytd","max"]},"timestamp":[1700184600,1700443800,1700530200,1700616600,1700703000,1700789400,1701048600,1701135000,1701221400,1701307800,1701394200,1701653400,1701739800,1701826200,1701912600,1701999000,1702258200,1702344600,1702431000,1702517400,1702603800,1702863000,1702949400,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],"indicators":{"quote":[{"close":[28.0,28.0,27.649999618530273,27.899999618530273,27.899999618530273,29.0,29.200000762939453,28.950000762939453,28.75,28.600000381469727,32.20000076293945,28.700000762939453,27.450000762939453,29.850000381469727,29.25,28.799999237060547,29.149999618530273,29.100000381469727,28.549999237060547,29.850000381469727,30.299999237060547,31.149999618530273,32.20000076293945,32.599998474121094,31.850000381469727,33.400001525878906,32.0,31.5,32.0,31.5,31.799999237060547,32.25,31.0,28.950000762939453,28.799999237060547,29.850000381469727,32.70000076293945,30.200000762939453,30.149999618530273,31.850000381469727,30.200000762939453,31.950000762939453,30.700000762939453,30.100000381469727,31.0,31.899999618530273,31.5,25.200000762939453,24.600000381469727,21.899999618530273,19.899999618530273,21.350000381469727,17.780000686645508,16.65999984741211],"low":[26.799999237060547,27.200000762939453,26.350000381469727,27.25,27.5,28.299999237060547,28.5,28.799999237060547,28.100000381469727,28.399999618530273,28.649999618530273,26.450000762939453,27.049999237060547,27.700000762939453,28.299999237060547,28.450000762939453,28.149999618530273,28.75,27.350000381469727,28.850000381469727,29.700000762939453,29.700000762939453,30.75,31.75,31.700000762939453,31.25,31.850000381469727,31.299999237060547,30.600000381469727,31.0,31.0,31.299999237060547,31.0,27.950000762939453,28.450000762939453,28.5,30.299999237060547,30.049999237060547,30.149999618530273,30.649999618530273,29.899999618530273,30.200000762939453,30.299999237060547,29.0,29.299999237060547,30.799999237060547,30.850000381469727,23.700000762939453,24.0,21.549999237060547,18.940000534057617,20.399999618530273,16.860000610351562,16.299999237060547],"high":[29.25,29.399999618530273,28.5,28.399999618530273,28.299999237060547,29.350000381469727,29.649999618530273,29.299999237060547,29.299999237060547,28.950000762939453,32.900001525878906,32.5,28.5,30.399999618530273,30.0,29.299999237060547,29.299999237060547,30.0,29.299999237060547,30.5,30.399999618530273,31.350000381469727,33.349998474121094,33.099998474121094,32.900001525878906,33.5,34.0,32.5,32.0,32.400001525878906,32.29999923706055,32.45000076293945,32.099998474121094,31.299999237060547,29.399999618530273,29.899999618530273,33.099998474121094,32.70000076293945,30.149999618530273,32.0,31.600000381469727,32.099998474121094,32.0,30.649999618530273,31.450000762939453,32.349998474121094,31.75,32.0,27.200000762939453,24.75,21.799999237060547,22.100000381469727,22.649999618530273,18.1200008392334],"open":[26.950000762939453,27.899999618530273,28.299999237060547,28.0,27.899999618530273,28.299999237060547,29.149999618530273,29.0,29.0,28.75,28.649999618530273,32.25,28.5,27.899999618530273,29.549999237060547,28.950000762939453,28.799999237060547,29.600000381469727,29.299999237060547,28.850000381469727,29.950000762939453,29.75,31.149999618530273,32.45000076293945,32.25,31.700000762939453,33.400001525878906,32.099998474121094,31.899999618530273,32.400001525878906,31.5,32.150001525878906,31.75,30.899999618530273,29.0,28.75,30.299999237060547,32.70000076293945,30.149999618530273,32.0,31.600000381469727,30.600000381469727,32.0,30.649999618530273,29.299999237060547,31.299999237060547,31.700000762939453,32.0,25.049999237060547,24.0,21.799999237060547,20.899999618530273,22.0,18.1200008392334],"volume":[63769819,7966409,6477815,1589553,1135575,2671986,1081128,833774,1602120,692197,6066372,7575510,5431157,3166458,1107110,937310,635731,583961,1557716,1560703,751367,668902,1269867,887779,571593,1765689,810560,466044,581503,1004924,1969555,236025,237217,1293166,635412,504647,2483890,971524,0,659005,1002204,818343,447771,1990585,1992943,491669,316289,10284672,4648289,3464916,4690211,5717655,12378494,7097608]}],"adjclose":[{"adjclose":[28.0,28.0,27.649999618530273,27.899999618530273,27.899999618530273,29.0,29.200000762939453,28.950000762939453,28.75,28.600000381469727,32.20000076293945,28.700000762939453,27.450000762939453,29.850000381469727,29.25,28.799999237060547,29.149999618530273,29.100000381469727,28.549999237060547,29.850000381469727,30.299999237060547,31.149999618530273,32.20000076293945,32.599998474121094,31.850000381469727,33.400001525878906,32.0,31.5,32.0,31.5,31.799999237060547,32.25,31.0,28.950000762939453,28.799999237060547,29.850000381469727,32.70000076293945,30.200000762939453,30.149999618530273,31.850000381469727,30.200000762939453,31.950000762939453,30.700000762939453,30.100000381469727,31.0,31.899999618530273,31.5,25.200000762939453,24.600000381469727,21.899999618530273,19.899999618530273,21.350000381469727,17.780000686645508,16.65999984741211]}]}}],"error":null}} |