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":"2431.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1735263000,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":10.08,"fiftyTwoWeekHigh":31.45,"fiftyTwoWeekLow":7.91,"regularMarketDayHigh":10.5,"regularMarketDayLow":10.08,"regularMarketVolume":4329400,"longName":"Minieye Technology Co., Ltd","shortName":"MINIEYE","chartPreviousClose":18.6,"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","ytd","max"]},"timestamp":[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,1741915800,1742175000],"indicators":{"quote":[{"close":[19.399999618530273,19.399999618530273,19.600000381469727,17.5,17.299999237060547,17.5,17.5,17.0,17.040000915527344,17.8799991607666,18.18000030517578,17.780000686645508,19.360000610351562,19.31999969482422,18.579999923706055,18.860000610351562,18.559999465942383,18.68000030517578,18.760000228881836,19.3799991607666,20.75,20.799999237060547,19.799999237060547,19.979999542236328,19.860000610351562,19.780000686645508,22.700000762939453,24.75,23.850000381469727,25.75,25.0,26.0,27.0,30.200000762939453,30.299999237060547,29.649999618530273,30.049999237060547,29.899999618530273,29.649999618530273,29.5,30.0,27.450000762939453,27.850000381469727,28.049999237060547,29.299999237060547,28.75,28.700000762939453,26.200000762939453,26.75,27.600000381469727,28.649999618530273,27.200000762939453,26.100000381469727],"open":[18.600000381469727,19.100000381469727,19.600000381469727,19.299999237060547,17.399999618530273,17.399999618530273,17.459999084472656,17.219999313354492,17.0,17.040000915527344,18.0,17.780000686645508,18.360000610351562,19.68000030517578,19.440000534057617,19.34000015258789,18.860000610351562,18.940000534057617,19.0,18.540000915527344,19.3799991607666,20.799999237060547,20.200000762939453,19.420000076293945,19.579999923706055,19.860000610351562,19.780000686645508,22.700000762939453,24.75,23.850000381469727,25.75,24.350000381469727,27.350000381469727,27.0,30.25,30.049999237060547,30.450000762939453,30.75,29.5,28.549999237060547,30.0,30.100000381469727,28.549999237060547,29.0,28.850000381469727,30.5,30.0,29.5,25.399999618530273,27.850000381469727,29.0,28.649999618530273,26.899999618530273],"low":[17.639999389648438,18.81999969482422,19.600000381469727,16.700000762939453,17.0,17.200000762939453,17.0,17.0,17.0,17.040000915527344,17.260000228881836,17.540000915527344,17.700000762939453,18.8799991607666,18.020000457763672,18.139999389648438,18.219999313354492,18.100000381469727,18.399999618530273,18.440000534057617,19.1200008392334,20.799999237060547,19.360000610351562,19.420000076293945,19.399999618530273,19.479999542236328,19.780000686645508,22.200000762939453,23.0,23.950000762939453,24.350000381469727,24.350000381469727,26.350000381469727,27.0,29.5,28.5,29.700000762939453,28.049999237060547,28.350000381469727,28.549999237060547,28.600000381469727,26.649999618530273,27.100000381469727,26.950000762939453,27.600000381469727,28.399999618530273,27.600000381469727,25.399999618530273,25.25,26.399999618530273,27.600000381469727,26.350000381469727,25.299999237060547],"high":[19.399999618530273,19.399999618530273,19.600000381469727,19.299999237060547,18.139999389648438,17.8799991607666,17.579999923706055,17.459999084472656,17.299999237060547,18.040000915527344,18.34000015258789,18.0,20.200000762939453,19.68000030517578,19.739999771118164,19.34000015258789,19.079999923706055,18.940000534057617,19.0,19.3799991607666,21.200000762939453,20.799999237060547,20.5,20.25,19.940000534057617,19.959999084472656,23.149999618530273,25.899999618530273,25.399999618530273,27.049999237060547,25.950000762939453,26.450000762939453,28.0,30.450000762939453,31.299999237060547,30.5,30.799999237060547,31.75,29.950000762939453,29.950000762939453,30.950000762939453,30.100000381469727,28.799999237060547,29.0,29.450000762939453,30.5,30.0,29.5,27.299999237060547,30.5,34.29999923706055,29.899999618530273,27.850000381469727],"volume":[5996500,1236800,0,1076799,176600,94600,301000,102200,113600,149600,146600,30800,602800,193000,135400,121200,102000,44200,11800,243200,631100,0,346800,62800,74400,216000,603000,570800,223900,493800,301600,283200,372400,473400,1253400,647400,1151000,357800,278600,501000,673800,478200,412600,47200,206800,294600,3571600,1333200,658600,3460200,8058600,3062950,2196030]}],"adjclose":[{"adjclose":[19.399999618530273,19.399999618530273,19.600000381469727,17.5,17.299999237060547,17.5,17.5,17.0,17.040000915527344,17.8799991607666,18.18000030517578,17.780000686645508,19.360000610351562,19.31999969482422,18.579999923706055,18.860000610351562,18.559999465942383,18.68000030517578,18.760000228881836,19.3799991607666,20.75,20.799999237060547,19.799999237060547,19.979999542236328,19.860000610351562,19.780000686645508,22.700000762939453,24.75,23.850000381469727,25.75,25.0,26.0,27.0,30.200000762939453,30.299999237060547,29.649999618530273,30.049999237060547,29.899999618530273,29.649999618530273,29.5,30.0,27.450000762939453,27.850000381469727,28.049999237060547,29.299999237060547,28.75,28.700000762939453,26.200000762939453,26.75,27.600000381469727,28.649999618530273,27.200000762939453,26.100000381469727]}]}}],"error":null}} |