📈 Quantitative Analysis

Find Correlated Stock Pairs
and Trade the Spread

YouDomo's Pairs Trading Model tests for cointegration between any two stocks, generates Z-score-based buy and sell signals, and backtests both spread and long-only strategies — across 3,500+ U.S.-listed stocks.

YouDomo Pairs Trading Model — Z-score chart with buy and sell signals
3,500+ US-Listed Stocks
2 Backtest Strategies
3 Instant Stats
Pro Unlocks All Pairs

Features

Everything You Need to Analyze a Stock Pair

From cointegration testing to live backtesting, YouDomo's Pairs Trading Model gives you the quantitative tools previously reserved for hedge fund desks.

📊

Pairs Analysis for 3,500+ Stocks

Select any two U.S.-listed stocks and instantly run a full cointegration analysis. Pro users can test any combination — free users can explore the model with KO and PEP.

🎯

Z-Score Buy & Sell Signals

The model calculates the normalized spread between two stocks and marks entry signals when the Z-score exceeds ±2 — the classic pairs trading threshold for mean reversion.

⚗️

Cointegration Testing

Uses the Engle-Granger cointegration test to determine whether two stocks move together over time. A low p-value signals a statistically meaningful long-run relationship.

📈

Spread Strategy Backtest

Backtests a classic long/short spread strategy — long the cheaper stock, short the expensive one — and plots cumulative returns against each stock's individual performance.

🔄

Long-Only Rotation Backtest

Backtests a long-only rotation strategy that holds whichever stock is statistically cheaper at any given time, going to cash when the spread is neutral.

Fast Stats: P-Value, Status & Correlation

Every analysis surfaces three instant stats: the Engle-Granger p-value, a cointegrated / not cointegrated status badge, and the Pearson correlation between the two stocks.

🔓

Unlock All 3,500+ Stock Pairs with Pro

Free users can run the model on KO and PEP. Upgrade to Pro to test any pair across the full YouDomo universe of US-listed stocks.

Upgrade to Pro →

Signal Generation

Know Exactly When to
Enter and Exit the Trade

The Z-score panel normalizes the price spread between your two stocks. When the spread stretches beyond ±2 standard deviations, the model fires a buy or sell signal — marking the precise point on the price chart with an arrow.

Run a free analysis with KO & PEP →
YouDomo Pairs Trading Z-Score signals chart

Backtesting

Two Strategies,
One View

See both the Engle-Granger spread strategy (long one, short the other) and the long-only rotation strategy plotted against individual stock returns since the first signal. A simple benchmark that answers: did the pairs strategy actually outperform just holding the stocks?

Try the backtester →
YouDomo Pairs Trading backtest results

From Two Tickers to a Full Analysis in Seconds

01

Enter two stock tickers

Type any two U.S.-listed stock symbols you want to test as a pair. Classic examples: KO / PEP, JPM / BAC, MSFT / GOOGL.

02

Run the analysis

The model pulls historical as far back as 2016 for some stocks, calculates normalized returns, tests for cointegration, and computes the rolling Z-score spread.

03

Read the signals

Buy signals (▲) appear when the spread hits −2. Sell signals (▼) appear at +2. Check the p-value to know whether the relationship is statistically valid.

04

Review the backtest

Scroll down to see how the spread strategy and long-only rotation performed historically versus simply holding either stock outright.


Fast Stats

Three Numbers That Tell
the Whole Story

Every pairs analysis surfaces three key statistics instantly — no spreadsheet required.

P-Value
< 0.05
The Engle-Granger test p-value. Below 0.05 means the pair is statistically cointegrated — the spread is likely to mean-revert.
Cointegration Status
COINTEGRATED
A green badge confirms statistical cointegration. A red badge signals the pair may not reliably revert — trade with caution.
Pearson Correlation
0.70+
The price correlation between the two stocks. High correlation (>0.70) is a prerequisite for a reliable pairs trade.

FAQ

Common Questions About Pairs Trading

Pairs trading is a market-neutral strategy that matches a long position in one stock with a short position in another that historically moves with it. When the spread between the two stocks diverges beyond a statistical threshold, you trade the expectation that the prices will converge again.
Two stocks are cointegrated when their prices share a long-run statistical relationship — even if each price wanders individually. The Engle-Granger test checks for this. A p-value below 0.05 means the spread between the stocks is statistically likely to mean-revert, which is the foundation of a valid pairs trade.
Pro users can test any combination of 3,500+ US-listed stocks. Free users can run the full model on the KO / PEP demo pair to explore all features before upgrading.
The model pulls daily adjusted close prices back to January 2017, giving you roughly 7+ years of price history for both the Z-score calculation and the backtests.
No. The Pairs Trading Model is a research and analysis tool. All outputs are for informational purposes only and do not constitute investment advice or a recommendation to buy or sell any security. Past backtest performance does not guarantee future results. Always do your own due diligence.

Run Your First Pairs Analysis Today

Free to start with KO & PEP. Upgrade to Pro for all 3,500+ stocks.

Run a Free Analysis → View Pro Features

Other YouDomo Tools