Paper: arXiv 2407.16885
Abstract
Automated market makers (AMMs) are a new type of trading venues which are revolutionising the way market participants interact. At present, the majority of AMMs are constant function market makers (CFMMs) where a deterministic trading function determines how markets are cleared. Within CFMMs, we focus on constant product market makers (CPMMs) which implements the concentrated liquidity (CL) feature. In this thesis we formalise and study the trading mechanism of CPMMs with CL, and we develop liquidity provision and liquidity taking strategies. Our models are motivated and tested with market data. We derive optimal strategies for liquidity takers (LTs) who trade orders of large size and execute statistical arbitrages. First, we consider an LT who trades in a CPMM with CL and uses the dynamics of prices in competing venues as market signals. We use Uniswap v3 data to study price, liquidity, and trading cost dynamics, and to motivate the model. Next, we consider an LT who trades a basket of crypto-currencies whose constituents co-move. We use market data to study lead-lag effects, spillover effects, and causality between trading venues. We derive optimal strategies for strategic liquidity providers (LPs) who provide liquidity in CPMM with CL. First, we use stochastic control tools to derive a self-financing and closed-form optimal liquidity provision strategy where the width of the LP’s liquidity range is determined by the profitability of the pool, the dynamics of the LP’s position, and concentration risk. Next, we use a model-free approach to solve the problem of an LP who provides liquidity in multiple CPMMs with CL. We do not specify a model for the stochastic processes observed by LPs, and use a long short-term memory (LSTM) neural network to approximate the optimal liquidity provision strategy.
Complexity vs Empirical Score
- Math Complexity: 8.5/10
- Empirical Rigor: 8.0/10
- Quadrant: Holy Grail — high math complexity, high empirical rigor
Why this score: The paper employs advanced stochastic control tools (e.g., PDE-based stochastic control, closed-form derivations) and formal models for optimal liquidity provision, indicating high mathematical density. It is heavily data-driven, using Uniswap v3 market data, empirical analysis of price/liquidity dynamics, backtesting of strategies, and implementation of LSTM neural networks, demonstrating high empirical rigor.
Research Flowchart
flowchart TD
A["Research Goal<br>Optimize Strategies for CPMMs with CL"] --> B["Data Collection & Analysis<br>Uniswap v3 & Crypto Market Data"]
B --> C{"Modeling Approach"}
C --> D["Stochastic Control<br>Optimal LP Strategy"]
C --> E["Machine Learning<br>Model-Free LP Strategy (LSTM)"]
D --> F["Key Findings"]
E --> F
F --> G["LT: Statistical Arbitrage<br>Price Dynamics & Lead-Lag Effects"]
F --> H["LP: Self-Financing Range<br>Profitability & Concentration Risk"]
Cited References (151)
- Optimal trading with general signals and liquidation in target zone models (2018)
- Optimal Execution with Dynamic Order Flow Imbalance (2015)
- Optimal liquidation under stochastic price impact (2019)
- Incorporating order-flow into optimal execution (2016)
- A closed-form execution strategy to target volume weighted average price (2016)
- Algorithmic trading with model uncertainty (2017)
- Robust strategies for optimal order execution in the Almgren–Chriss framework (2013)
- General intensity shapes in optimal liquidation (2015)
and 143 more
- U niswap v3 Core (2021)
- Constant Function Market Makers: Multi-Asset Trades via Convex Optimization (2021)
- Optimal Routing for Constant Function Market Makers (2022)
- Optimal control of execution costs (1998)
- Value Under Liquidation (1999)
- Optimal execution of portfolio transactions (2000)
- Algorithmic and High-Frequency Trading (2015)
- The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making (2016)
- Optimal Signal-Adaptive Trading with Temporary and Transient Price Impact (2020)
- Incorporating Signals into Optimal Trading (2019)
- Multi-asset Optimal Execution and Statistical Arbitrage Strategies under Ornstein–Uhlenbeck Dynamics (2022)
- Trading co-integrated assets with price impact (2018)
- Closed-form Approximations in Multi-asset Market Making (2021)
- Applied Stochastic Control of Jump Diffusions (2007)
- Behavior of Liquidity Providers in Decentralized Exchanges (2021)
- On principally linear elliptic differential equations of the second order (1954)
- Optimal Trading with Signals and Stochastic Price Impact (2022)
- Enhancing trading strategies with order book signals (2018)
- Algorithmic trading with learning (2016)
- Dynamical models of market impact and algorithms for order execution (2013)
- Optimal execution with stochastic delay (2022)
- Optimal trading with stochastic liquidity and volatility (2012)
- Smooth solutions to portfolio liquidation problems under price-sensitive market impact (2018)
- Optimal trade execution under stochastic volatility and liquidity (2014)
- Blockchain and Distributed Ledgers: Mathematics, Technology, and Economics (2021)
- Blockchain-based settlement for asset trading (2019)
- The adoption of blockchain-based decentralized exchanges (2021) — link
- Global Existence for Semilinear Parabolic Systems (1985)
- Decentralised Finance and Automated Market Making: Execution and Speculation (2022)
- Optimal trade execution: A mean quadratic variation approach (2012)
- Risk aversion and the dynamics of optimal liquidation strategies in illiquid (2009)
- Drift dependence of optimal trade execution strategies under transient price impact (2013)
- Optimal Investment with Transient Price Impact (2019)
- Optimal trading strategy and supply/demand dynamics (2013)
- Optimal Trade Execution and Absence of Price Manipulations in Limit Order Book Models (2010)
- Optimal execution strategies in limit order books with general shape functions (2010)
- Transient Linear Price Impact and Fredholm Integral Equations (2010)
- Optimal execution with limit and market orders (2014)
- Optimal high-frequency trading with limit and market orders (2013)
- Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform (2014)
- Tezos : A Self-Amending Crypto-Ledger Position Paper (2014)
- Solana: A new architecture for a high performance blockchain (2014)
- Whitepaper (2019)
- Bancor Protocol (2017)
- StableSwap - efficient mechanism for Stablecoin liquidity (2019)
- SoK: Decentralized Exchanges (DEX) with Automated Market Maker (AMM) Protocols (2021)
- Improved Price Oracles: Constant Function Market Makers (2020)
- An Empirical Study of Market Inefficiencies in U niswap and S ushiswap (2022)
- Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability. (2020)
- The Economics of Automated Market Makers (2022)
- High-Frequency Trading on Decentralized On-Chain Exchanges (2021)
- The Conceptual Flaws of Constant Product Automated Market Making (2021)
- Risks and Returns of U niswap V3 Liquidity Providers (2022)
- Deep hedging (2019)
- Sojourn times for the Brownian motion (1998)
- Solvability of Differential Riccati Equations and Applications to Algorithmic Trading with Signals (2022)
- Estimation and hypothesis testing of cointegration vectors in G aussian vector autoregressive models (1991)
- Better to give than to receive: Predictive directional measurement of volatility spillovers (2012)
- Distribution of the Estimators for Autoregressive Time Series with a Unit Root (1979)
- Investigating Causal Relations by Econometric Models and Cross-spectral Methods (1969)
- Vector error correction models to measure connectedness of Bitcoin exchange markets (2020)
- Impulse response analysis in nonlinear multivariate models (1996)
- Generalized impulse response analysis in linear multivariate models (1998)
- Introduction to Multiple Time Series Analysis (1991)
- Decentralised Finance and Automated Market Making: Predictable Loss and Optimal Liquidity Provision (2022)
- Predictable Losses of Liquidity Provision in Constant Function Markets and Concentrated Liquidity Markets (2023)
- Differential Liquidity Provision in U niswap v3 and Implications for Contract Design (2022)
- Constant function market makers: Multi-asset trades via convex optimization (2022)
- Optimal trade execution for G aussian signals with power-law resilience (2022)
- Trades, Quotes and Prices: Financial Markets Under the Microscope (2018)
- Handbook of Price Impact Modeling (2023)
- The price impact of order book events (2014)
- DGM: A deep learning algorithm for solving partial differential equations (2018)
- Adam: A Method for Stochastic Optimization (2017)
- How Markets Slowly Digest Changes in Supply and Demand (2009)
- Measuring the Information Content of Stock Trades (1991)
- Master curve for price-impact function (2003)
- Time and the Price Impact of a Trade (2000)
- Fluctuations and response in financial markets: the subtle nature of `random’ price changes (2003)
- What really causes large price changes? (2004)
- Linear models for the impact of order flow on prices. I. History dependent impact models (2018)
- Long Short-Term Memory (1997)
- Risks and Returns of U niswap V3 Liquidity Providers (2022)
- Automated Market Making and Arbitrage Profits in the Presence of Fees — → 2305.14604
- An analysis of Uniswap markets (2021)
- Model-free Hedging of Impermanent Loss in Geometric Mean Market Makers — → 2303.11118
- Execution and Statistical Arbitrage with Signals in Multiple Automated Market Makers (2023)
- Automated market making and loss-versus-rebalancing (2022) — link
- Yield Farming for Liquidity Provision (2023)
- Strategic liquidity provision in U niswap v3 (2021) — link
- Finding the Right Curve: Optimal Design of Constant Function Market Makers (2023)
- The Case for Stochastically Dynamic AMM s (2023)
- Automated Market Makers Designs Beyond Constant Functions (2023)
- The dynamics of dealer markets under competition (1983)
- Price formation and equilibrium liquidity in fragmented and centralized markets (1993)
- High Frequency Trading in a Limit Order Book (2008)
- Buy low, sell high: A high frequency trading perspective (2014)
- Optimal execution: A review (2022)
- Market making with alpha signals (2020)
- Optimal Trading with Differing Trade Signals (2020)
- Models of market liquidity: Applications to traditional markets and automated market makers (2023)
- The shadow price of latency: Improving intraday fill ratios in foreign exchange markets (2021)
- Latency and liquidity risk (2021)
- Double-Execution Strategies Using Path Signatures (2022)
- Stochastic Liquidity as a Proxy for Nonlinear Price Impact (2024)
- The Cost of Misspecifying Price Impact — → 2306.00599
- Reinforcement Learning Methods in Algorithmic Trading (2023)
- Reinforcement Learning for Algorithmic Trading (2023)
- Reinforcement learning for optimized trade execution (2006)
- Double Deep Q-Learning for Optimal Execution (2021)
- A reinforcement learning extension to the Almgren-Chriss framework for optimal trade execution (2014)
- Bandits for Algorithmic Trading with Signals (2023)
- Optimal dealer pricing under transactions and return uncertainty (1981)
- Dealing with the Inventory Risk: A Solution to the Market Making Problem (2012)
- Size matters for OTC market makers: General results and dimensionality reduction techniques (2021)
- Algorithmic market making in dealer markets with hedging and market impact (2023)
- Market making by an FX dealer: tiers, pricing ladders and hedging rates for optimal risk control (2021)
- Dealing with multi-currency inventory risk in FX cash markets (2022)
- Bid, ask and transaction prices in a specialist market with heterogeneously informed traders (1985)
- Continuous Auctions and Insider Trading (1985)
- Brokers and Informed Traders: dealing with toxic flow and extracting trading signals (2022)
- A Mean Field Game between Informed Traders and a Broker — → 2401.05257
- Liquidity Provision with Adverse Selection and Inventory Costs (2023)
- Optimal Market Making under Partial Information with General Intensities (2020)
- Optimal Market Making with Persistent Order Flow (2021)
- An Adaptive Electronic Market-Maker (2001)
- Deep Reinforcement Learning for Market Making in Corporate Bonds: Beating the Curse of Dimensionality (2019)
- Market Making via Reinforcement Learning (2018)
- Robust market making via adversarial reinforcement learning (2021)
- Market Making With Signals Through Deep Reinforcement Learning (2021)
- Automated Market Makers: Mean-Variance Analysis of LPs Payoffs and Design of Pricing Functions (2023)
- Mbt-gym: Reinforcement learning for model-based limit order book trading (2023)
- Stock Market Prediction Using LSTM Recurrent Neural Network (2020)
- AT-LSTM: An Attention-based LSTM Model for Financial Time Series Prediction (2019)
- Stock market’s price movement prediction with LSTM neural networks (2017)
- Deep learning with long short-term memory networks for financial market predictions (2018)
- Robust Hedging GANs — → 2307.02310
- How to Evaluate Trading Strategies: Single Agent Market Replay or Multiple Agent Interactive Simulation? (2019)
- Learning long-term dependencies with gradient descent is difficult (1994)
- Adam: A Method for Stochastic Optimization (2015)
- Dissecting Investment Strategies in the Cross Section and Time Series (2015)
- Algorithmic Market Making in Spot Precious Metals (2024)
- DARE : The Deep Adaptive Regulator for Control of Uncertain Continuous-Time Systems (2024) — link
5 of 151 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.