Optimal execution on Uniswap v2/v3 under transient price impact
Preprint
Abstract
We study the optimal liquidation of a large position on Uniswap v2 and Uniswap v3 in discrete time. The instantaneous price impact is derived from the AMM pricing rule. Transient impact is modeled to capture either exponential or approximately power-law decay, together with a permanent component. In the Uniswap v2 setting, we obtain optimal strategies in closed-form under general price dynamics. For Uniswap v3, we consider a two-layer liquidity framework, which naturally extends to multiple layers. We address the problem using dynamic programming under geometric Brownian motion dynamics and approximate the solution numerically using a discretization scheme. We obtain optimal strategies akin to classical ones in the LOB literature, with features specific to Uniswap. In particular, we show how the liquidity profile influences them.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Decentralised finance and automated market making: Execution and speculationJournal of Economic Dynamics and Control, 2025
- Order Book Inspired Automated Market MakingIEEE Access, 2024
- Optimal execution with non-linear transient market impactQuantitative Finance, 2016
- Optimal trading strategy and supply/demand dynamicsJournal of Financial Markets, 2013
- Calibration of optimal execution of financial transactions in the presence of transient market impactJournal of Statistical Mechanics: Theory and Experiment, 2012
- TRANSIENT LINEAR PRICE IMPACT AND FREDHOLM INTEGRAL EQUATIONSMathematical Finance, 2011
- Optimal execution strategies in limit order books with general shape functionsQuantitative Finance, 2009
- Optimal approximations of power laws with exponentials: application to volatility models with long memoryQuantitative Finance, 2007
- Optimal execution with nonlinear impact functions and trading-enhanced riskApplied Mathematical Finance, 2003
- Optimal execution of portfolio transactionsJournal of Risk, 2001