STRASMORE/EXPLORE 3,256 QUERIES 22Y EQUITIES · 12Y OPTIONS

3,256 answered market questions

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

Trailing Stop vs Trailing Stop-Limit Orders
When each trail width would first have been reached, same position, January to June 2022series · 2026-10-08 · 5×4Preview: a 5-point series, ending lower. A 10% trail ratcheting under AAPL's high-water close, January to mid-March 2022series · 2026-10-08 · 50×5Preview: a 16-point series, roughly flat. How far SPY's open sat from the prior close, every session since 2006ranking · 2026-10-08 · 6×3Preview: 6 ranked values, smallest first. The ten deepest gap-down opens in SPY since 2006, and where those sessions tradedranking · 2026-10-08 · 10×4Preview: 10 ranked values, largest first.
Stock Order Types Explained: The Core Four
AAPL average quoted spread by ET clock time, Sep 16 2026series · 2026-10-08 · 64×3Preview: a 16-point series, ending lower. Average quoted spread across six household names, one mid-morning hourranking · 2026-10-08 · 6×3Preview: 6 ranked values, smallest first. How often a buy limit under the prior close was reached (AAPL, one year of sessions)ranking · 2026-10-08 · 6×2Preview: 6 ranked values, largest first. Overnight gap between one close and the next open, year to Sep 2026ranking · 2026-10-08 · 6×4Preview: 6 ranked values, largest first.
Forex Pending Order Types: Limits & Stops
Median and 95th-percentile opening step by weekday (SPY, 2016 to 2026)series · 2026-10-07 · 5×3Preview: a 5-point series, roughly flat. How often a session reached a level set away from the open (SPY, 2016 to 2026)ranking · 2026-10-07 · 5×3Preview: 5 ranked values, largest first. How far the open landed from the prior close (SPY sessions, 2016 to 2026)ranking · 2026-10-07 · 6×3Preview: 6 ranked values, largest first. The ten largest opening steps in SPY, 2016 to 2026series · 2026-10-07 · 10×4Preview: a 10-point series, ending lower.
Buy Stop vs Sell Stop Orders: How Each Fires
How often a 2 percent stop distance gets touched, by nameranking · 2026-10-06 · 6×3Preview: 6 ranked values, largest first. KO quoted spread by half hour of the ET clock, one pinned sessionseries · 2026-10-06 · 14×3Preview: a 14-point series, ending lower. SPY: share of sessions opening a given distance from the prior closeranking · 2026-10-06 · 5×3Preview: 5 ranked values, largest first. Apple's eight widest downside opening gaps since 2021ranking · 2026-10-06 · 8×4Preview: 8 ranked values, largest first.
Bracket Orders and OCO Orders Explained
Share of SPY sessions reaching a given distance from the open (Aug 2023 to Jul 2026)ranking · 2026-10-04 · 6×3Preview: 6 ranked values, largest first. AAPL's ten largest overnight gaps down, Jan 2023 to Jun 2026ranking · 2026-10-04 · 10×2Preview: 10 ranked values, smallest first. Typical daily range and open-to-close move, trailing yearranking · 2026-10-04 · 6×3Preview: 6 ranked values, largest first. SPY minute-bar movement and volume by ET clock timeseries · 2026-10-04 · 32×3Preview: a 16-point series, roughly flat.
Why Stop Orders Fill Below Your Stop
KO's quoted spread and displayed size across one full trading day, 15 September 2026series · 2026-10-03 · 27×4Preview: a 16-point series, ending higher. SPY's twelve deepest gap-down opens since 2021, measured against the prior closeseries · 2026-10-03 · 12×4Preview: a 12-point series, ending lower. How often six household names open under the prior closetable · 2026-10-03 · 6×5
What Is a Liquidity Sweep in Trading?
SPY 2025: the ten widest pokes above the prior day's high that closed back below itseries · 2026-09-28 · 10×7Preview: a 10-point series, ending lower. Inside the widest 2025 SPY sweep day: fifteen-minute high, low and volumeseries · 2026-09-28 · 26×4Preview: a 16-point series, ending lower. Volume in the fifteen minutes that printed the high, beside the session's median and busiest slicesranking · 2026-09-28 · 3×2Preview: 3 ranked values, smallest first. SPY: share of sessions that swept the prior day's high or low, by yearranking · 2026-09-28 · 5×3Preview: 5 ranked values, smallest first. How often a session pokes through the prior day's high or low and closes back inside, 2021 to 2025table · 2026-09-28 · 7×6
When each trail width would first have been reached, same position, January to June 2022

When each trail width would first have been reached, same position, January to June 2022

most recentas of series 5×4read in context →
When each trail width would first have been reached, same position, January to June 2022 — 5 rows by 4 columns, computed from US exchange, SIP and OPRA data.
labelfirst_trigger_daydays_into_windowcloses_at_or_below_trail
5% trailJan 6, 20223104
8% trailJan 19, 20221682
10% trailJan 21, 20221865
15% trailMar 14, 20227038
20% trailMay 12, 202212925
the exact SQL behind every number
WITH daily AS
(
    SELECT
        date,
        toFloat64(any(close)) AS close_px
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'AAPL'
      AND date >= '2022-01-03'
      AND date <  '2022-07-01'
    GROUP BY date
),
marked AS
(
    SELECT
        date,
        close_px,
        max(close_px) OVER (ORDER BY date ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS peak_close
    FROM daily
),
widths AS
(
    SELECT arrayJoin([5, 8, 10, 15, 20]) AS trail_pct
)
SELECT
    concat(toString(w.trail_pct), '% trail')           AS label,
    formatDateTime(min(m.date), '%b %e, %Y')           AS first_trigger_day,
    dateDiff('day', toDate('2022-01-03'), min(m.date)) AS days_into_window,
    count()                                            AS closes_at_or_below_trail
FROM marked AS m
CROSS JOIN widths AS w
WHERE m.close_px <= m.peak_close * (1 - w.trail_pct / 100)
GROUP BY w.trail_pct
ORDER BY w.trail_pct ASC
$