DEX Arbitrage
Medium RiskProfit from price discrepancies for the same asset across different perpetual DEX platforms.
How It Works
DEX arbitrage captures profit from price differences for the same asset across different perpetual exchanges. Because perp DEXes use different pricing mechanisms — some rely on order books (dYdX, Hyperliquid), others on oracle-based pricing (GMX, Jupiter Perps) — prices can temporarily diverge. An arbitrageur simultaneously goes long on the cheaper venue and short on the more expensive one, locking in the spread as risk-free profit when prices converge.
Oracle-based DEXes are particularly interesting because their prices update at discrete intervals and may lag behind order-book exchanges, creating brief windows of opportunity.
Step-by-Step Guide
- Set up accounts and fund wallets on at least two perp DEXes across different chains or pricing models.
- Build or use a monitoring tool that tracks the same asset's price across venues in real time.
- When you detect a meaningful price gap (e.g., ETH is $3,010 on dYdX but $3,000 on GMX), act quickly.
- Go long on the cheaper venue (GMX at $3,000) and short on the expensive venue (dYdX at $3,010).
- Wait for prices to converge, which usually happens within minutes to hours.
- Close both positions once the gap narrows, pocketing the difference minus fees.
Example with Real Numbers
ETH price on Hyperliquid: $3,005. ETH price on GMX (Arbitrum): $2,995. Spread: $10 (0.33%).
- You long 5 ETH on GMX at $2,995 = $14,975.
- You short 5 ETH on Hyperliquid at $3,005 = $15,025.
- Locked-in spread: $50.
- Trading fees (both sides): ~$14,975 x 0.05% + $15,025 x 0.02% = $10.49.
- Net profit per trade: $39.51.
- If you execute 3 similar trades per day: ~$118 daily.
Note: Spreads this wide are uncommon on majors and typically appear during high volatility.
Risk Factors
- Execution risk: Price gaps close fast. If you only fill one side, you hold unhedged directional exposure.
- Latency: Other arbitrageurs (including bots) compete for the same opportunities. Manual execution is rarely fast enough for small spreads.
- Cross-chain friction: Moving capital between Solana, Arbitrum, and Hyperliquid L1 takes time and incurs bridging costs.
- Fee erosion: On small spreads, trading fees on both venues can exceed the profit.
- Smart contract risk: Interacting with multiple protocols increases your attack surface.
- Inventory risk: Holding positions across chains means capital is fragmented and harder to manage.
Where to Execute
- Hyperliquid — Order-book-based, very fast execution, low fees (0.02% maker).
- dYdX v4 — Cosmos-based order book, deep liquidity on majors.
- GMX v2 (Arbitrum) — Oracle-priced, trades execute at Chainlink prices, creates arb windows vs order-book venues.
- Jupiter Perps (Solana) — Oracle-based pricing, often lags during volatile moves.
- Drift (Solana) — Virtual AMM pricing can diverge from centralized order books.
Tips for Success
- Automate as much as possible. Manual arbitrage only works for large, persistent dislocations.
- Focus on volatile periods (token launches, major news, liquidation cascades) when spreads widen.
- Pre-fund accounts on multiple chains so you can act instantly without bridging delays.
- Start by paper-tracking opportunities to understand realistic spread sizes and frequency before committing capital.
- Account for all costs: trading fees, gas fees, bridge fees, and potential funding payments while holding positions.
- Consider oracle-vs-order-book arbs as the most reliable category, since oracle price lag is structural and predictable.
Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading perpetual futures involves significant risk of loss. Always do your own research before trading.
