{"slug":"ukraine-invasion-market-2022","qid":"aftermath","label":"QQQ daily closes, February 22 – March 14, 2022","post_title":"Feb 24, 2022: War at the Open, Green by Close","post_url":"/blog/ukraine-invasion-market-2022#q-aftermath","columns":["session","close_usd","change_pct","shares_m"],"rows":[{"session":"2022-02-22","close_usd":338.09,"change_pct":-1,"shares_m":85.1},{"session":"2022-02-23","close_usd":329.41,"change_pct":-2.6,"shares_m":85.1},{"session":"2022-02-24","close_usd":340.65,"change_pct":3.4,"shares_m":128.5},{"session":"2022-02-25","close_usd":345.87,"change_pct":1.5,"shares_m":77.6},{"session":"2022-02-28","close_usd":347.15,"change_pct":0.4,"shares_m":76.4},{"session":"2022-03-01","close_usd":341.56,"change_pct":-1.6,"shares_m":66.8},{"session":"2022-03-02","close_usd":347.18,"change_pct":1.6,"shares_m":69.8},{"session":"2022-03-03","close_usd":342.26,"change_pct":-1.4,"shares_m":70.6},{"session":"2022-03-04","close_usd":337.35,"change_pct":-1.4,"shares_m":75.8},{"session":"2022-03-07","close_usd":324.83,"change_pct":-3.7,"shares_m":89.2},{"session":"2022-03-08","close_usd":323.28,"change_pct":-0.5,"shares_m":115.3},{"session":"2022-03-09","close_usd":335.05,"change_pct":3.6,"shares_m":63.8},{"session":"2022-03-10","close_usd":331.42,"change_pct":-1.1,"shares_m":68.7},{"session":"2022-03-11","close_usd":324.34,"change_pct":-2.1,"shares_m":65.6},{"session":"2022-03-14","close_usd":318.21,"change_pct":-1.9,"shares_m":78.9}],"shape":"series","sql":"SELECT\n    toString(et_date) AS session,\n    close_usd,\n    round(if(prev_close = 0, NULL, (close_usd / prev_close - 1) * 100), 1) AS change_pct,\n    shares_m\nFROM (\n    SELECT et_date, close_usd, shares_m,\n           lagInFrame(close_usd) OVER (ORDER BY et_date ASC ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) AS prev_close\n    FROM (\n        SELECT\n            toDate(toTimeZone(window_start, 'America/New_York')) AS et_date,\n            round(argMaxIf(toFloat64(close), window_start, (toHour(toTimeZone(window_start, 'America/New_York')) * 60 + toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959), 2) AS close_usd,\n            round(toFloat64(sum(volume)) / 1e6, 1) AS shares_m\n        FROM global_markets.delayed_stocks_minute_aggs\n        WHERE ticker = 'QQQ'\n          AND window_start >= toDateTime('2022-02-18 00:00:00') AND window_start < toDateTime('2022-03-15 23:59:00')\n        GROUP BY et_date\n    )\n)\nWHERE et_date >= toDate('2022-02-22') AND et_date <= toDate('2022-03-14')\nORDER BY et_date","computed_at":"2026-07-26T06:18:39.583979+00:00","elapsed":0.081300938}