{"title":"Automated Market Making and Decentralized Finance","authors":"Marcello Monga","doi":"arxiv-2407.16885","DOIUrl":null,"url":null,"abstract":"Automated market makers (AMMs) are a new type of trading venues which are\nrevolutionising the way market participants interact. At present, the majority\nof AMMs are constant function market makers (CFMMs) where a deterministic\ntrading function determines how markets are cleared. Within CFMMs, we focus on\nconstant product market makers (CPMMs) which implements the concentrated\nliquidity (CL) feature. In this thesis we formalise and study the trading\nmechanism of CPMMs with CL, and we develop liquidity provision and liquidity\ntaking strategies. Our models are motivated and tested with market data. We derive optimal strategies for liquidity takers (LTs) who trade orders of\nlarge size and execute statistical arbitrages. First, we consider an LT who\ntrades in a CPMM with CL and uses the dynamics of prices in competing venues as\nmarket signals. We use Uniswap v3 data to study price, liquidity, and trading\ncost dynamics, and to motivate the model. Next, we consider an LT who trades a\nbasket of crypto-currencies whose constituents co-move. We use market data to\nstudy lead-lag effects, spillover effects, and causality between trading\nvenues. We derive optimal strategies for strategic liquidity providers (LPs) who\nprovide liquidity in CPMM with CL. First, we use stochastic control tools to\nderive a self-financing and closed-form optimal liquidity provision strategy\nwhere the width of the LP's liquidity range is determined by the profitability\nof the pool, the dynamics of the LP's position, and concentration risk. Next,\nwe use a model-free approach to solve the problem of an LP who provides\nliquidity in multiple CPMMs with CL. We do not specify a model for the\nstochastic processes observed by LPs, and use a long short-term memory (LSTM)\nneural network to approximate the optimal liquidity provision strategy.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":"13 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - Trading and Market Microstructure","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.16885","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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.