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
5.2 KiB
JSON
1 line
5.2 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2495.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1720575000,"regularMarketTime":1781510393,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":49.5,"fiftyTwoWeekHigh":117.7,"fiftyTwoWeekLow":44.28,"regularMarketDayHigh":52.05,"regularMarketDayLow":48.72,"regularMarketVolume":158620,"longName":"Voicecomm Technology Co., Ltd.","shortName":"VOICECOMM","chartPreviousClose":135.0,"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":[1720575000,1720661400,1720747800,1721007000,1721093400,1721179800,1721266200,1721352600,1721611800,1721698200,1721784600,1721871000,1721957400,1722216600,1722303000,1722389400,1722475800,1722562200,1722821400,1722907800,1722994200,1723080600,1723167000,1723426200,1723512600,1723599000,1723685400,1723771800,1724031000,1724117400,1724203800,1724290200,1724376600,1724635800,1724722200,1724808600,1724895000,1724981400,1725240600,1725327000,1725413400,1725499800,1725845400,1725931800,1726018200,1726104600,1726191000,1726450200,1726536600,1726709400,1726795800,1727055000,1727141400,1727227800,1727314200,1727400600],"indicators":{"quote":[{"open":[135.0,135.0,147.8000030517578,145.10000610351562,144.0,144.5,146.0,177.0,162.10000610351562,151.10000610351562,150.60000610351562,156.0,169.89999389648438,187.0,176.5,182.0,172.1999969482422,165.0,166.39999389648438,174.89999389648438,185.0,188.5,180.0,189.0,194.0,197.0,200.0,200.0,215.0,200.0,214.0,220.0,220.0,227.0,236.8000030517578,236.60000610351562,235.0,222.0,226.8000030517578,212.0,203.1999969482422,222.0,223.0,234.0,239.0,230.0,222.0,237.8000030517578,242.60000610351562,261.0,241.0,249.0,250.0,233.0,221.0,235.0],"low":[121.0,127.9000015258789,145.10000610351562,130.0,140.8000030517578,139.0,141.0,162.0,147.89999389648438,151.5,147.0,153.60000610351562,169.89999389648438,177.60000610351562,171.0,175.0,160.0,162.60000610351562,166.39999389648438,174.89999389648438,185.0,177.0,175.6999969482422,186.0,193.0,197.0,197.39999389648438,199.1999969482422,198.0,198.5,190.10000610351562,217.39999389648438,219.8000030517578,222.1999969482422,218.60000610351562,232.1999969482422,215.0,214.0,212.39999389648438,203.1999969482422,203.1999969482422,220.0,216.0,231.0,225.8000030517578,218.0,221.0,233.1999969482422,238.8000030517578,239.1999969482422,236.39999389648438,240.39999389648438,231.1999969482422,215.1999969482422,219.8000030517578,217.39999389648438],"close":[135.0,150.0,145.10000610351562,145.1999969482422,145.0,141.89999389648438,178.89999389648438,162.10000610351562,151.0,153.89999389648438,159.1999969482422,169.89999389648438,187.0,179.0,182.0,175.0,165.0,166.3000030517578,174.89999389648438,184.10000610351562,188.5,181.0,187.5,196.0,199.0,201.0,202.0,215.0,198.0,215.0,222.0,222.60000610351562,227.60000610351562,236.8000030517578,236.60000610351562,235.39999389648438,224.8000030517578,226.8000030517578,215.0,217.8000030517578,222.8000030517578,221.0,232.8000030517578,238.0,230.0,221.39999389648438,239.0,245.0,262.0,241.0,248.8000030517578,250.60000610351562,231.1999969482422,216.39999389648438,231.60000610351562,220.1999969482422],"volume":[237000,88912,37702,15460,8260,7640,79026,14400,21080,7500,9640,12060,41020,11040,8900,18960,23500,17380,16780,15900,16040,15080,16080,19540,15840,16640,15560,18900,23160,16160,19820,15220,21560,20240,15800,15980,17020,15420,16900,16360,15360,15340,19420,15820,15840,16040,22200,15340,21440,17040,15340,15460,18820,17400,16200,17420],"high":[139.89999389648438,150.0,156.0,152.5,146.8000030517578,144.5,178.89999389648438,177.0,166.0,166.0,165.0,170.6999969482422,188.3000030517578,187.0,184.0,192.5,183.60000610351562,174.0,179.89999389648438,184.10000610351562,194.0,187.6999969482422,190.0,198.0,202.60000610351562,201.0,202.39999389648438,215.8000030517578,219.8000030517578,217.0,224.0,223.8000030517578,230.0,244.0,242.8000030517578,237.8000030517578,235.0,230.60000610351562,226.8000030517578,219.39999389648438,227.0,231.60000610351562,233.0,239.8000030517578,239.0,231.39999389648438,242.0,249.0,264.0,261.6000061035156,249.39999389648438,256.79998779296875,255.0,239.8000030517578,236.0,239.0]}],"adjclose":[{"adjclose":[135.0,150.0,145.10000610351562,145.1999969482422,145.0,141.89999389648438,178.89999389648438,162.10000610351562,151.0,153.89999389648438,159.1999969482422,169.89999389648438,187.0,179.0,182.0,175.0,165.0,166.3000030517578,174.89999389648438,184.10000610351562,188.5,181.0,187.5,196.0,199.0,201.0,202.0,215.0,198.0,215.0,222.0,222.60000610351562,227.60000610351562,236.8000030517578,236.60000610351562,235.39999389648438,224.8000030517578,226.8000030517578,215.0,217.8000030517578,222.8000030517578,221.0,232.8000030517578,238.0,230.0,221.39999389648438,239.0,245.0,262.0,241.0,248.8000030517578,250.60000610351562,231.1999969482422,216.39999389648438,231.60000610351562,220.1999969482422]}]}}],"error":null}} |