Statistical arbitrage and pairs trading on crypto perps, with live Hyperliquid pairs

Updated Nov 12, 2026 · 7 min read

How statistical arbitrage and pairs trading work on perps: hedge ratios, z-scores, half-lives, costs and funding, with live ETH/BTC, SOL/ETH, SILVER/GOLD and AMD/NVDA readings (Nov 11, 2026).

What is statistical arbitrage? Statistical arbitrage bets that prices which usually move together will come back together after they drift apart. Pairs trading is its simplest form: when one asset gets expensive against the other, you short it and buy the other, sized so the market’s overall move roughly cancels, and close when the gap returns to normal. On Hyperliquid both legs can be perps, so you can short as easily as you buy. The risk is that the relationship breaks and the gap keeps widening.

Key takeaways

  • A pair needs more than correlation: the price ratio itself has to revert. Cointegration tests check that; correlation of returns does not.
  • Over the last 90 days, ETH and BTC daily returns had a correlation of 0.90, and the ETH/BTC ratio’s half-life was about 36 days.
  • HYPE/BTC and AMD/NVDA show why correlation isn’t enough: their ratios drifted, with half-lives of about 183 days (weak) and about 238 days (weak).
  • Costs add up: four fills per round trip, plus funding on both legs every hour.
  • The z-score of the ratio is a description, not a signal: a stretched pair can stay stretched.

How a pairs trade works

  1. 01Pick a pair with a reason to move together: two layer-1 coins, two chipmakers, gold and silver.
  2. 02Estimate the hedge ratio. Regress one asset’s returns on the other’s; the slope (beta) tells you how much of B hedges one unit of A.
  3. 03Build the spread as the log price ratio, or A − beta × B, and measure how far it sits from its average in standard deviations (the z-score).
  4. 04Enter when the spread is stretched, for example beyond ±2, by shorting the rich leg and buying the cheap one.
  5. 05Exit when it returns toward zero, and stop out if it keeps widening or the relationship breaks.

Run pairs and long/short strategies on Senpi

Senpi publishes this guide, and it runs this family of strategies without code: deploy an open-source template, change its levers in plain language, and it runs on Senpi’s runtime with a stop from the first fill. Four templates cover the main styles:

  • Chameleon z-scores the ETH/BTC, SOL/ETH and SOL/BTC ratios against their 48-hour average. When a ratio stretches 2 standard deviations or more and starts turning back, it takes one position in the higher-beta coin in the direction of the snap-back. It trades one leg, not both.
  • Octopus ranks liquid crypto perps by 24-hour relative strength, buys the strongest and shorts the weakest, both trend-confirmed, on two equally funded wallets so the book stays close to market-neutral.
  • Cougar runs the same long/short approach on tokenized US stocks such as xyz:NVDA, xyz:AMD and xyz:TSLA.
  • Relativity XYZ trades the spread between the strongest and weakest stocks, commodities and indices intraday, with the S&P’s trend deciding which side it may take. It uses up to 10x leverage and is rated aggressive.
  • Each book in its own wallet. Octopus and Cougar fund the long and short books in two separate strategy wallets, so each side’s margin is visible on its own.
  • Maker-first entries. Orders go to the book as maker orders first (0.015% at the base tier) with a taker fallback, which matters for a strategy that pays four fills per round trip.
  • A stop from the first fill. Strategies built from a rule or a template carry the Dynamic Stop-Loss (DSL), and each can have its own daily-loss or drawdown halt.
  • 0% Senpi fee on paid plans (0.03% on the free trial).

A strategy you confirm runs as code on Senpi’s runtime, and by default no AI model makes live trading decisions. The agent holds no key and cannot withdraw, and copy strategies carry at most a flat stop. Senpi has no backtesting tool; some templates cite a historical replay in their notes.

Live pairs on Hyperliquid

Correlation and hedge ratio use daily log returns over the last 90 days. The z-score compares today’s log price ratio with its 90-day average. The half-life is how long a gap took to halve on average across the full history (from a first-order fit); shorter means faster reversion.

PairCorrelation (90d)Hedge ratio (90d)Ratio change (90d)Z-score vs 90dHalf-lifeHistory
ETH/BTC0.901.26−6%−2.4about 36 days366 days from Nov 10, 2025
SOL/ETH0.850.891%−0.8about 17 days366 days from Nov 10, 2025
SOL/BTC0.861.25−5%−2.2about 39 days366 days from Nov 10, 2025
HYPE/BTC0.571.0311%−0.8about 183 days (weak)366 days from Nov 10, 2025
xyz:AMD/xyz:NVDA0.661.2741%+2.4about 238 days (weak)342 days from Dec 4, 2025
xyz:SILVER/xyz:GOLD0.901.57−14%−1.9about 24 days320 days from Dec 26, 2025
Source: Hyperliquid API, Nov 11, 2026, 13:05 UTC. Market data only; not a forecast or a trade signal.

ETH/BTC and SILVER/GOLD look most like tradable pairs here: high correlation and gaps that halved in about 36 days and about 24 days. AMD/NVDA is the warning: returns were correlated at 0.66, yet the ratio moved 41% in 90 days, so shorting the ‘rich’ leg would have kept losing. HYPE/BTC barely reverted at all.

Statistical arbitrage beyond pairs

  • Baskets and long/short books. Rank many assets by a signal, buy the top, short the bottom, and keep the book close to market-neutral.
  • Cross-asset dispersion. Bet on the gap between the day’s winners and losers rather than on the market’s direction.
  • Mean reversion on one asset. The single-asset cousin: fade a stretch from a moving average. See What is mean reversion?

Costs and risks on perps

  • Fees. A pairs round trip is four fills. On crypto perps at Hyperliquid’s base tier that is 4 × 0.045% = 0.18% as taker, or 0.06% as maker. Stock and commodity pairs on the XYZ DEX cost less on most markets, which run in growth mode at 0.009% taker and 0.003% maker; xyz:GOLD, xyz:MSTR and a few others pay 0.09% taker and 0.03% maker (Hyperliquid API, Nov 12, 2026).
  • Funding. Both legs pay or earn funding every hour. If both sit at Hyperliquid’s default, about 11% a year, the long pays and the short earns roughly the same; if one leg’s funding is far from the default, the carry can dominate. See Funding rates as a trading signal.
  • Leg risk. Fill one leg and not the other, and you hold a naked position.
  • Liquidation. Each perp leg has its own margin. A sharp move on the short leg can liquidate it while the long leg is still open.
  • Regime change. Relationships break on news, listings and narratives; a stop on the spread is part of the strategy.

Test the spread with costs and funding before you trade it: How to backtest a crypto trading strategy. Hyperliquid charges 0.015% for maker orders and 0.045% for taker orders at the base tier on crypto perps. Senpi adds 0% on paid plans and 0.03% on the free trial or without a paid plan.

What is statistical arbitrage in crypto?

A family of strategies that bet on relative prices returning to normal: pairs, baskets and long/short books. Instead of predicting whether the market goes up, they bet that a gap between related assets closes.

How does pairs trading work?

You pick two assets that usually move together, measure how far their price ratio has drifted from its average, short the expensive one and buy the cheap one, and close when the gap returns. The hedge ratio sets how much of each to hold.

What is the difference between correlation and cointegration?

Correlation measures whether two assets’ returns move together day to day. Cointegration asks whether their prices are tied together over time, so the gap between them reverts. Two assets can be correlated while their ratio drifts steadily, which breaks a pairs trade.

Is ETH/BTC a good pair to trade?

Historically it has been one of the most liquid and mean-reverting crypto pairs, with a half-life of about 36 days over the past year on Hyperliquid data. That is a description of the past, not a forecast, and the ratio can trend for months.

Can you do statistical arbitrage on Hyperliquid?

Yes. Both legs can be perps, so shorting is as easy as buying, and the API exposes the candles and order books you need. Remember that each leg has its own margin and funding.

Does Senpi run pairs trading strategies?

Yes. Chameleon trades ETH/BTC, SOL/ETH and SOL/BTC ratio reversions through one leg; Octopus and Cougar hold long and short books on two equally funded wallets, in crypto and in US stocks; Relativity XYZ trades the spread between leaders and laggards across stocks, commodities and indices.

Can I run a pairs trade without coding?

Yes, with a template. On Senpi you can deploy a pairs or long/short template, such as Octopus or Cougar, and change its levers in plain language. The agent reads the rules back to you before anything runs, and the strategy carries a stop from the first fill.

This is educational material, not financial advice. The market readings are data, not trade signals, and leveraged perps can lose money quickly.

Run a pairs strategy without code

Deploy Chameleon, Octopus or Cougar and adjust it in plain language. Senpi runs it with the stop attached from the first fill.

Try Senpi free
Share

Related articles