{"slug":"market-recap-week-2026-07-06","qid":"baseline_sector_week","label":"Sector ETFs, full-week change: July 10 close vs July 2 close","post_title":"Market Recap: Week of July 6, 2026","post_url":"/blog/market-recap-week-2026-07-06#q-baseline_sector_week","columns":["ticker","week_pct"],"rows":[{"ticker":"XLB","week_pct":-2.1},{"ticker":"XLE","week_pct":3.5},{"ticker":"XLF","week_pct":0.2},{"ticker":"XLI","week_pct":-1.1},{"ticker":"XLK","week_pct":2.9},{"ticker":"XLP","week_pct":-1},{"ticker":"XLRE","week_pct":-0.5},{"ticker":"XLU","week_pct":-0.8},{"ticker":"XLV","week_pct":-1.8},{"ticker":"XLY","week_pct":0.1}],"shape":"ranking","sql":"SELECT ticker, round((cw / cp - 1) * 100, 1) AS week_pct\nFROM (\n    SELECT ticker,\n           toFloat64(argMaxIf(close, window_start, window_start < '2026-07-03 00:00:00')) AS cp,\n           toFloat64(argMaxIf(close, window_start, window_start >= '2026-07-10 13:30:00' AND window_start < '2026-07-10 20:00:00')) AS cw\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE ticker IN ('XLB', 'XLE', 'XLF', 'XLI', 'XLK', 'XLP', 'XLRE', 'XLU', 'XLV', 'XLY')\n      AND ((window_start >= '2026-07-02 13:30:00' AND window_start < '2026-07-02 20:00:00')\n        OR (window_start >= '2026-07-10 13:30:00' AND window_start < '2026-07-10 20:00:00'))\n    GROUP BY ticker\n)\nORDER BY ticker","computed_at":"2026-07-26T06:05:38.076382+00:00","elapsed":0.04957127}