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.1 KiB
JSON
1 line
6.1 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2525.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1757986200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":145.3,"fiftyTwoWeekHigh":244.0,"fiftyTwoWeekLow":116.3,"regularMarketDayHigh":148.0,"regularMarketDayLow":143.4,"regularMarketVolume":707374,"longName":"Hesai Group","shortName":"HESAI-W","chartPreviousClose":229.2,"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","ytd","max"]},"timestamp":[1757986200,1758072600,1758159000,1758245400,1758504600,1758591000,1758677400,1758763800,1758850200,1759109400,1759195800,1759368600,1759455000,1759714200,1759887000,1759973400,1760059800,1760319000,1760405400,1760491800,1760578200,1760664600,1760923800,1761010200,1761096600,1761183000,1761269400,1761528600,1761615000,1761787800,1761874200,1762133400,1762219800,1762306200,1762392600,1762479000,1762738200,1762824600,1762911000,1762997400,1763083800,1763343000,1763429400,1763515800,1763602200,1763688600,1763947800,1764034200,1764120600,1764207000,1764293400,1764552600,1764639000,1764725400,1764811800,1764898200],"indicators":{"quote":[{"close":[234.0,232.39999389648438,231.0,228.1999969482422,231.0,230.0,232.8000030517578,228.39999389648438,227.0,223.0,222.8000030517578,221.1999969482422,215.8000030517578,222.8000030517578,210.60000610351562,210.60000610351562,188.0,183.1999969482422,184.0,184.0,181.60000610351562,169.1999969482422,176.1999969482422,175.1999969482422,179.89999389648438,171.39999389648438,178.1999969482422,181.8000030517578,188.3000030517578,183.0,180.60000610351562,179.3000030517578,181.39999389648438,177.1999969482422,178.0,173.60000610351562,175.5,187.89999389648438,170.0,169.5,154.89999389648438,152.6999969482422,140.89999389648438,139.89999389648438,130.89999389648438,119.0999984741211,128.8000030517578,146.10000610351562,154.1999969482422,145.3000030517578,149.5,151.0,150.60000610351562,147.0,158.60000610351562,160.6999969482422],"high":[244.0,233.0,240.8000030517578,234.8000030517578,234.39999389648438,233.8000030517578,233.60000610351562,233.1999969482422,230.60000610351562,226.60000610351562,224.8000030517578,221.39999389648438,219.60000610351562,227.60000610351562,216.60000610351562,212.1999969482422,196.5,185.10000610351562,196.0,186.89999389648438,181.89999389648438,178.6999969482422,177.0,181.5,180.0,173.3000030517578,178.8000030517578,184.89999389648438,191.0,190.3000030517578,184.5,183.39999389648438,184.10000610351562,178.3000030517578,180.10000610351562,175.1999969482422,175.8000030517578,188.8000030517578,172.5,170.6999969482422,159.39999389648438,155.0,147.6999969482422,140.89999389648438,135.6999969482422,121.4000015258789,133.0,149.8000030517578,157.39999389648438,149.6999969482422,151.0,152.6999969482422,152.8000030517578,150.8000030517578,161.39999389648438,162.89999389648438],"open":[229.1999969482422,232.0,227.39999389648438,234.8000030517578,226.0,231.1999969482422,228.60000610351562,231.39999389648438,230.60000610351562,226.60000610351562,220.39999389648438,217.39999389648438,219.60000610351562,214.8000030517578,213.1999969482422,210.39999389648438,194.60000610351562,173.1999969482422,188.0,185.0,179.8000030517578,178.6999969482422,173.0,179.89999389648438,176.89999389648438,168.5,175.0,182.5,185.3000030517578,188.8000030517578,183.5,183.3000030517578,180.10000610351562,175.3000030517578,177.1999969482422,175.1999969482422,166.8000030517578,182.8000030517578,167.6999969482422,170.0,158.8000030517578,154.8000030517578,146.8000030517578,140.89999389648438,131.0,117.5999984741211,122.80000305175781,144.3000030517578,153.5,146.39999389648438,146.3000030517578,151.0,152.8000030517578,150.8000030517578,150.1999969482422,158.3000030517578],"volume":[5655182,1984118,2366029,1144598,1279380,927270,945820,1008848,418500,757168,461000,688368,680874,769816,1114400,610800,1524133,1527980,906900,463820,355180,810800,382440,573240,177580,612542,276020,369800,439460,298580,264440,228480,404180,292560,143360,222900,760700,660202,1772220,635620,1239770,322160,1209500,384900,1038977,1941780,1561810,2102600,1098696,806210,487525,391400,412370,375860,803860,2121302],"low":[229.1999969482422,228.0,226.0,227.0,225.60000610351562,228.8000030517578,227.0,228.39999389648438,225.39999389648438,219.39999389648438,217.60000610351562,216.1999969482422,215.60000610351562,213.1999969482422,210.0,208.60000610351562,188.0,173.0,184.0,180.0,178.60000610351562,168.3000030517578,173.0,174.10000610351562,176.3000030517578,166.8000030517578,174.1999969482422,181.1999969482422,185.3000030517578,180.8000030517578,180.60000610351562,176.10000610351562,180.10000610351562,171.8000030517578,176.5,172.5,165.89999389648438,182.8000030517578,165.89999389648438,166.0,154.0,151.6999969482422,139.8000030517578,137.1999969482422,130.0,116.30000305175781,121.30000305175781,141.8000030517578,153.5,144.8000030517578,145.5,149.6999969482422,147.8000030517578,146.39999389648438,149.0,157.0]}],"adjclose":[{"adjclose":[234.0,232.39999389648438,231.0,228.1999969482422,231.0,230.0,232.8000030517578,228.39999389648438,227.0,223.0,222.8000030517578,221.1999969482422,215.8000030517578,222.8000030517578,210.60000610351562,210.60000610351562,188.0,183.1999969482422,184.0,184.0,181.60000610351562,169.1999969482422,176.1999969482422,175.1999969482422,179.89999389648438,171.39999389648438,178.1999969482422,181.8000030517578,188.3000030517578,183.0,180.60000610351562,179.3000030517578,181.39999389648438,177.1999969482422,178.0,173.60000610351562,175.5,187.89999389648438,170.0,169.5,154.89999389648438,152.6999969482422,140.89999389648438,139.89999389648438,130.89999389648438,119.0999984741211,128.8000030517578,146.10000610351562,154.1999969482422,145.3000030517578,149.5,151.0,150.60000610351562,147.0,158.60000610351562,160.6999969482422]}]}}],"error":null}} |