Pair detail

KEY / MS

Market: SPY | As of Jul 29, 2026 | Source: live

Pair overview

Bias uses the latest z-score sign (positive → short A / long B).

BiasSymbolCompanySector / IndustryMarket cap USDLast CloseDiv Yield
ShortKEYKeyCorpFinancial Services · Banks - Regional23.9B$22.183.70%
LongMSMorgan StanleyFinancial Services · Financial - Capital Markets320.5B$203.131.97%

Key metrics

Decision signals

Entry, sizing, and stability anchors for the trade.

Z-score?Z = (S - μ) / σ. Higher absolute values mean larger deviation; |z| >= 2 is often a potential entry.

+0.35

Hedge ratio (γ)?Units of B needed to hedge 1 unit of A. More stable ratios are easier to trade.

0.572

Correlation?Higher correlation is better for pair stability. Values close to 1 imply strong co-movement.

0.55

Half-life (days)?Estimated mean-reversion speed. Lower days mean faster reversion.

23.8

ADF p-value?Stationarity test on the spread. Lower is better; below 0.05 is preferred.

0.057

Quality13/100
FGrade
Signal?Signal is derived from z-score vs entry/exit thresholds. Long spread means long A and short B; short spread is the opposite.

Neutral

z = +0.35?Current standardized spread. Positive means A rich vs B; negative means A cheap vs B.
Entry threshold?Entry zone for trades. Higher absolute z means more extreme deviation.|z| ≥ 2.0
Exit threshold?Exit zone. When |z| returns near zero, the spread has mean-reverted.|z| ≤ 0.5
Distance to entry?How far the current |z| is from the entry threshold.1.65
Trade bias?Explicit long/short legs for the spread. Positive z implies A rich vs B; negative z implies A cheap vs B.No trade now. If z >= +2.0: short KEY, long MS. If z <= -2.0: long KEY, short MS. Size: 1x KEY vs 0.57x MS.

Backtest

Historical performance

Rule-based outcomes over the lookback window.

Backtest reality check

Historical trade outcomes using the entry/exit rules.

Trades (lookback)2
Trades / year2.0
Win rate100%
Median hold54.0d
Avg return (gross)10.46%
Avg return (net)10.46%
Max drawdown4.38%
Profit factor
Sharpe5.54
Best / worst12.35% / 8.58%

Backtest trades

Showing 2 of 2
EntryExitSideHoldNet
2026-02-052026-03-11Short KEY / Long MS34d+8.58%
2025-10-162025-12-09Long KEY / Short MS54d+12.35%

Charts

Behavior over time

Price, spread, and hedged path context.

Z-score

Z-score trajectory with entry/exit bands.

Chart window: 90d
Entry ±2.0Exit ±0.5

Leg prices (normalized)

Relative move of each leg across the window.

Chart window: 90d

Normalized to 100 at window start.

Hedged position

Hedged spread with entry-zone shading.

Chart window: 90d

Spread = A - (alpha + gamma · B)

Model diagnostics

Spread mechanics

Helpful for validation and monitoring.

Raw spread?Raw spread = A - γ·B in price space. Positive means A is rich vs B.

-93.9579

Price-space spread

Residual spread?Residual spread = residual(A) - (alpha + gamma · residual(B)). Market-neutralized via index regression.

0.018657

Market-neutral residual spread

Pair intercept?OLS intercept for the pair regression. Closer to 0 is cleaner.

-0.0122

OLS intercept on residualized returns

Rolling corr std (21d)?Rolling correlation variability. Lower values indicate more stable pairs.

0.189

Stability (21d rolling)

Mean corr?Average rolling correlation. Higher is better for stable pairs.0.545
Std dev?Standard deviation of rolling correlation. Lower means more stable.0.189
Min / Max?Range of rolling correlation. Higher minimum indicates stronger stability.0.089 / 0.905
Below 0.70?Count of 21d windows where correlation dropped below the minimum threshold. Lower is better.180

Window 252d

Z-score distribution

Percentile?Position of current z-score within the window. Near 0 or 100 indicates extremes.60%
Min / Max?Historical extremes of z-score in the chart window.-2.62 / +2.36
Mean reversions?Count of times z crossed from entry zone back to exit zone. More events imply more opportunities.2

Entry |z| ≥ 2.0 · Exit |z| ≤ 0.5

Risk & invalidation

MAE (median)0.15z
MAE (max)0.15z
Stop suggestionz > 3.5
Regime min corr0.089
Rolling corr min 0.089 → regime risk high

Z-score context

Spread mean (mu)-0.000000
Spread std (sigma)0.052721
Robust Z (MAD)Off
Z = (S - mu) / sigma | Window 252d

Quality score

Composite of cointegration, stability, and mean reversion signals.

F13/100
Cointegration (ADF)Weak
Stability (corr std)Volatile
Mean reversionSlow
LiquidityUnknown
Regime riskHigh

Model transparency

Regression uses OLS on market-neutral residual returns. ADF test is applied to the residual spread series.

Window 252d · Lookback 10y
Z-score window: 252d trading days
Correlation window: 252d trading days
Spread formula: S = A - (alpha + gamma * B) | Raw spread: A - gamma * B
Entry |z| ≥ 2.0 · Exit |z| ≤ 0.5
Min correlation filter: 0.70
KEY-MS overview | PairScreener