Pair Trading and Statistical Arbitrage

Statistical arbitrage and pair trading profit from spread mean reversion between two correlated assets, one long, one short.

TRADING & RISK5 min readBy AlgoSys Editorial TeamPublished Apr 25, 2026Updated Nov 28, 2026
Contents

Statistical arbitrage (stat arb, quantitative trading on statistical anomalies) and pair trading (simultaneous trades on two related assets) exploit temporary mispricings between assets that normally move together. The core assumption is simple: if the historical relationship between two prices is stable, then any deviation from it will eventually revert to the familiar mean. Experienced traders build strategies on this that generate small but frequent profits from predictable market anomalies.

The approach fits liquid crypto markets especially well, where large volumes constantly create brief windows of opportunity. When you find assets that move in sync, you can construct a position that profits from the divergence and subsequent convergence of their spread. An important feature is that such a position is market-neutral (one leg long, the other short), so the overall directional risk is far lower than in an ordinary bet on a rise or fall.

Understanding stat arb and pair trading helps you move beyond directional bets and diversify your strategy set. You gain a systematic way to find and exploit statistical patterns, and when executed carefully this provides a consistent edge across a wide range of market conditions.

MECHANICS

Everything starts with finding two assets with a high historical correlation, typically above a coefficient of 0.8. But correlation alone is not enough, so you supplement it with a cointegration test (a check that the prices share a stable long-term relationship rather than a coincidental one). Once a pair is identified, the trader monitors the spread between the prices, most often normalized through regression or standard deviation, to understand how far the current position deviates from normal.

For illustration, take two highly correlated altcoins, Asset A and Asset B. If their price ratio (A/B) moves noticeably away from its historical mean, a trader sells (short) the outperforming asset and buys (long) the underperforming one. The trade is designed to profit from the ratio returning to the mean: when the spread narrows back, the position closes at a profit, and that profit must cover the initial entry costs.

Transaction costs here are everything. A typical stat arb strategy targets a spread deviation of 2 standard deviations from the mean and aims for the mean itself, or 1 standard deviation, as its target. Say the trade is sized for roughly 0.5% P&L before fees. With fees around 0.05% per leg (meaning about 0.2% for the round trip across both assets in the pair), the spread must deviate widely enough that the move to the mean covers those costs and still leaves a profit. On centralized exchanges a trade hits your balance immediately after execution, while on DEXs settlement happens once the transaction is included in a block.

EXECUTION

In practice, a pair trade is assembled following a clear step-by-step algorithm:

  1. Build a pool of potentially related assets by similar market cap and sector.
  2. Calculate historical price correlations and run cointegration tests on asset pairs.
  3. Select a pair with a high correlation coefficient (for example, above 0.8) and statistical significance.
  4. Monitor the spread between the prices of the selected pair in real time.
  5. Set an entry trigger based on the spread deviating from the mean (for example, 2 standard deviations).
  6. When the trigger fires, simultaneously open a short on the outperforming asset and a long on the underperforming one.
  7. Set a profit target (spread reversion to the mean) and a stop-loss level.
  8. Monitor the position's P&L and tighten the stop as needed.
  9. Close the trade when the target is reached or the stop-loss is triggered.

Let us work through this at concrete levels. The spread between the pair stands at $10 and 1 standard deviation equals $1. Entry makes sense when the spread moves 2 standard deviations away, that is, to $12, with the target being reversion to the mean around $10. A logical stop sits just beyond the zone of normal fluctuations, for example at $12.50 to $13.00 (that is, 2.5 to 3 standard deviations). So you are risking roughly $0.50 to $1.00 for a $2.00 move, and the risk-to-reward ratio (R:R) is favorable provided the spread does indeed revert to the mean.

How to distinguish a real signal from a false one: a genuine opportunity rests on a pair that has passed a cointegration test and still maintains its relationship today. A false signal looks the same (the spread has moved 2 standard deviations), but a fundamental reason sits behind the divergence: a news event on one of the coins, a market regime shift, or the entry of a large player. In that case the spread does not return but continues to widen. So before entering, verify that the correlation and cointegration are still intact and that no recent news explains the gap.

COMMON MISTAKES

Most often traders forget that correlations change. A pair that used to move in lockstep can break apart due to a fundamental news event or a market regime shift. To avoid holding a position that is already a lost cause, correlation metrics and cointegration tests must be recalculated continuously, not just once at entry.

The second common mistake is underestimating costs. High fees or meaningful slippage on large orders can completely wipe out the potential profit. Before entering the trade, confirm that the expected spread reversion comfortably covers all expenses and leaves a positive P&L. The minimum expected return to aim for here is 0.5% to 1% before fees.

The third mistake, the truly critical one, is a lack of risk management discipline. Without a pre-defined stop-loss, a diverging pair turns into a large loss. Set the exit point in advance for the case where the spread widens beyond a certain threshold (for example, 3 standard deviations), to protect capital.

RISK MANAGEMENT

Position sizing matters above all. The basic rule: allocate no more than 1% to 2% of trading capital to a single pair trade. That way, even if the pair moves sharply against you, the impact on the portfolio stays manageable.

The stop is best tied to the statistics of the spread rather than to an arbitrary number. A typical level is 2.5 to 3 standard deviations from the mean: that is enough to ride out normal fluctuations while capping the loss from a genuine divergence. For example, with a spread of $10 and 1 standard deviation of $1, a reasonable stop-loss falls at $12.50 or $13.00.

Leverage is best used with great caution, and ideally not used at all. It increases not only returns but also losses and the risk of liquidation, and pair trading already targets market neutrality, so the strategy works fine without it. If you do use leverage, keep it below 2:1 to maintain a safe margin buffer and avoid a margin call.

FAQ

How is pair trading different from regular arbitrage?

Classic arbitrage catches the same coin at different prices on two exchanges and closes the gap almost instantly. Pair trading works with two different but related assets and bets that their relative price (the spread) will return to its familiar mean. It is not a risk-free trade but a statistical bet on mean reversion, so it requires a stop-loss and risk management.

What correlation is needed for a pair to be worth trading?

As a rule of thumb, look for a historical correlation above 0.8, but correlation alone is not enough. Correlation tells you the assets moved together; a cointegration test confirms there is a stable long-term relationship between them and that the spread genuinely tends to revert to the mean. Without cointegration a high correlation may be coincidental and can break apart at any moment.

Do you need leverage in pair trading?

Most of the time, no. The strategy already targets market neutrality (one leg long, the other short), so there is no need to chase leverage for returns. If you do use it, keep it below 2:1 to leave a margin buffer and avoid a margin call if the spread temporarily widens.

Why does the spread sometimes fail to return to the mean?

Because the relationship between the assets can break down. A fundamental news event on one of the coins, a market regime change, or the entry of a large player can permanently separate the pair. That is why correlation and cointegration are recalculated regularly, and a stop is set in case of a genuine divergence, typically around 3 standard deviations.

How do you decide on the profit target?

The logic is tied to the statistics of the spread, not to a percentage of price. Entry is usually made at a 2-standard-deviation move away from the mean, and the target is set at mean reversion or at 1 standard deviation. The key point is that the expected spread move (often aiming for 0.5% to 1% before fees) must comfortably cover fees and slippage; otherwise the trade is unprofitable before it even starts.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →