Katya Malinova PRO
I am an Associate Professor, Mackenzie Investments Chair in Evidence-Based Investment Management at the DeGroote School of Business, McMaster University, Canada.
Katya Malinova and Andreas Park
7th SAFE Market Microstructure Conference
Frankfurt, September 25 2023
Preliminaries & Some Motivation
Basic Idea
AMMs price: mechanical, based on the amount of liquidity deposits.
Key Components
Liquidity Supply and Demand in an Automated Market Maker
\[L(a-q,c+\Delta c)=L(a,c)\]
\[a\]
\[a-q\]
\[c+\Delta c\]
\[c\]
Given the initial deposits (a, c), the total cost \(\Delta c\) for \(q\) units is such that:
Remove (buy) \(q\) units of the asset from the pool
Add (pay) \(\Delta c\) cash to the pool
\[a\]
asset (stock)
cash
liquidity after trade \(=\) liquidity before trade
\[(a-q)\cdot(c+\Delta c)=a\cdot c\]
\[a\]
\[a-q\]
\[c+\Delta c\]
\[c\]
Initial marginal price = initial asset value: \[p(0) =\frac{c}{a}\]
Most Common Pricing: Constant Product: \(L(a,c)=a\cdot c\)
\[(a-q)\cdot(c+\Delta c)=a\cdot c\]
\[a\]
\[a-q\]
\[c+\Delta c\]
\[c\]
Initial marginal price = initial asset value: \[p(0) =\frac{c}{a}\]
Liquidity providers: positional losses
If trade is informed \(\Rightarrow\) new asset value \[=\frac{c+\Delta c}{a-q}>p(q)\]
Basics of Liquidity Provision in an AMM
Basics of Liquidity Provision in an AMM
\[\int_0^\infty(\underbrace{\Delta c(q^*)-q^*p_t(R) )}_{\text{adverse selection loss when the return is \(R\)}}+ \underbrace{F \cdot \Delta c(q^*))}_{\text{fees earned on informed}}~\phi(R)dR + \underbrace{F p_0 V}_{\text{fees earned on balanced flow}}\ge 0.\]
\(q^* \)= function of \(R\) = what informed arbitrageurs trade to move the price to reflect \(R\)
LP compensation in AMM: liquidity providers earn fees
\[\underbrace{\text{what LP sold it for}-\text{value of net position}}_{\text{adverse selection loss}} +\text{fee income} +\ge 0 \]
takes the role of the TradFi bid-ask spread
Similar to Lehar and Parlour (2023), Barbon & Ranaldo (2022).
Basics of Liquidity Provision
\[\int_0^\infty\underbrace{(\Delta c(q^*)-q^*p_t(R)}_{\text{adverse selection loss when the return is \(R\)}} +\underbrace{F \cdot \Delta c(q^*))}_{\text{fees earned from arbitrageurs}}~\phi(R)dR +\underbrace{F p_0 V}_{\text{fees earned on balanced flow}}\ge 0\]
\[\frac{1}{\text{initial deposit}}\int_0^\infty(\Delta c(q^*)-q^*p_t(R)+F \cdot \Delta c(q^*))~\phi(R)dR +\frac{F p_0 V}{\text{initial deposit}}\ge 0\]
\[\int_0^\infty\left(\frac{\Delta c(q^*)-q^*p_t(R)}{\text{initial deposit}} +F \cdot \frac{\Delta c(q^*)}{\text{initial deposit}}\right)~\phi(R)dR +\frac{F p_0 V}{\text{initial deposit}}\ge 0\]
closed form functions of \(R\) only
(see Barbon & Ranaldo (2022))
Can quantify how much a passive LP loses when the return is \(R\)
for orientation:
\[\frac{\text{adverse selection loss when the return is \(R\)}}{\text{initial deposit}}=\sqrt{R}-\frac{1}{2}(R+1)\equiv ILLRAS (R)\]
As in Barbon & Ranaldo (2022)
Incremental Loss from Long-Run Adverse Selection
Liquidity provision decision
\[E[\text{IILRAS}(R)]+F\cdot E[\text{another function of }R]+F\cdot \frac{\text{balanced \$-volume}}{\text{initial deposit}}\ge 0.\]
\[\text{LP payoff} = \text{what LP sold it for}-\text{value of net position}+\text{fee income} \ge 0 \]
Liquidity Demander's Decision & (optimal) AMM Fees
\[F^\pi=\frac{1}{E[|\sqrt{R}-1|/2]+V}\left(-2q\ E[\text{ILLRAS}]+ \sqrt{-2qV\ E[\text{ILLRAS}]}\right).\]
What's next?
Per unit \(p(q)\) as liquidity deposits increase
How we think of the Implementation of an AMM for our Empirical Analysis
Approach: daily AMM deposits
Background on Data
some volume may be intermediated
AMMs based on historical returns
Return distribution example: Tesla
Average of the market cap to be deposited for competitive liquidity provision: \(\bar{\alpha}\approx 2\%\)
almost break even on average (average loss 0.2bps \(\approx0\))
average: 94% of days AMM is cheaper than LOB for liq demanders
average savings: 16 bps
average daily: $9.5K
average annual saving: $2.4 million
implied "excess depth" on AMM relative to the traditional market
Sidebar: Capital Requirement
Deposit Requirements
\(\Rightarrow \) Need about 5% of the value of the shares deposited -- not 100% -- to cover up to a 10% return decline
Summary
@katyamalinova
malinovk@mcmaster.ca
slides.com/kmalinova
https://sites.google.com/site/katyamalinova/
Deposit Requirements
\(\Rightarrow \) Need about 5% of the value of the shares deposited -- not 100% -- to cover up to a 10% return decline
An alternative to -10% circuit breaker:
max cash needed based on long-run past average R \(-\) 2 std
Optimally Designed AMMs with
"ad hoc" one-day backward look
Optimal fee \(F^\pi\)
average benefits liquidity provider in bps (average=0)
Insight: Theory is OK - LP's about break even
\(\overline{\alpha}\) for \(F=F^\pi\)
Need about 10% of market cap in liquidity deposits to make this work
actually needed cash as fraction of "headline" amount
Only need about 5% of the 10% marketcap amount in cash
AMMs are better on about 85% of trading days
quoted spread minus AMM price impact minus AMM fee (all measured in bps)
relative savings: what fraction of transactions costs would an AMM save? \(\to\) about 30%
theoretical annual savings in transactions costs is about $15B
Literature
AMM Literature: a booming field
Lehar and Parlour (2021): for many parametric configurations, investors prefer AMMs over the limit order market.
Aoyagi and Ito (2021): co-existence of a centralized exchange and an automated market maker; informed traders react non-monotonically to changes in the risky asset’s volatility
Capponi and Jia (2021): price volatility \(\to\) welfare of AMM LPs; conditions for a breakdown of liquidity supply in the automated system; more convex pricing \(\to\) lower arbitrage rents & less trading.
Capponi, Jia, and Wang (2022): decision problems of validators, traders, and MEV bots under the Flashbots protocol.
Park (2021): properties and conceptual challenges for AMM pricing functions
Milionis, Moallemi, Roughgarden, and Zhang (2022): dynamic impermanent loss analysis for under constant product pricing.
Hasbrouck, Rivera, and Saleh (2022): higher fee \(\Rightarrow\) higher volume
Empirics:
Lehar and Parlour (2021): price discovery better on AMMs
Barbon and Ranaldo (2022): compare the liquidity CEX and DEX; argue that DEX prices are less efficient.
@financeUTM
andreas.park@rotman.utoronto.ca
slides.com/ap248
sites.google.com/site/parkandreas/
youtube.com/user/andreaspark2812/
By Katya Malinova
SAFE presentation
I am an Associate Professor, Mackenzie Investments Chair in Evidence-Based Investment Management at the DeGroote School of Business, McMaster University, Canada.