How to Do Pairs Trades on Dexly
Pairs trading — going long one asset and short a related one — lets you profit from a relative move while cancelling out broad market direction. Learn how to size, execute, and manage a spread trade on Dexly.
Key takeaways
- A pairs trade goes long one asset and short a related one, so the position profits from the two moving apart or together — not from the overall market going up or down.
- Because a shared market move affects both legs, it largely cancels out, leaving a market-neutral position whose P&L depends on the spread between the two assets.
- The legs are balanced by notional value (equal dollar exposure on each side), not by matching the number of contracts, since the two assets rarely share a price.
- The main costs are funding on both perp legs and the risk that the historical relationship between the two assets breaks down, so a pairs trade needs monitoring, not set-and-forget.
What Is Pairs Trading?
A pairs trade — also called a spread trade — is a position built from two legs at once: long one asset, short a related one. You are not betting that either asset rises or falls in isolation. You are betting on the relationship between them: that the long leg outperforms the short leg.
This is the core mechanic behind most thesis trades. Once you can balance two legs cleanly, you can express almost any relative-value view — one metal against another, a tech basket against an index, a strong asset against a weak one.
You Are Trading the Gap, Not the Level
Why a Spread Cancels Market Direction
When two related assets both get pulled by the same market wave, that shared move shows up in both legs. Since one leg is long and the other short, the shared component largely nets out. What is left is the difference in how the two assets moved — the spread.
Shared Move Cancels
A broad rally lifts both legs; the long gains and the short loses by a similar amount, so the market component nets close to zero.
Spread Remains
What survives is the relative performance — the reason you put the trade on. If your long outperforms, the position profits.
Lower Directional Risk
Because the market beta is stripped out, a flat or choppy tape does not sink the trade the way it would a single long.
Choosing a Pair
A pairs trade only makes sense if the two assets have a real relationship. Pairs generally come from one of three buckets:
| Pair Type | Idea | Example |
|---|---|---|
| Same Sector | Two assets driven by the same theme; you think one is stronger. | Two large-cap L1 tokens; long the one gaining share. |
| Ratio Trade | A historically mean-reverting ratio you expect to snap back. | The gold-to-silver ratio at an extreme. |
| Basket vs Benchmark | A themed basket against a broad benchmark. | A big-tech basket against a wider index. |
Confirm Both Legs Are Live
Sizing the Two Legs
The rule that makes or breaks a pairs trade: balance by notional (dollar exposure), never by the number of contracts. Two assets almost never share a price, so matching units quietly turns a spread into a directional bet.
Pick Your Total Size
Decide the dollar exposure per leg — say $10,000 a side. This is the notional, not a unit count.
Compute Units From Price
Divide the notional by each asset’s price to get the size for each leg. $10,000 of a $50 asset is 200 units; $10,000 of a $2,000 asset is 5 units.
Open Both Legs Together
Go long one leg and short the other at close to the same time so you are not left directional in the gap between fills.
Rebalance as Prices Move
If one leg runs, its notional grows and the spread tilts. Trim or add to restore equal dollar exposure if you want to stay neutral.
Equal Notional = Market-Neutral
Open a spread on Dexly
Executing a Pairs Trade on Dexly
Because Dexly holds every market in one self-custody account with shared collateral, both legs of a pair draw on the same margin and settle in the same place. Use cross margin so the two positions offset each other and free up capital.
- Use low leverage: A spread feels safe, which tempts oversizing. Liquidation on either leg breaks the hedge. Keep leverage low so both legs survive normal volatility.
- Enter close together: Open the long and the short within a short window so you are not left with a naked directional position between fills.
- Cross margin the pair: With cross margin, a gain on one leg supports the other, improving capital efficiency versus isolating each. See cross vs isolated margin.
- Track the spread, not the legs: Watch the ratio or difference between the two assets. That is your real position; the individual leg prices are noise.
Costs and Risks
Market-neutral is not risk-free. A pairs trade trades directional risk for a different, subtler set of risks.
- Funding on both legs: Each perp pays or earns funding. On a spread held for weeks, funding can dominate the P&L — check the rate on both sides before entering.
- Correlation breakdown: The relationship you are relying on can weaken or invert. If the two assets stop moving together, the hedge stops working.
- Liquidation risk: A sharp move against one leg can liquidate it, leaving the other leg naked and directional. Low leverage and cross margin reduce this.
- Execution slippage: Two legs mean two fills. In thin markets, slippage on either side eats into the spread you were trying to capture.
- Double the fees: You pay to open and close two positions, not one. The relative move has to clear that cost to be worth it.
Common Pairs Trades
Each of these applies the same notional-balanced mechanic to a different relationship:
Gold–Silver Ratio
Long one precious metal, short the other, when the ratio hits an extreme.
Magnificent Seven vs Index
Long the big-tech basket against a broader benchmark for relative value.
Dollar Debasement
Long hard assets against a short dollar proxy — a macro spread.
Hedging With Perps
The defensive cousin: short a perp against a spot holding you keep.
Open a Spread on Dexly
Both legs, one account, shared collateral. Pick a relationship you have a view on, size each side by notional, and open the pair from the same trading view.
Open a spread on Dexly
Perps, spot, copy & prediction markets in one fast, non-custodial app. Get Dexly on iOS & Android and start in seconds.
Keep Learning
Risk Warning: Trading perpetual futures involves significant risk of loss. Only trade with capital you can afford to lose. Dexly is a non-custodial interface; you are responsible for your own funds and trading decisions.
Frequently Asked Questions
Open a spread on Dexly

