HomeBlogCross-Exchange Arbitrage on DEX Perpetuals
Strategy10 min readApril 3, 2026

Cross-Exchange Arbitrage on DEX Perpetuals

How to find and execute arbitrage opportunities across DEX perpetuals. Types of arb, profitability after execution costs, tools, and risks.

Cross-Exchange Arbitrage on DEX Perpetuals: The Opportunity and the Reality

Arbitrage is the closest thing to free money in financial markets — buying an asset at a lower price on one venue and simultaneously selling it at a higher price on another, capturing the spread as risk-free profit. In theory. In practice, arbitrage between decentralized perpetual exchanges is a highly competitive, infrastructure-intensive activity where the difference between a profitable strategy and a losing one often comes down to a handful of basis points in execution cost. Understanding this game — what the opportunities are, why execution cost is the pivotal variable, and how to think about risk — is essential whether you intend to arbitrage yourself or simply want to understand how the market stays efficient.

DEX perpetual arbitrage is also a fundamentally different activity from traditional financial arbitrage or even CEX-to-CEX crypto arbitrage. The on-chain settlement model, gas costs, block confirmation times, and the nature of perpetual contract pricing all create a unique set of constraints and opportunities that do not exist in traditional markets. This guide covers each major arbitrage type, the key variables that determine profitability, and the specific role that execution cost data from LiquidView plays in identifying and evaluating opportunities.

LiquidView's API provides programmatic access to real-time execution cost data across all major DEX perpetuals. Arbitrageurs can query this data to identify cross-exchange price and cost differentials before they disappear.

Types of DEX Perpetual Arbitrage

There are three main categories of arbitrage opportunity in the DEX perpetual space, each with different frequencies, durations, and profit profiles.

  • Price arbitrage: The classic form. The same perpetual (e.g., BTC-USD) trades at different prices on two exchanges simultaneously. You buy on the cheaper exchange and short on the more expensive one, locking in the spread. On efficient, well-connected DEXs, price disparities are usually small and short-lived — often measured in seconds. Profitable price arb requires very low execution costs and very fast order submission to capture opportunities before they close.
  • Funding rate arbitrage: Funding rates diverge across exchanges. You go long on an exchange where funding favors longs (you receive payments) while simultaneously shorting on an exchange where funding favors shorts (you also receive payments on the short side). If done correctly, both legs earn positive funding while the price exposure of the two positions offsets. This is a slower, more capital-efficient form of arb — positions can be held for days or weeks while funding accrues.
  • Execution cost arbitrage: Less commonly discussed but equally real. When Exchange A has significantly higher execution costs than Exchange B for a given order size, sophisticated traders can route all their directional order flow through Exchange B while using Exchange A only for hedging, effectively capturing the cost differential over time. This is less a distinct arb strategy and more a cost optimization that compounds into a meaningful advantage at scale.

Price arbitrage requires the most infrastructure and speed. Funding rate arbitrage requires capital and patience but is more accessible. Execution cost optimization is available to any active trader who takes the time to measure and route intelligently.

Why Execution Cost Is the Key Variable in DEX Arbitrage

In any arbitrage strategy, the profit is the price (or rate) differential minus the costs of executing both legs. When the costs exceed the differential, there is no arbitrage opportunity — there is only a guaranteed loss dressed up as an opportunity. This is why execution cost is not a secondary consideration in DEX arb; it is the primary determinant of whether any given spread is worth pursuing.

For price arbitrage, the spread between two exchanges needs to exceed the round-trip execution cost on both legs combined. If BTC-USD is 0.5 bps higher on Paradex than on Hyperliquid, and your round-trip execution cost is 3 bps on each exchange (6 bps total), the "opportunity" is actually a guaranteed 5.5 bps loss per trade. The spread would need to exceed 6 bps before a single trade breaks even — and by the time you execute, it will likely have narrowed. Profitable price arb on highly liquid DEXs typically requires round-trip costs below 4 bps total across both legs.

For funding rate arbitrage, execution cost is a one-time entry and exit expense amortized over the life of the position. A 6 bps total round-trip cost, spread over a 14-day funding arb position, amounts to roughly 0.43 bps per day — easily covered by a 2–3 bps per day funding differential. This is why funding arb is far more accessible than price arb for traders who cannot compete on sub-second execution infrastructure.

Never evaluate an arbitrage opportunity without first measuring the all-in execution cost on both legs. What looks like a 10 bps spread on a price chart may only generate 2–3 bps of actual profit after fees, slippage, and gas — and that thin margin can be wiped out by a single unexpected gas spike or price move during execution.

Calculating Profit After All Costs: A Realistic Framework

The accurate profit calculation for a DEX perpetual arbitrage trade must include every cost component, not just the headline fee. Missing any one of them leads to overestimating profitability and taking trades that actually lose money.

Net Profit (bps) = Price Differential (bps) − Taker Fee Leg 1 (bps) − Taker Fee Leg 2 (bps) − Slippage Leg 1 (bps) − Slippage Leg 2 (bps) − Spread Cost Leg 1 (bps) − Spread Cost Leg 2 (bps) − Gas Cost Leg 1 (bps) − Gas Cost Leg 2 (bps)

For a $100,000 BTC arb between Hyperliquid and Paradex with a 10 bps observed price differential: Hyperliquid taker fee: 2.5 bps. Paradex taker fee: 3.0 bps. Slippage + spread on each leg: 1.5 bps each. Gas: negligible at this size on both chains. Total cost: 2.5 + 3.0 + 1.5 + 1.5 = 8.5 bps. Net profit: 10 − 8.5 = 1.5 bps, or $150 on a $100K position. Now consider: execution takes 2 seconds across both legs, during which the differential may have narrowed. The realized profit is likely less than $150 and could be negative.

  • Price arb: requires differentials of 8–15 bps or more to be reliably profitable after all costs on current DEX infrastructure.
  • Funding arb: entry and exit costs of 6–10 bps amortized over multi-week positions make this viable at funding differentials of 0.5–1 bps per 8-hour settlement or greater.
  • Break-even differential: the minimum spread that covers all execution costs. Calculate this before screening for opportunities — any differential below break-even is not an opportunity.

Real Opportunity Examples: When DEX Arb Actually Works

Despite the challenging cost environment, genuine arbitrage opportunities in DEX perpetuals exist and are exploited daily by well-capitalized and well-equipped traders. Understanding when and why they arise is essential for any trader interested in this strategy.

Price arb opportunities most commonly emerge during high-volatility events. When BTC makes a sharp 1–2% move in minutes, price discovery is uneven across exchanges — some update faster than others. In the 30–60 seconds following a sharp move, differentials of 20–50 bps between exchanges are not uncommon. These are large enough to be profitable even after full execution costs, and they close rapidly as arbitrageurs bring them back in line. Capturing them requires automated systems with pre-positioned capital on both exchanges and order submission triggered by price alerts.

Funding arb opportunities emerge regularly during strong trend periods. During bull markets, BTC funding on perpetuals can sit at 0.05%–0.1% per 8h on major platforms, but the rates are not uniform. If Hyperliquid is at 0.08% while gTrade is at 0.03%, a trader can long gTrade (paying 0.03%) and short Hyperliquid (receiving 0.08%), for a net funding receipt of 0.05% per 8h — approximately 54% annualized on the position size. After execution costs, this remains highly profitable over multi-week periods.

Funding arb opportunities are longer-lasting than price arb because they require capital to exploit rather than just speed. This means they persist long enough for most active traders to identify and enter — but they also attract more capital as they become widely visible, which compresses the differential over time.

Tools, Infrastructure, and Risks

Executing DEX perpetual arbitrage requires more than a good idea. The operational infrastructure makes the difference between capitalizing on opportunities and watching them disappear before you can act.

  • API access on all target exchanges: WebSocket connections for real-time price feeds; REST or WebSocket for order submission. Pre-authenticated sessions with all necessary keys and permissions configured.
  • Pre-funded accounts: Capital must be pre-deployed on both exchange legs before any opportunity arises. Bridging during an opportunity takes too long. Maintain working capital on each platform.
  • Automated monitoring and execution: Manual monitoring of price differentials is impractical. A simple script monitoring the spread between two exchange price feeds and alerting (or auto-submitting) when a threshold is crossed is the minimum viable setup for price arb.
  • Transaction simulation: Before submitting any on-chain transaction, simulate it to confirm expected outcome and catch reverts before they cost gas. Most L2 RPCs support eth_call simulation.
  • Latency to both legs: Position your execution infrastructure close to the sequencer or validator of both target exchanges. Even 50ms of additional latency on one leg can be the difference between capturing and missing an opportunity.

The risks of DEX arbitrage are distinct from traditional finance. Latency risk — one leg fills before the other, leaving you with directional exposure — is the primary operational risk. Transaction failure risk on L2s (due to nonce conflicts, gas price issues, or sequencer hiccups) means positions can be established on one leg and fail on the other. Slippage can vary dramatically from estimate to actual during volatile events, turning a calculated positive-EV trade negative. Liquidity can disappear between your analysis and execution.

Always define your maximum acceptable loss per arb attempt before executing. Failed transactions, unexpected slippage, and one-legged fills are routine in DEX arbitrage. Risk management must be hardcoded into your execution logic, not left to manual judgment during fast-moving events.

Using the LiquidView API for Arbitrage Detection

LiquidView's API provides the execution cost data that is most critical to arbitrage profitability calculations. Rather than manually checking fee schedules and order book depth for each exchange, the API returns a pre-computed execution cost figure for any exchange, pair, and size combination — updated continuously in real time.

For arbitrage applications, the recommended use of the LiquidView API is as a cost oracle. Before any potential arb leg is submitted, query the API for the current execution cost on both exchanges for the required size. If the observed price differential minus the two execution cost figures is positive, the trade is worth attempting. If it is negative or below your minimum threshold, skip it. This pre-check takes milliseconds and can prevent many losing trades.

The API also provides historical cost data, which is useful for back-testing arb strategies and calibrating opportunity thresholds. By analyzing how execution costs have varied over time on specific exchanges — how much they widen during volatility events, how stable they are during normal conditions — you can tune your opportunity detection thresholds to be realistic about when trades are actually viable.

Combine LiquidView's execution cost API with a real-time price feed from each exchange. Trigger arb evaluation whenever the observed price spread exceeds your estimated all-in execution cost. This simple filter eliminates the vast majority of false positives that waste capital and degrade performance.

arbitragecross-exchangedex tradingprofit

See it in action

Compare execution costs across 9+ DEX perpetuals in real-time with LiquidView.