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.4 KiB
JSON
1 line
6.4 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"1541.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1693877400,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":3.96,"fiftyTwoWeekHigh":16.8,"fiftyTwoWeekLow":2.8,"regularMarketDayHigh":4.0,"regularMarketDayLow":3.65,"regularMarketVolume":1607800,"longName":"ImmuneOnco Biopharmaceuticals (Shanghai) Inc.","shortName":"IMMUNEONCO-B","chartPreviousClose":21.2,"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":[1693877400,1693963800,1694050200,1694395800,1694482200,1694568600,1694655000,1694741400,1695000600,1695087000,1695173400,1695259800,1695346200,1695605400,1695691800,1695778200,1695864600,1695951000,1696296600,1696383000,1696469400,1696555800,1696815000,1696901400,1696987800,1697074200,1697160600,1697419800,1697506200,1697592600,1697679000,1697765400,1698111000,1698197400,1698283800,1698370200,1698629400,1698715800,1698802200,1698888600,1698975000,1699234200,1699320600,1699407000,1699493400,1699579800,1699839000,1699925400,1700011800,1700098200,1700184600,1700443800,1700530200,1700616600,1700703000,1700789400],"indicators":{"quote":[{"volume":[894500,197000,210400,323200,343400,205400,178200,130200,169600,226200,235800,121200,75000,61600,69800,147400,219200,368200,95400,41800,153600,136000,12400,129800,133200,128400,128600,134400,150400,130200,122400,127200,40800,206000,116400,173200,151300,184400,122600,125000,122600,127000,118600,123800,130800,124200,117600,120400,117600,120800,115800,52400,25800,31800,53600,26800],"open":[21.200000762939453,19.520000457763672,19.299999237060547,19.899999618530273,23.049999237060547,26.5,25.200000762939453,26.350000381469727,25.049999237060547,26.0,26.149999618530273,28.299999237060547,27.0,26.350000381469727,26.950000762939453,27.450000762939453,26.799999237060547,27.899999618530273,30.899999618530273,30.600000381469727,27.299999237060547,24.149999618530273,25.700000762939453,26.200000762939453,26.200000762939453,26.299999237060547,26.950000762939453,28.450000762939453,26.649999618530273,28.350000381469727,27.5,27.549999237060547,27.899999618530273,29.25,28.649999618530273,27.899999618530273,29.899999618530273,29.600000381469727,30.100000381469727,30.5,28.049999237060547,27.350000381469727,27.600000381469727,27.450000762939453,27.5,27.600000381469727,27.299999237060547,27.25,27.700000762939453,27.149999618530273,27.200000762939453,27.950000762939453,27.600000381469727,27.899999618530273,28.5,29.049999237060547],"low":[19.299999237060547,18.600000381469727,18.799999237060547,19.420000076293945,23.049999237060547,24.899999618530273,23.299999237060547,25.0,25.0,25.049999237060547,25.649999618530273,26.600000381469727,25.75,25.899999618530273,26.950000762939453,26.25,26.5,27.899999618530273,30.049999237060547,27.299999237060547,24.399999618530273,24.149999618530273,25.450000762939453,25.149999618530273,25.899999618530273,25.5,26.950000762939453,26.549999237060547,26.399999618530273,27.399999618530273,27.350000381469727,27.399999618530273,27.899999618530273,28.600000381469727,28.299999237060547,27.899999618530273,29.0,29.25,29.299999237060547,28.049999237060547,26.75,26.600000381469727,26.799999237060547,26.75,26.799999237060547,27.0,26.850000381469727,27.200000762939453,27.0,27.149999618530273,27.0,27.5,27.600000381469727,27.899999618530273,28.200000762939453,29.049999237060547],"close":[19.520000457763672,19.299999237060547,19.799999237060547,24.100000381469727,25.899999618530273,25.0,25.950000762939453,25.850000381469727,25.799999237060547,26.200000762939453,28.0,27.450000762939453,26.549999237060547,27.0,27.450000762939453,27.5,28.0,30.950000762939453,30.899999618530273,27.299999237060547,24.950000762939453,25.700000762939453,26.200000762939453,26.200000762939453,26.299999237060547,27.0,28.100000381469727,26.649999618530273,28.399999618530273,28.100000381469727,27.600000381469727,27.700000762939453,29.5,28.600000381469727,28.549999237060547,29.649999618530273,30.0,31.049999237060547,30.549999237060547,28.100000381469727,27.25,26.600000381469727,27.200000762939453,28.399999618530273,27.0,27.0,27.25,27.200000762939453,27.600000381469727,27.200000762939453,27.950000762939453,27.600000381469727,27.799999237060547,28.0,29.049999237060547,29.049999237060547],"high":[22.0,20.0,20.399999618530273,24.100000381469727,27.450000762939453,27.5,26.549999237060547,26.799999237060547,26.299999237060547,26.700000762939453,28.700000762939453,29.299999237060547,27.049999237060547,27.149999618530273,27.799999237060547,28.0,28.0,30.950000762939453,32.150001525878906,30.600000381469727,27.299999237060547,26.0,26.700000762939453,26.799999237060547,26.399999618530273,27.0,29.149999618530273,28.5,28.799999237060547,28.350000381469727,27.799999237060547,28.299999237060547,30.0,31.5,29.049999237060547,29.850000381469727,31.0,31.450000762939453,30.649999618530273,30.5,28.100000381469727,27.700000762939453,27.700000762939453,28.5,27.5,27.600000381469727,27.350000381469727,27.700000762939453,27.700000762939453,27.600000381469727,28.200000762939453,27.950000762939453,28.200000762939453,28.0,29.450000762939453,30.0]}],"adjclose":[{"adjclose":[19.520000457763672,19.299999237060547,19.799999237060547,24.100000381469727,25.899999618530273,25.0,25.950000762939453,25.850000381469727,25.799999237060547,26.200000762939453,28.0,27.450000762939453,26.549999237060547,27.0,27.450000762939453,27.5,28.0,30.950000762939453,30.899999618530273,27.299999237060547,24.950000762939453,25.700000762939453,26.200000762939453,26.200000762939453,26.299999237060547,27.0,28.100000381469727,26.649999618530273,28.399999618530273,28.100000381469727,27.600000381469727,27.700000762939453,29.5,28.600000381469727,28.549999237060547,29.649999618530273,30.0,31.049999237060547,30.549999237060547,28.100000381469727,27.25,26.600000381469727,27.200000762939453,28.399999618530273,27.0,27.0,27.25,27.200000762939453,27.600000381469727,27.200000762939453,27.950000762939453,27.600000381469727,27.799999237060547,28.0,29.049999237060547,29.049999237060547]}]}}],"error":null}} |