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
3.4 KiB
JSON
1 line
3.4 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"1236.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1778463000,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":40.3,"fiftyTwoWeekHigh":66.0,"fiftyTwoWeekLow":35.02,"regularMarketDayHigh":44.6,"regularMarketDayLow":40.3,"regularMarketVolume":393400,"longName":"Shenzhen Ldrobot Co., Ltd","shortName":"LDROBOT","chartPreviousClose":53.5,"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","ytd","max"]},"timestamp":[1778463000,1778549400,1778635800,1778722200,1778808600,1779067800,1779154200,1779240600,1779327000,1779413400,1779759000,1779845400,1779931800,1780018200,1780277400,1780363800,1780450200,1780536600,1780623000,1780882200,1780968600,1781055000,1781141400,1781227800,1781487000],"indicators":{"quote":[{"high":[66.0,63.95000076293945,52.0,50.5,46.900001525878906,46.08000183105469,42.599998474121094,42.91999816894531,42.5,41.91999816894531,42.599998474121094,42.599998474121094,42.36000061035156,40.52000045776367,38.36000061035156,38.79999923706055,42.15999984741211,41.7599983215332,39.18000030517578,39.400001525878906,41.599998474121094,42.36000061035156,43.79999923706055,44.400001525878906,44.599998474121094],"open":[53.5,62.79999923706055,52.0,47.880001068115234,45.31999969482422,46.08000183105469,41.29999923706055,41.400001525878906,41.02000045776367,38.81999969482422,41.900001525878906,38.97999954223633,39.0,38.540000915527344,38.29999923706055,35.84000015258789,37.7400016784668,41.7599983215332,39.0,36.400001525878906,39.65999984741211,39.47999954223633,40.380001068115234,44.0,44.599998474121094],"volume":[14659225,3359702,1143021,1109620,918778,730100,363690,182900,240100,533120,243300,330060,378800,250000,344200,374200,615490,204300,210800,352300,400600,580250,369400,325200,393400],"close":[60.0,51.599998474121094,47.84000015258789,45.31999969482422,46.08000183105469,41.29999923706055,41.400001525878906,41.02000045776367,38.81999969482422,41.900001525878906,38.97999954223633,39.599998474121094,39.86000061035156,38.20000076293945,35.84000015258789,37.7400016784668,41.7599983215332,39.0,36.5,39.20000076293945,40.099998474121094,40.81999969482422,42.779998779296875,42.79999923706055,40.29999923706055],"low":[50.29999923706055,50.099998474121094,45.29999923706055,45.02000045776367,43.13999938964844,41.0,39.040000915527344,40.0,38.279998779296875,35.5,37.5,38.0,38.779998779296875,38.0,35.7599983215332,35.02000045776367,37.58000183105469,39.0,36.29999923706055,35.439998626708984,38.880001068115234,39.380001068115234,40.380001068115234,42.79999923706055,40.29999923706055]}],"adjclose":[{"adjclose":[60.0,51.599998474121094,47.84000015258789,45.31999969482422,46.08000183105469,41.29999923706055,41.400001525878906,41.02000045776367,38.81999969482422,41.900001525878906,38.97999954223633,39.599998474121094,39.86000061035156,38.20000076293945,35.84000015258789,37.7400016784668,41.7599983215332,39.0,36.5,39.20000076293945,40.099998474121094,40.81999969482422,42.779998779296875,42.79999923706055,40.29999923706055]}]}}],"error":null}} |