STRASMORE/EXPLORE 2,170 QUERIES 22Y EQUITIES · 12Y OPTIONS

2,170 answered market questions

every one with its exact SQL, its result and the date it was computed · free, no signup

NVDA's May 2023 Earnings: The AI Gap
The trillion-dollar crossing, receipted: first touch and first close above $404.86scalar · 2026-07-26 · 1×9197 NVDA daily closes from the pre-gap session through mid-June 2023series · 2026-07-26 · 17×4Preview: a 16-point series, ending higher. NVDA options: contracts, trades, call share, and premium by sessionseries · 2026-07-26 · 7×5Preview: a 7-point series, ending higher. NVDA: May 24, 2023 official close vs May 25 open, the overnight repricingscalar · 2026-07-26 · 1×5305.41 NVDA's ten largest overnight gaps up, 2003-presentseries · 2026-07-26 · 10×4Preview: a 10-point series, ending lower. NVDA on May 25, 2023: trading the day after the guidancescalar · 2026-07-26 · 1×12305.41 May 25, 2023, close to close: the semiconductor complex around NVDA's gapranking · 2026-07-26 · 9×4Preview: 9 ranked values, largest first.
The trillion-dollar crossing, receipted: first touch and first close above $404.86

The trillion-dollar crossing, receipted: first touch and first close above $404.86

most recentas of scalar 1×9read in context →
overnight cap added bn
197
first touch session
2023-05-30
first touch high
419.38
first touch close
401.13
sessions to first touch
3
first close session
2023-06-13
first close usd
410.23
sessions to first close
13
first close cum pct
34.3
the exact SQL behind every number
WITH
    daily AS (
        SELECT
            toDate(toTimeZone(window_start, 'America/New_York')) AS et_date,
            argMaxIf(toFloat64(close), window_start, (toHour(toTimeZone(window_start, 'America/New_York')) * 60 + toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959) AS rth_close,
            maxIf(toFloat64(high), (toHour(toTimeZone(window_start, 'America/New_York')) * 60 + toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959) AS rth_high
        FROM global_markets.delayed_stocks_minute_aggs
        WHERE ticker = 'NVDA'
          AND window_start >= toDateTime('2023-05-24 00:00:00') AND window_start < toDateTime('2023-06-20 00:00:00')
        GROUP BY et_date
    ),
    firsts AS (
        SELECT
            minIf(et_date, rth_high >= 404.86) AS ft,
            minIf(et_date, rth_close >= 404.86) AS fc
        FROM daily
    ),
    (SELECT any(rth_close) FROM daily WHERE et_date = toDate('2023-05-24')) AS pre_close,
    (
        SELECT argMinIf(toFloat64(open), window_start, (toHour(toTimeZone(window_start, 'America/New_York')) * 60 + toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959)
        FROM global_markets.delayed_stocks_minute_aggs
        WHERE ticker = 'NVDA'
          AND window_start >= toDateTime('2023-05-25 04:00:00') AND window_start < toDateTime('2023-05-26 00:00:00')
    ) AS may25_open
SELECT
    round((may25_open - pre_close) * 2.47, 0) AS overnight_cap_added_bn,
    toString(any(f.ft)) AS first_touch_session,
    round(anyIf(d.rth_high, d.et_date = f.ft), 2) AS first_touch_high,
    round(anyIf(d.rth_close, d.et_date = f.ft), 2) AS first_touch_close,
    countIf(d.et_date > toDate('2023-05-24') AND d.et_date <= f.ft) AS sessions_to_first_touch,
    toString(any(f.fc)) AS first_close_session,
    round(anyIf(d.rth_close, d.et_date = f.fc), 2) AS first_close_usd,
    countIf(d.et_date > toDate('2023-05-24') AND d.et_date <= f.fc) AS sessions_to_first_close,
    round((anyIf(d.rth_close, d.et_date = f.fc) / pre_close - 1) * 100, 1) AS first_close_cum_pct
FROM daily AS d
CROSS JOIN firsts AS f
$