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

2,173 answered market questions

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

International Fund NAV: Fair Value Pricing
The overnight and New York halves of the day, year by yearranking · 2026-08-10 · 6×3Preview: 6 ranked values, smallest first. Foreign listings during New York hours, sorted by the US large cap moveranking · 2026-08-10 · 5×4Preview: 5 ranked values, smallest first. Average move by New York half hour, two foreign listingsseries · 2026-08-10 · 25×3Preview: a 16-point series, ending lower. Where the daily move lands: overnight gap versus the New York sessionranking · 2026-08-10 · 6×3Preview: 6 ranked values, largest first.
The overnight and New York halves of the day, year by year

The overnight and New York halves of the day, year by year

most recentas of ranking 6×3read in context →
The overnight and New York halves of the day, year by year — 6 rows by 3 columns, computed from US exchange, SIP and OPRA data.
yearovernight_gap_pctopen_to_close_pct
20210.7140.535
20220.8260.969
20230.6990.552
20240.7640.435
20250.9590.528
20261.0850.792
the exact SQL behind every number
WITH daily AS
(
    SELECT
        date,
        toFloat64(open)  AS open_px,
        toFloat64(close) AS close_px,
        lagInFrame(toFloat64(close)) OVER (ORDER BY date
            ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) AS prior_close_px
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SONY'
      AND date >= '2016-01-01'
      AND date <  '2026-08-01'
)
SELECT
    toString(toYear(date)) AS year,
    round(quantileDeterministic(0.5)(abs(open_px / prior_close_px - 1) * 100, toUInt32(date)), 3) AS overnight_gap_pct,
    round(quantileDeterministic(0.5)(abs(close_px / open_px - 1) * 100, toUInt32(date)), 3)       AS open_to_close_pct
FROM daily
WHERE prior_close_px > 0
  AND open_px > 0
GROUP BY year
ORDER BY year
$