wedge_frequency
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-06, from falling-wedge-pattern.
| ticker | wedge_count | wedge_rate_pct |
|---|---|---|
| CVX | 18 | 0.44 |
| INTC | 18 | 0.44 |
| HD | 16 | 0.39 |
| NVDA | 16 | 0.39 |
| MSFT | 14 | 0.34 |
| DIS | 13 | 0.31 |
| PFE | 13 | 0.31 |
| GOOGL | 9 | 0.3 |
| JNJ | 12 | 0.29 |
| T | 12 | 0.29 |
| GS | 11 | 0.27 |
| XOM | 11 | 0.27 |
| TSLA | 10 | 0.25 |
| BAC | 10 | 0.24 |
| CSCO | 9 | 0.22 |
- Rows × columns
- 15 × 3
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
ticker |
text | 15 distinct values (BAC, CSCO, CVX…) | |
wedge_count |
number | 9 to 18 | count |
wedge_rate_pct |
number | 0.22 to 0.44 | 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(high) AS hi,
toFloat64(low) AS lo,
toFloat64(close) AS px
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('AAPL','MSFT','NVDA','AMZN','GOOGL','META','TSLA','AVGO','JPM','BAC','WFC','GS','KO','PEP','PG','JNJ','PFE','MRK','XOM','CVX','WMT','HD','MCD','NKE','CSCO','INTC','IBM','T','VZ','DIS')
AND date >= '2010-01-04'
AND date <= '2026-09-30'
),
split_dates AS (
SELECT
ticker,
groupArray(execution_date) AS split_days
FROM
(
SELECT ticker, execution_date
FROM global_markets.stocks_splits
WHERE execution_date >= '2009-10-01'
GROUP BY ticker, execution_date
)
GROUP BY ticker
),
stepped AS (
SELECT
ticker,
date,
px,
hi - lo AS rng,
if(hi < lagInFrame(hi, 1) OVER w AND lo < lagInFrame(lo, 1) OVER w, 1, 0) AS lower_both
FROM bars
WINDOW w AS (PARTITION BY ticker ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)
),
feat AS (
SELECT
ticker,
date,
px,
sum(lower_both) OVER (PARTITION BY ticker ORDER BY date ROWS BETWEEN 3 PRECEDING AND CURRENT ROW) AS wedge_streak,
avg(rng) OVER (PARTITION BY ticker ORDER BY date ROWS BETWEEN 4 PRECEDING AND CURRENT ROW) AS rng5,
groupArray(rng) OVER (PARTITION BY ticker ORDER BY date ROWS BETWEEN 64 PRECEDING AND 5 PRECEDING) AS prior_rng,
lagInFrame(px, 5) OVER wf AS px_back5,
leadInFrame(px, 5) OVER wf AS px_fwd5,
leadInFrame(px, 10) OVER wf AS px_fwd10,
leadInFrame(px, 20) OVER wf AS px_fwd20
FROM stepped
WINDOW wf AS (PARTITION BY ticker ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)
),
scored AS (
SELECT
f.ticker AS ticker,
f.date AS date,
if(f.wedge_streak = 4 AND f.rng5 < arraySort(f.prior_rng)[15], 1, 0) AS is_wedge
FROM feat AS f
LEFT JOIN split_dates AS s ON s.ticker = f.ticker
WHERE length(f.prior_rng) = 60
AND f.px_back5 > 0
AND f.px_fwd5 > 0
AND f.px_fwd10 > 0
AND f.px_fwd20 > 0
AND NOT arrayExists(d -> (d >= f.date - 10) AND (d <= f.date + 32), s.split_days)
)
SELECT
ticker,
countIf(is_wedge = 1) AS wedge_count,
round(100 * countIf(is_wedge = 1) / count(), 2) AS wedge_rate_pct
FROM scored
GROUP BY ticker
ORDER BY wedge_rate_pct DESC, ticker ASC
LIMIT 15
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.