{"slug":"lehman-collapse-market-crash-2008","qid":"aftermath","label":"SPY closes and Treasury yields, September 15-19, 2008: the whipsaw week","post_title":"Lehman's Collapse: The 2008 Tape, Replayed","post_url":"/blog/lehman-collapse-market-crash-2008#q-aftermath","columns":["session","close_usd","change_pct","shares_m","tbill_3m_pct","y10_pct"],"rows":[{"session":"2008-09-15","close_usd":120.34,"change_pct":-4.3,"shares_m":465.5,"tbill_3m_pct":1.02,"y10_pct":3.47},{"session":"2008-09-16","close_usd":121.87,"change_pct":1.3,"shares_m":577.8,"tbill_3m_pct":0.84,"y10_pct":3.48},{"session":"2008-09-17","close_usd":116.3,"change_pct":-4.6,"shares_m":620.7,"tbill_3m_pct":0.03,"y10_pct":3.41},{"session":"2008-09-18","close_usd":120.6,"change_pct":3.7,"shares_m":763.7,"tbill_3m_pct":0.23,"y10_pct":3.54},{"session":"2008-09-19","close_usd":125.04,"change_pct":3.7,"shares_m":484.2,"tbill_3m_pct":0.99,"y10_pct":3.78}],"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,\n    tbill_3m_pct,\n    y10_pct\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 = 'SPY'\n          AND window_start >= toDateTime('2008-09-12 00:00:00') AND window_start < toDateTime('2008-09-19 23:59:00')\n        GROUP BY et_date\n    )\n) s\nLEFT JOIN (\n    SELECT date, round(toFloat64(yield_3_month), 2) AS tbill_3m_pct, round(toFloat64(yield_10_year), 2) AS y10_pct\n    FROM global_markets.treasury_yields\n    WHERE date BETWEEN '2008-09-15' AND '2008-09-19'\n) t ON s.et_date = t.date\nWHERE et_date >= toDate('2008-09-15') AND et_date <= toDate('2008-09-19')\nORDER BY et_date","computed_at":"2026-07-26T05:37:50.940026+00:00","elapsed":0.087165099}