CEX-DEX Arbitrage: Opportunities and Risks

What CEX-DEX Arbitrage Is
CEX-DEX arbitrage is an attempt to profit from the price difference of one asset between a centralized exchange (CEX) and a decentralized liquidity pool (DEX). On a CEX the price is set by an order book; on most DEXs it comes from an automated market maker (AMM) formula that depends on the token ratio in the pool. Because the mechanisms differ, prices regularly diverge.
Unlike arbitrage between two CEXs, this adds blockchain-specific costs and risks. Below we look at where gaps come from, what eats them and when the strategy may make sense.
How Gaps Appear
- Pool update lag. An AMM price changes only when someone swaps. If the CEX price moved sharply, the pool shows the old price for a while.
- A large swap in the pool. A big trade shifts the token ratio, and the pool price can deviate from the market.
- Low pool liquidity. The less liquidity, the more each swap moves the price.
- Different networks. The same token on another chain may trade at a premium or discount due to the cost and speed of moving between chains.
- New tokens. A coin may trade on a DEX before its CEX listing or vice versa, and early prices are often unstable.
What Eats the Profit
Gas and Network Fees
Every blockchain transaction costs gas. On congested networks one transaction can cost as much as the expected profit on a small trade. Add the pool swap fee and the CEX trading and withdrawal fees. Always check current values on the network and the exchange at the time of the trade.
AMM Slippage
In an AMM the price moves within your own trade: the larger the swap relative to pool liquidity, the worse the average price. Illustrative example: with a visible 1.5% gap, a 2,000 USDT swap in a small pool may cause 0.7% slippage, the pool fee takes another 0.3%, and gas plus CEX fees cost a few more USDT. In the end only a small part of the gap remains, or nothing.
MEV and Front-Running
Transactions in the public mempool are visible to others. Bots can place transactions right before and after yours (a sandwich attack), worsening your price. Specialized MEV bots also compete for the same gap and are often faster than a manual trader. Protective tools such as private RPCs exist but do not guarantee results.
Bridge and Transfer Speed
To complete the cycle, tokens must move between the CEX and a wallet, sometimes across chains via a bridge. A CEX deposit requires a number of confirmations, and a bridge can take minutes to hours. The price can change in the meantime. Read about managing transfers in the article on transfers and pre-funding.
DEX-Specific Risks
- Smart contracts. A bug or vulnerability in a pool or bridge contract can lead to loss of funds.
- Fake tokens. Anyone can create a token with a popular ticker on a DEX. Verify the contract address from official sources.
- Taxed or restricted tokens. Some contracts charge a fee on transfer or block selling.
- Bridge risks. Bridges have historically been frequent attack targets, so choose them carefully.
- Wallet security. Signing a malicious transaction or leaking a key means an irreversible loss.
How to Evaluate a Trade
| Item | Illustrative value |
|---|---|
| Visible gap | 1.5% on 2,000 USDT = 30 USDT |
| AMM slippage | −0.7% = −14 USDT |
| Pool fee | −0.3% = −6 USDT |
| CEX fee | −0.1% = −2 USDT |
| Gas and withdrawal | −5 USDT |
| Result before price risk | +3 USDT |
The example shows how thin the real margin can be. Any price move during a transfer or a sandwich attack can easily turn the trade negative.
When It May Make Sense
- You keep pre-allocated capital both on the CEX and in a wallet, so you do not wait for transfers on every trade.
- The network has low gas costs and the pool has enough liquidity for your size.
- You understand smart-contract risks and use well-established pools.
- You can hedge price risk, for example with a short on CEX futures during a transfer. Then funding matters; you can view current rates in the funding rate screener.
For most retail traders a simpler starting point is arbitrage between centralized exchanges, where you can track divergences with the spread screener. CEX-DEX strategies require more technical skill and automation.
Summary
Gaps between CEXs and DEXs appear regularly, but between the visible difference and real profit stand gas, AMM slippage, MEV, bridges and smart-contract risk. Before taking on this strategy, calculate all costs for a specific size and honestly assess whether you are ready for the technical risks.
This material is educational and not financial advice. Numeric examples are illustrative. Crypto and futures trading carry high risk and can result in loss of capital.
Read also:
Comments (0)
To write comments, you need to log in to the system.
Blog
Similar articles
Current market information and trading strategies







