STRASMORE/EXPLORE 3,171 QUERIES

hit_rate

Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-10-07, from dragonfly-doji-follow-through.

as of ranking 3×4read in context →
hit_rate — 3 rows by 4 columns, computed from US exchange, SIP and OPRA data.
patternup_1d_pctup_5d_pctup_20d_pct
dragonfly46.655.360.3
gravestone55.254.961.4
other_days52.155.258.9
Rows × columns
3 × 4
Computed
Completeness
No missing values
Source
US exchange, SIP and OPRA market data
Licence
Strasmore terms · free, no signup
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for hit_rate, derived from the stored result.
ColumnTypeRangeNotes
pattern text 3 distinct values (dragonfly, gravestone, other_days)
up_1d_pct number 46.6 to 55.2 percent
up_5d_pct number 54.9 to 55.3 percent
up_20d_pct number 58.9 to 61.4 percent

Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.

Run it yourself

This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.

WITH bars AS
(
    SELECT
        ticker,
        date,
        toFloat64(open)  AS o,
        toFloat64(high)  AS h,
        toFloat64(low)   AS l,
        toFloat64(close) AS c
    FROM global_markets.stocks_daily_aggs
    WHERE ticker IN ('AAPL','MSFT','NVDA','AMZN','GOOGL','META','JPM','XOM','JNJ','KO','PG','WMT','HD','UNH','CVX','MRK','CSCO','PEP','SPY','QQQ')
      AND date >= '2006-01-01'
      AND date <  '2026-10-01'
      AND high > low
      AND low > 0
),
shaped AS
(
    SELECT
        ticker,
        date,
        c,
        h - l              AS rng,
        abs(c - o)         AS body,
        h - greatest(o, c) AS upper_wick,
        least(o, c) - l    AS lower_wick,
        0.01 * o           AS min_range,
        leadInFrame(c, 1)  OVER (PARTITION BY ticker ORDER BY date ASC ROWS BETWEEN CURRENT ROW AND 20 FOLLOWING) AS c_fwd1,
        leadInFrame(c, 5)  OVER (PARTITION BY ticker ORDER BY date ASC ROWS BETWEEN CURRENT ROW AND 20 FOLLOWING) AS c_fwd5,
        leadInFrame(c, 20) OVER (PARTITION BY ticker ORDER BY date ASC ROWS BETWEEN CURRENT ROW AND 20 FOLLOWING) AS c_fwd20
    FROM bars
),
tagged AS
(
    SELECT
        c,
        c_fwd1,
        c_fwd5,
        c_fwd20,
        multiIf(
            rng >= min_range AND body <= 0.10 * rng AND upper_wick <= 0.10 * rng, 'dragonfly',
            rng >= min_range AND body <= 0.10 * rng AND lower_wick <= 0.10 * rng, 'gravestone',
            'other_days') AS pattern
    FROM shaped
)
SELECT
    pattern,
    round(100 * countIf(c_fwd1  > c) / count(), 1) AS up_1d_pct,
    round(100 * countIf(c_fwd5  > c) / count(), 1) AS up_5d_pct,
    round(100 * countIf(c_fwd20 > c) / count(), 1) AS up_20d_pct
FROM tagged
WHERE c_fwd1 > 0 AND c_fwd5 > 0 AND c_fwd20 > 0
GROUP BY pattern
ORDER BY pattern
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.