DeFi-CeFi Arbitrage Mechanics and Price Impact Estimation
A trader notices price discrepancies between a token on a decentralized exchange (DEX, e.g., Uniswap) and a centralized exchange (CEX, e.g., Binance).
- Describe the mechanics of DeFi-to-CeFi arbitrage -- how does the trade work in practice?
- Within an Ethereum block, at what point in the transaction ordering would you want your arbitrage trade to execute, and why?
- How would you execute the trades to minimize risk?
- How can you estimate the price impact of your trade on each venue? Provide quantitative formulas where applicable.
Hints
- Think about what creates the price discrepancy in the first place -- a large trade on one venue that has not yet been arbitraged away.
- Consider how Ethereum's block structure and MEV ecosystem affect transaction ordering -- who decides which transaction goes first?
- For the AMM price impact, start from the constant-product invariant $x \cdot y = k$ and compute how much $y$ you must pay to extract $\Delta x$ from the pool.
Worked Solution
How to Think About It: DeFi-CeFi arbitrage is one of the cleanest forms of cross-venue arb in crypto markets, but it has unique execution challenges that don't exist in traditional finance. The core idea is simple: if ETH trades at \