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.3 KiB
JSON
1 line
5.3 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"1989.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1773970200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":180.0,"fiftyTwoWeekHigh":222.0,"fiftyTwoWeekLow":79.95,"regularMarketDayHigh":182.0,"regularMarketDayLow":163.5,"regularMarketVolume":1208460,"longName":"Delton Technology (Guangzhou) Inc.","shortName":"DELTON","chartPreviousClose":95.05,"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":[1773970200,1774229400,1774315800,1774402200,1774488600,1774575000,1774834200,1774920600,1775007000,1775093400,1775611800,1775698200,1775784600,1776043800,1776130200,1776216600,1776303000,1776389400,1776648600,1776735000,1776821400,1776907800,1776994200,1777253400,1777339800,1777426200,1777512600,1777858200,1777944600,1778031000,1778117400,1778203800,1778463000,1778549400,1778635800,1778722200,1778808600,1779067800,1779154200,1779240600,1779327000,1779413400,1779759000,1779845400,1779931800,1780018200,1780277400,1780363800,1780450200,1780536600,1780623000,1780882200],"indicators":{"quote":[{"low":[95.0,80.8499984741211,79.94999694824219,87.80000305175781,98.44999694824219,95.0,92.44999694824219,92.80000305175781,99.0,96.19999694824219,101.5,115.5,114.9000015258789,115.4000015258789,129.0,126.0999984741211,128.0,138.89999389648438,149.39999389648438,148.39999389648438,146.10000610351562,142.0,154.39999389648438,166.0,165.0,166.60000610351562,173.6999969482422,175.0,179.3000030517578,189.8000030517578,205.1999969482422,191.8000030517578,200.0,194.0,185.10000610351562,182.1999969482422,175.3000030517578,168.0,162.0,168.0,178.5,183.1999969482422,184.0,180.10000610351562,176.0,180.60000610351562,163.89999389648438,154.39999389648438,165.0,169.0,159.1999969482422,145.89999389648438],"volume":[26811648,5508567,4071468,5413935,6347225,2416500,2668698,2031500,3100752,1244600,4806767,4032900,3607556,4277280,2688904,1144300,2174382,7323440,2171097,3098900,2260400,4213200,4633038,2057200,1409300,1260805,1750004,426601,496102,3119616,1912146,1737700,2247830,1611300,1285240,2232216,1329916,2159812,1399900,1614700,1727300,2099800,1633718,1993300,978110,2467814,2145860,1592530,1229442,683900,885400,1246584],"open":[95.05000305175781,90.8499984741211,86.80000305175781,91.94999694824219,102.0,95.0,95.55000305175781,100.5,99.8499984741211,103.9000015258789,105.5,120.0,119.80000305175781,115.5,135.0,133.60000610351562,128.1999969482422,141.60000610351562,157.0,151.0,151.0,152.5,155.0,172.0,168.0,170.1999969482422,181.0,175.0,182.39999389648438,192.0,221.8000030517578,206.0,207.0,210.8000030517578,191.1999969482422,206.0,187.10000610351562,170.5,172.0,169.0,185.0,183.1999969482422,193.6999969482422,193.89999389648438,180.0,198.10000610351562,184.0,166.0,168.5,169.0,171.1999969482422,145.89999389648438],"high":[147.89999389648438,92.5,89.5,102.5999984741211,110.5999984741211,103.80000305175781,104.19999694824219,106.5,108.30000305175781,104.0,121.0,125.0,126.30000305175781,135.3000030517578,138.0,133.60000610351562,141.1999969482422,161.6999969482422,162.60000610351562,161.39999389648438,153.6999969482422,160.0,176.1999969482422,181.5,175.8000030517578,182.0,195.0,187.0,193.0,222.0,221.8000030517578,213.0,218.1999969482422,212.8000030517578,201.39999389648438,207.39999389648438,188.8000030517578,179.8000030517578,173.0,181.8000030517578,191.0,199.8000030517578,199.5,201.8000030517578,185.10000610351562,204.60000610351562,188.8000030517578,169.1999969482422,178.10000610351562,178.8000030517578,174.39999389648438,168.1999969482422],"close":[96.0,83.44999694824219,87.9000015258789,98.0,101.0,97.75,100.5,93.80000305175781,102.80000305175781,99.3499984741211,121.0,117.80000305175781,117.19999694824219,133.5,129.5,128.3000030517578,140.0,158.3000030517578,150.5,149.39999389648438,148.8000030517578,151.89999389648438,167.10000610351562,170.8000030517578,174.3000030517578,176.60000610351562,174.1999969482422,182.39999389648438,187.60000610351562,214.8000030517578,210.0,196.0,209.8000030517578,194.8000030517578,199.3000030517578,184.6999969482422,179.0,172.0,168.60000610351562,175.0,179.89999389648438,190.60000610351562,191.5,181.3000030517578,185.0,184.0,165.1999969482422,165.10000610351562,174.0,172.10000610351562,161.0,159.6999969482422]}],"adjclose":[{"adjclose":[96.0,83.44999694824219,87.9000015258789,98.0,101.0,97.75,100.5,93.80000305175781,102.80000305175781,99.3499984741211,121.0,117.80000305175781,117.19999694824219,133.5,129.5,128.3000030517578,140.0,158.3000030517578,150.5,149.39999389648438,148.8000030517578,151.89999389648438,167.10000610351562,170.8000030517578,174.3000030517578,176.60000610351562,174.1999969482422,182.39999389648438,187.60000610351562,214.8000030517578,210.0,196.0,209.8000030517578,194.8000030517578,199.3000030517578,184.6999969482422,179.0,172.0,168.60000610351562,175.0,179.89999389648438,190.60000610351562,191.5,181.3000030517578,185.0,184.0,165.1999969482422,165.10000610351562,174.0,172.10000610351562,161.0,159.6999969482422]}]}}],"error":null}} |