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

2,707 answered market questions

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

Overnight Trading Order Types: Limit Only
The eight widest prior-close to regular-open distances in AAPL, Sep 2023 to Sep 2026table · 2026-09-27 · 8×5 Where AAPL's share volume sits on the ET clock, July to August 2026ranking · 2026-09-27 · 16×3Preview: 16 ranked values, largest first. AAPL quoted spread and top-of-book size by ET hour, September 15, 2026ranking · 2026-09-27 · 16×3Preview: 16 ranked values, largest first. Average quoted spread, 4 a.m. hour vs noon hour, September 15, 2026ranking · 2026-09-27 · 5×3Preview: 5 ranked values, largest first.
The eight widest prior-close to regular-open distances in AAPL, Sep 2023 to Sep 2026

The eight widest prior-close to regular-open distances in AAPL, Sep 2023 to Sep 2026

most recentas of table 8×5read in context →
The eight widest prior-close to regular-open distances in AAPL, Sep 2023 to Sep 2026 — 8 rows by 5 columns, computed from US exchange, SIP and OPRA data.
session_labelprior_closesession_opengap_pctopen_side
Aug 5, 2024219.86199.099.45below
Jul 31, 2026333.43304.818.58below
Apr 3, 2025223.89205.548.2below
May 3, 2024173.03186.647.87above
Apr 14, 2025198.15211.446.71above
May 12, 2025198.53210.976.27above
Apr 7, 2025188.38177.25.93below
Apr 10, 2025198.85189.064.92below
the exact SQL behind every number
WITH daily AS
(
    SELECT
        date,
        toFloat64(any(open))  AS open_px,
        toFloat64(any(close)) AS close_px
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'AAPL'
      AND date >= '2023-09-01'
      AND date <  '2026-09-01'
    GROUP BY date
),
gapped AS
(
    SELECT
        date,
        open_px,
        any(close_px) OVER (ORDER BY date ROWS BETWEEN 1 PRECEDING AND 1 PRECEDING) AS prior_close_px
    FROM daily
)
SELECT
    formatDateTime(date, '%b %e, %Y')                    AS session_label,
    round(prior_close_px, 2)                             AS prior_close,
    round(open_px, 2)                                    AS session_open,
    round(abs(open_px / prior_close_px - 1) * 100, 2)    AS gap_pct,
    if(open_px >= prior_close_px, 'above', 'below')      AS open_side
FROM gapped
WHERE prior_close_px > 0
ORDER BY gap_pct DESC
LIMIT 8
$