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.1 KiB
JSON
1 line
6.1 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2432.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1734917400,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":28.34,"fiftyTwoWeekHigh":64.5,"fiftyTwoWeekLow":25.96,"regularMarketDayHigh":28.88,"regularMarketDayLow":28.02,"regularMarketVolume":2289966,"longName":"Shenzhen Dobot Corp Ltd","shortName":"DOBOT","chartPreviousClose":19.7,"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","ytd","max"]},"timestamp":[1734917400,1735003800,1735263000,1735522200,1735608600,1735781400,1735867800,1736127000,1736213400,1736299800,1736386200,1736472600,1736731800,1736818200,1736904600,1736991000,1737077400,1737336600,1737423000,1737509400,1737595800,1737682200,1737941400,1738027800,1738546200,1738632600,1738719000,1738805400,1738891800,1739151000,1739237400,1739323800,1739410200,1739496600,1739755800,1739842200,1739928600,1740015000,1740101400,1740360600,1740447000,1740533400,1740619800,1740706200,1740965400,1741051800,1741138200,1741224600,1741311000,1741570200,1741656600,1741743000,1741829400],"indicators":{"quote":[{"close":[18.940000534057617,19.3799991607666,23.700000762939453,23.950000762939453,24.200000762939453,19.100000381469727,19.040000915527344,19.139999389648438,18.81999969482422,18.799999237060547,18.799999237060547,18.799999237060547,18.81999969482422,19.899999618530273,20.0,20.299999237060547,20.5,20.950000762939453,21.0,21.0,20.850000381469727,23.100000381469727,25.0,24.649999618530273,24.950000762939453,24.399999618530273,23.25,25.0,26.700000762939453,26.299999237060547,26.049999237060547,26.799999237060547,27.200000762939453,28.899999618530273,29.399999618530273,29.0,31.200000762939453,31.049999237060547,32.79999923706055,31.200000762939453,31.450000762939453,33.25,33.349998474121094,31.5,31.700000762939453,32.45000076293945,33.75,34.900001525878906,34.599998474121094,36.45000076293945,40.54999923706055,51.70000076293945,62.25],"low":[18.780000686645508,19.3799991607666,19.239999771118164,21.549999237060547,24.200000762939453,19.040000915527344,18.65999984741211,18.600000381469727,18.799999237060547,18.799999237060547,18.799999237060547,18.799999237060547,18.420000076293945,18.81999969482422,19.65999984741211,19.899999618530273,19.799999237060547,20.5,20.399999618530273,20.149999618530273,20.700000762939453,21.0,23.100000381469727,24.649999618530273,23.799999237060547,23.549999237060547,22.200000762939453,23.200000762939453,24.899999618530273,25.600000381469727,25.899999618530273,26.100000381469727,26.799999237060547,27.0,27.600000381469727,28.0,28.850000381469727,29.850000381469727,31.200000762939453,30.350000381469727,29.450000762939453,30.450000762939453,32.599998474121094,30.899999618530273,29.850000381469727,30.75,32.25,34.0,33.5,34.04999923706055,35.20000076293945,41.04999923706055,52.04999923706055],"high":[21.399999618530273,19.3799991607666,24.950000762939453,24.600000381469727,24.200000762939453,23.5,19.780000686645508,19.440000534057617,19.399999618530273,19.139999389648438,19.0,18.8799991607666,19.399999618530273,19.899999618530273,21.450000762939453,21.5,21.0,21.0,21.350000381469727,21.049999237060547,21.799999237060547,23.299999237060547,25.5,24.649999618530273,25.200000762939453,24.950000762939453,24.450000762939453,25.200000762939453,28.5,27.350000381469727,27.5,27.850000381469727,28.25,29.200000762939453,31.299999237060547,30.200000762939453,31.5,32.04999923706055,33.45000076293945,32.75,32.349998474121094,33.79999923706055,35.0,33.29999923706055,33.0,33.45000076293945,34.849998474121094,35.400001525878906,35.75,38.20000076293945,41.20000076293945,57.20000076293945,68.8499984741211],"open":[19.700000762939453,19.3799991607666,19.399999618530273,22.600000381469727,24.200000762939453,23.5,19.1200008392334,19.040000915527344,19.139999389648438,18.8799991607666,18.799999237060547,18.799999237060547,18.799999237060547,18.81999969482422,19.899999618530273,20.0,20.5,20.700000762939453,21.0,20.649999618530273,20.700000762939453,21.149999618530273,23.100000381469727,24.649999618530273,24.5,24.950000762939453,24.450000762939453,23.200000762939453,24.950000762939453,27.350000381469727,26.700000762939453,26.100000381469727,26.950000762939453,27.350000381469727,28.899999618530273,30.0,29.100000381469727,31.0,31.5,32.5,30.350000381469727,31.450000762939453,33.25,33.29999923706055,31.549999237060547,31.75,32.79999923706055,34.0,34.70000076293945,37.400001525878906,36.0,42.95000076293945,52.599998474121094],"volume":[3105000,0,3033125,1089225,0,1555000,750200,326200,3758000,450600,711400,560800,633000,322600,354200,403800,235400,83400,212400,151600,160400,494000,687600,0,334200,281800,441400,469000,1592400,720400,484200,566200,1180200,928400,2755818,1113800,1326500,896200,1525400,1252400,1462600,1607200,1241400,1097000,1319800,1020800,1096000,966000,1944600,11243400,9270370,30015243,34030680]}],"adjclose":[{"adjclose":[18.940000534057617,19.3799991607666,23.700000762939453,23.950000762939453,24.200000762939453,19.100000381469727,19.040000915527344,19.139999389648438,18.81999969482422,18.799999237060547,18.799999237060547,18.799999237060547,18.81999969482422,19.899999618530273,20.0,20.299999237060547,20.5,20.950000762939453,21.0,21.0,20.850000381469727,23.100000381469727,25.0,24.649999618530273,24.950000762939453,24.399999618530273,23.25,25.0,26.700000762939453,26.299999237060547,26.049999237060547,26.799999237060547,27.200000762939453,28.899999618530273,29.399999618530273,29.0,31.200000762939453,31.049999237060547,32.79999923706055,31.200000762939453,31.450000762939453,33.25,33.349998474121094,31.5,31.700000762939453,32.45000076293945,33.75,34.900001525878906,34.599998474121094,36.45000076293945,40.54999923706055,51.70000076293945,62.25]}]}}],"error":null}} |