{"slug":"market-recap-week-2026-06-29","qid":"baseline_breadth_week","label":"Advancers and decliners on the week, with the liquidity filter disclosed","post_title":"Market Recap: Week of June 29, 2026","post_url":"/blog/market-recap-week-2026-06-29#q-baseline_breadth_week","columns":["advancers","decliners","unchanged","dropped_by_liquidity_filter","tickers_with_both_closes"],"rows":[{"advancers":5049,"decliners":3529,"unchanged":39,"dropped_by_liquidity_filter":3157,"tickers_with_both_closes":11774}],"shape":"scalar","sql":"SELECT\n    countIf(chg > 0 AND NOT dropped) AS advancers,\n    countIf(chg < 0 AND NOT dropped) AS decliners,\n    countIf(chg = 0 AND NOT dropped) AS unchanged,\n    countIf(dropped) AS dropped_by_liquidity_filter,\n    count() AS tickers_with_both_closes\nFROM (\n    SELECT ticker,\n        argMaxIf(toFloat64(close), window_start, toDate(toTimeZone(window_start, 'America/New_York')) >= toDate('2026-06-29') AND (toHour(window_start) * 60 + toMinute(window_start)) BETWEEN 810 AND 1199)\n      - argMaxIf(toFloat64(close), window_start, toDate(toTimeZone(window_start, 'America/New_York')) <= toDate('2026-06-26') AND (toHour(window_start) * 60 + toMinute(window_start)) BETWEEN 810 AND 1199) AS chg,\n        sumIf(toFloat64(close) * toFloat64(volume), toDate(toTimeZone(window_start, 'America/New_York')) >= toDate('2026-06-29')) < 1e6 AS dropped\n    FROM global_markets.delayed_stocks_minute_aggs\n    WHERE window_start >= toDateTime('2026-06-26 00:00:00') AND window_start < toDateTime('2026-07-03 00:00:00')\n    GROUP BY ticker\n    HAVING countIf(toDate(toTimeZone(window_start, 'America/New_York')) <= toDate('2026-06-26') AND (toHour(window_start) * 60 + toMinute(window_start)) BETWEEN 810 AND 1199) > 0\n       AND countIf(toDate(toTimeZone(window_start, 'America/New_York')) >= toDate('2026-06-29') AND (toHour(window_start) * 60 + toMinute(window_start)) BETWEEN 810 AND 1199) > 0\n)","computed_at":"2026-07-26T06:04:59.949260+00:00","elapsed":2.156846307}