Pair detail

APA / OXY

Market: SPY | As of Mar 20, 2026 | Source: live

Pair overview

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

BiasSymbolCompanySector / IndustryMarket cap USDLast CloseDiv Yield
ShortAPAAPA CorporationEnergy · Oil & Gas Exploration & Production13.8B$39.182.55%
LongOXYOccidental Petroleum CorporationEnergy · Oil & Gas Exploration & Production60.4B$61.191.60%

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.

+2.35

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

0.830

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

0.85

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

10.7

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

0.005

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

Short spread

z = +2.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.0.00
Trade bias?Explicit long/short legs for the spread. Positive z implies A rich vs B; negative z implies A cheap vs B.Short APA, long OXY. Size: 1x APA vs 0.83x OXY.

Backtest

Historical performance

Rule-based outcomes over the lookback window.

Backtest reality check

Historical trade outcomes using the entry/exit rules.

Trades (lookback)4
Trades / year4.0
Win rate75%
Median hold26.0d
Avg return (gross)8.04%
Avg return (net)8.04%
Max drawdown3.87%
Profit factor46.91
Sharpe2.31
Best / worst13.93% / -0.70%

Backtest trades

Showing 4 of 4
EntryExitSideHoldNet
2026-03-192026-03-20Short APA / Long OXY1d-0.70%
2025-12-032025-12-29Short APA / Long OXY26d+5.55%
2025-07-252025-08-25Long APA / Short OXY31d+13.93%
2025-03-202025-04-04Short APA / Long OXY15d+13.36%

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.

-11.5996

Price-space spread

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

0.120033

Market-neutral residual spread

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

-0.1093

OLS intercept on residualized returns

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

0.116

Stability (21d rolling)

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

Window 252d

Z-score distribution

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

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

Risk & invalidation

MAE (median)0.26z
MAE (max)0.39z
Stop suggestionz > 3.5
Regime min corr0.437
Rolling corr min 0.437 → regime risk high

Z-score context

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

Quality score

Composite of cointegration, stability, and mean reversion signals.

D45/100
Cointegration (ADF)Pass
Stability (corr std)Volatile
Mean reversionFast
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
APA-OXY overview | PairScreener