This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Growth rate of liquidity provider’s wealth in G3Ms

Cheuk Yin Lee Shen-Ning Tung  and  Tai-Ho Wang Cheuk Yin Lee
School of Science and Engineering,
The Chinese University of Hong Kong, Shenzhen
Shenzhen, China
[email protected] Shen-Ning Tung
Department of Mathematics,
National Tsing Hua University
Hsinchu, Taiwan
[email protected] Tai-Ho Wang
Department of Mathematics
Baruch College, The City University of New York
1 Bernard Baruch Way, New York, NY10010
[email protected]
Abstract.

We study how trading fees and continuous-time arbitrage affect the profitability of liquidity providers (LPs) in Geometric Mean Market Makers (G3Ms). We use stochastic reflected diffusion processes to analyze the dynamics of a G3M model [Eva21] under the arbitrage-driven market [MMRZ22a]. Our research focuses on calculating LP wealth and extends the findings of Tassy and White [TW20] related to the constant product market maker (Uniswap v2) to a wider range of G3Ms, including Balancer. This allows us to calculate the long-term expected logarithmic growth of LP wealth, offering new insights into the complex dynamics of AMMs and their implications for LPs in decentralized finance.

Key words and phrases:
Automatic market making, Decentralized exchange, Decentralized finance

1. Introduction

Decentralized finance (DeFi) has revolutionized financial markets by enabling trustless trading and investment activities through blockchain technology [CJ21, GM23]. At the heart of this revolution are Automated Market Makers (AMMs) [Moh22], which replace traditional order book exchanges with smart contracts that automate price discovery and order execution. This innovation eliminates intermediaries, reduces trading costs, and enhances accessibility for a wider range of participants.

Among the diverse landscape of AMM designs, Geometric Mean Market Makers (G3Ms) have gained significant traction, powering popular DeFi protocols like Uniswap [AZR20] and Balancer [MM19]. G3Ms utilize a weighted geometric mean function to determine asset prices within their liquidity pools. This unique pricing mechanism fosters a predictable relationship between asset reserves and prices, promoting market efficiency and arbitrage resistance.

Previous research has extensively examined various aspects of AMM mechanics. Angeris et al. [AKC+19, AC20] analyzed the theoretical properties and price-tracking capabilities of constant function markets. Evans [Eva21] extended this analysis to G3Ms with variable weights, while others like Fukasawa et al. [FMW23b, FMW23a] investigated impermanent loss and hedging strategies. Milionis et al. [MMRZ22b, MMRZ22a, MMR23], who quantified it as "loss-versus-rebalancing" (LVR) and developed frameworks for measuring systematic LP losses in both standard AMMs and concentrated liquidity markets.

Recent work by Cartea et al. [CDM23, CDM24] explored predictable loss in constant function markets and developed optimal liquidity provision strategies under separate fee rate models. Bronnimann et al. [BEK24] analyzed risks and incentives in AMM liquidity provision, proposing novel transaction cost structures. Najnudel et al. [NTYY24] examined arbitrage-driven price dynamics in fee-based AMMs, providing insights into the relationship between fee structures and market behavior.

While the existing literature provides a rich foundation for understanding AMMs, a key question remains: How do arbitrage dynamics and trading fees interact to influence the long-term growth of liquidity provider (LP) wealth in G3Ms? This paper aims to address this question by developing a novel framework for analyzing LP wealth evolution in G3Ms, extending beyond the specific case of Uniswap V2 studied in [TW20].

We model the G3M under the influence of continuous arbitrage activity in the presence of a frictionless reference market, drawing inspiration from the framework presented in [MMRZ22a, MMR23]. This approach allows us to isolate the impact of arbitrage on LP wealth, accounting for both trading fees and reserve adjustments. Our analysis leverages the theory of reflected diffusion processes [Har13, GW13] to capture the dynamics of mispricing and its effect on LP returns.

This research makes three key contributions:

  1. (1)

    Explicit Growth Rate Formulas: We derive explicit formulas for LP wealth growth rates under various market conditions, encompassing different volatility and drift scenarios.

  2. (2)

    Fee Structure Analysis: We analyze how different fee structures affect LP returns, offering insights into the optimal design of G3Ms.

  3. (3)

    Performance Comparison: We compare the performance of G3Ms to traditional constant rebalanced portfolio strategies, highlighting the potential of G3Ms to serve as an index infrastructure within the DeFi ecosystem.

By employing reflected diffusion processes, we extend and generalize existing results on LP wealth dynamics, providing a more comprehensive and unified framework. Our findings offer valuable insights for both LPs and AMM designers, contributing to a deeper understanding of DeFi market mechanisms and their implications for investor returns.

Outline

The remainder of the paper is organized as follows. Section 2 establishes notation and examines market dynamics with and without transaction costs. Section 3 explores the arbitrageur’s problem and G3M dynamics under both discrete and continuous arbitrage. Section 4 presents our main results, connecting LP wealth growth to parabolic PDEs with Neumann boundary conditions and extending results to cases with independent stochastic volatility and drift.

2. Constant Weight G3Ms

Geometric Mean Market Makers (G3Ms) are a prominent class of automated market makers (AMMs) that utilize a weighted geometric mean to define the feasible set of trades. This section provides a detailed review of G3M mechanisms, following the work in [Eva21, Moh22, FMW23a], for a system with two assets, XX and YY, and a fixed weight w(0,1)w\in(0,1).

2.1. G3M Trading Mechanics

Let (x,y)+2(x,y)\in\mathbb{R}^{2}_{+} denote the reserves of assets XX and YY in the liquidity pool (LP). The core principle of a G3M is to maintain a constant weighted geometric mean of the reserves:

xwy1w=,x^{w}y^{1-w}=\ell, (1)

where \ell represents the overall liquidity in the pool.

2.1.1. Trading without Transaction Costs

In an idealized setting without transaction costs, trades in a G3M must preserve the constant weighted geometric mean of the reserves. This means a trade Δ=(Δx,Δy)2\Delta=(\Delta_{x},\Delta_{y})\in\mathbb{R}^{2}, representing the changes in asset reserves, is feasible if and only if:

xwy1w=(x+Δx)w(y+Δy)1w.x^{w}y^{1-w}=(x+\Delta_{x})^{w}(y+\Delta_{y})^{1-w}. (2)

Here, Δx>0\Delta_{x}>0 indicates that asset XX is being added to the pool, while Δx<0\Delta_{x}<0 means XX is being withdrawn.

To determine the price of asset XX relative to asset YY, we analyze how infinitesimal changes in reserves affect the weighted geometric mean. Taking the total derivative of equation (1), we get

wxw1y1wdx+(1w)xwywdy=0,wx^{w-1}y^{1-w}dx+(1-w)x^{w}y^{-w}dy=0,

which simplifies to

wdxx+(1w)dyy=0.w\frac{dx}{x}+(1-w)\frac{dy}{y}=0.

This relationship between infinitesimal changes in x and y allows us to define the price P of asset X in terms of asset Y:

P=dΔydΔx|Δx=0=dydx=y/(1w)x/w=w1wyx.P=\left.-\frac{d\Delta_{y}}{d\Delta_{x}}\right|_{\Delta_{x}=0}=-\frac{dy}{dx}=\frac{y/(1-w)}{x/w}=\frac{w}{1-w}\frac{y}{x}. (3)

Therefore, the price in a G3M without transaction costs is determined solely by the ratio of the reserves.

Remark 2.1.

A key advantage of G3Ms without transaction costs is their path independence [AC20, §2.3]. This means the final state of the pool depends only on the net change in reserves, not the specific sequence of trades that led to it. This property makes these G3Ms resistant to price manipulation strategies.

2.1.2. With Transaction Costs

In the actual scenario, there are transaction costs, typically modeled as a proportional fee. Let 1γ1-\gamma represent this proportional transaction cost, where γ(0,1)\gamma\in(0,1). The trading process now involves two steps:

Step 1: Determining Feasible Trades

A trade is feasible if it satisfies the following conditions, which incorporate the transaction cost:

  • Buying Asset XX from the Pool (Δy>0\Delta_{y}>0): The trader pays a fee on the amount of asset YY they provide.

    (x+Δx)w(y+γΔy)1w=.(x+\Delta_{x})^{w}(y+\gamma\Delta_{y})^{1-w}=\ell. (4)
  • Selling Asset XX to the Pool (Δx>0\Delta_{x}>0): The trader pays a fee on the amount of asset XX they provide.

    (x+γΔx)w(y+Δy)1w=.(x+\gamma\Delta_{x})^{w}(y+\Delta_{y})^{1-w}=\ell. (5)
Step 2: Updating Reserves

After a trade, the reserves and the pool’s liquidity are updated accordingly:

x\displaystyle x x+Δx,\displaystyle\mapsto x+\Delta_{x},
y\displaystyle y y+Δy,\displaystyle\mapsto y+\Delta_{y},
\displaystyle\ell (x+Δx)w(y+Δy)1w.\displaystyle\mapsto(x+\Delta_{x})^{w}(y+\Delta_{y})^{1-w}.
Key Observations

Introducing transaction costs leads to several important differences:

  1. (a)

    Marginal Exchange Rate: The effective price for infinitesimal trades is given by the marginal exchange rate, which now incorporates the transaction cost:

    • For buying XX: Differentiating (4) gives dΔydΔx|Δx=0=1γP-\frac{d\Delta_{y}}{d\Delta_{x}}|_{\Delta_{x}=0}=\frac{1}{\gamma}P.

    • For selling XX: Differentiating (5) gives dΔydΔx|Δx=0=γP-\frac{d\Delta_{y}}{d\Delta_{x}}|_{\Delta_{x}=0}=\gamma P.

    This creates a bid-ask spread, where the price for buying XX is higher than the price for selling XX.

  2. (b)

    Constant Wealth Proportion: Despite the transaction costs, the proportion of asset XX (and YY) in the pool’s total wealth remains constant at ww (and 1w1-w, respectively) by (3), i.e.

    Pxw=y1w,\frac{Px}{w}=\frac{y}{1-w}, (6)
  3. (c)

    Relationship between Reserves and Liquidity: There is a correspondence between (x,y)(x,y) and (,P)(\ell,P) by

    lnx\displaystyle\ln x =ln(1w)lnP(1w)ln(1w)+(1w)lnw,\displaystyle=\ln\ell-(1-w)\ln P-(1-w)\ln(1-w)+(1-w)\ln w,
    lny\displaystyle\ln y =ln+wlnP+wln(1w)wlnw.\displaystyle=\ln\ell+w\ln P+w\ln(1-w)-w\ln w.
  4. (d)

    Price Impact of Trading: The impact of trading on the pool price is by

    dPP=dyydxx=11wdxx=1wdyy.\displaystyle\frac{dP}{P}=\frac{dy}{y}-\frac{dx}{x}=-\frac{1}{1-w}\frac{dx}{x}=\frac{1}{w}\frac{dy}{y}.
Remark 2.2.
  1. (1)

    The transaction cost parameter γ\gamma creates a bid-ask spread, similar to traditional limit order books, where buyers pay a slightly higher price than sellers.

  2. (2)

    Unlike G3Ms without transaction fees, the presence of transaction costs introduces path dependence [AC20, §2.3]. This means that the order and size of trades influence the final outcome. To illustrate this, consider a trader selling Δx\Delta_{x} of asset XX in exchange for Δy\Delta_{y} of asset YY. The transaction satisfies

    (x+γΔx)w(y+Δy)1w=xwy1w.(x+\gamma\Delta_{x})^{w}(y+\Delta_{y})^{1-w}=x^{w}y^{1-w}.

    If the trader instead splits the trade into two smaller transactions, Δx=Δx1+Δx2\Delta_{x}=\Delta^{1}_{x}+\Delta^{2}_{x}, receiving Δy1\Delta^{1}_{y} and Δy2\Delta^{2}_{y} of asset YY respectively, then the trades satisfy

    (x+γΔx1)w(y+Δy1)1w\displaystyle(x+\gamma\Delta^{1}_{x})^{w}(y+\Delta^{1}_{y})^{1-w} =xwy1w,\displaystyle=x^{w}y^{1-w},
    (x+Δx1+γΔx2)w(y+Δy1+Δy2)1w\displaystyle(x+\Delta^{1}_{x}+\gamma\Delta^{2}_{x})^{w}(y+\Delta^{1}_{y}+\Delta^{2}_{y})^{1-w} =(x+Δx1)w(y+Δy1)1w.\displaystyle=(x+\Delta^{1}_{x})^{w}(y+\Delta^{1}_{y})^{1-w}.

    Comparing these equations reveals that Δy<Δy1+Δy2<0\Delta_{y}<\Delta^{1}_{y}+\Delta^{2}_{y}<0, demonstrating that splitting the trade leads to a higher cost (i.e., a smaller amount of asset Y received). This phenomenon is further explored in [AKC+19, Appendix D] and [FMW23a, Proposition 1].

2.2. Continuous Trading Dynamics

In the continuous trading regime, where trades occur infinitesimally often, we can describe the G3M dynamics using differential equations. These equations capture how the reserves, price, and liquidity evolve in response to continuous buying and selling.

2.2.1. Reserve Dynamics

The changes in reserves xx and yy are governed by the following equations, which incorporate the transaction cost parameter γ\gamma:

  • When buying XX from the pool (dx<0dx<0):

    wdxx+γ(1w)dyy=0.w\frac{dx}{x}+\gamma(1-w)\frac{dy}{y}=0. (7)
  • When selling XX to the pool (dx>0dx>0):

    γwdxx+(1w)dyy=0\gamma w\frac{dx}{x}+(1-w)\frac{dy}{y}=0 (8)

These equations reflect that when buying XX, the trader pays a fee on the YY asset provided, while when selling XX, the fee is paid on the XX asset provided.

2.2.2. Price Dynamics

The price PP of asset XX relative to asset YY evolves according to:

dPP=dyydxx={(1+γ1ww)dyy if dy>0,(1+1γ1ww)dyy if dy<0.\frac{dP}{P}=\frac{dy}{y}-\frac{dx}{x}=\begin{cases}(1+\gamma\frac{1-w}{w})\frac{dy}{y}&\text{ if }dy>0,\\ (1+\frac{1}{\gamma}\frac{1-w}{w})\frac{dy}{y}&\text{ if }dy<0.\end{cases} (9)

This equation shows how buying pressure (dy>0dy>0) pushes the price up while selling pressure (dy<0dy<0) pushes it down. The transaction cost γ\gamma affects the magnitude of these price changes.

2.2.3. Liquidity Dynamics

The liquidity \ell of the pool changes as follows:

d=wdxx+(1w)dyy={(1γ)(1w)dyy if dy>0,(11γ)(1w)dyy if dy<0.\frac{d\ell}{\ell}=w\frac{dx}{x}+(1-w)\frac{dy}{y}=\begin{cases}(1-\gamma)(1-w)\frac{dy}{y}&\text{ if }dy>0,\\ (1-\frac{1}{\gamma})(1-w)\frac{dy}{y}&\text{ if }dy<0.\end{cases} (10)

This equation reveals that the liquidity consistently increases due to the transaction costs collected by the pool.

Remark 2.3.

In the continuous trading regime, the G3M effectively maintains certain quantities constant, depending on the direction of trading:

  • When buying XX: xwyγ(1w)x^{w}y^{\gamma(1-w)} remains constant.

  • When selling XX: xγwy1wx^{\gamma w}y^{1-w} remains constant.

This behavior leads to a continuous accumulation of liquidity in the pool.

2.3. LP Wealth

The wealth of a liquidity provider (LP) in a G3M is determined by the value of their holdings in the pool. At any given time, the LP’s wealth, denoted by V(P)V(P), is simply the sum of the value of their XX holdings and their YY holdings: V(P)=Px+yV(P)=Px+y where PP is the current price of asset XX relative to asset YY.

Using the relationship between the reserves, price, and liquidity (equation (6)), we can express the LP’s wealth in a more convenient form:

V(P)=Pxw=Pxw(PxwPxw)w(y1wPxw)1w=Pwww(1w)1w.V(P)=\frac{Px}{w}=\frac{Px}{w}\left(\frac{\frac{Px}{w}}{\frac{Px}{w}}\right)^{w}\left(\frac{\frac{y}{1-w}}{\frac{Px}{w}}\right)^{1-w}=\frac{\ell P^{w}}{w^{w}(1-w)^{1-w}}. (11)

This equation shows that the LP’s wealth is directly proportional to the pool’s liquidity \ell and depends on the price PP raised to the power of the weight ww. Taking the logarithm of both sides, we obtain the log wealth:

lnV(P)=ln+wlnP+𝒮w,\ln V(P)=\ln\ell+w\ln P+\mathcal{S}_{w}, (12)

where 𝒮w=wlnw(1w)ln(1w)\mathcal{S}_{w}=-w\ln w-(1-w)\ln(1-w). The term 𝒮w\mathcal{S}_{w} is the entropy of the weight distribution (w,1w)(w,1-w), which reflects the diversification of the LP’s holdings.

Remark 2.4.

The LP’s wealth is expressed here in terms of the G3M pool price P. This is natural from the LP’s perspective, as they may not always have access to the true reference market price. Furthermore, this formulation (equation (12)) is crucial for computing the long-term growth rate of LP wealth.

Section 3.3 compares this approach to a valuation based on the reference market price. This analysis will show that the logarithmic values of these two expressions differ by, at most, a constant factor, which depends on the transaction cost parameter γ\gamma.

3. Arbitrage-Driven G3M Dynamics

This section investigates how the presence of arbitrageurs influences the behavior of a G3M. Arbitrageurs are traders who exploit price discrepancies between different markets to profit. In our context, they will take advantage of any differences between the G3M pool price and the price on an external reference market.

To focus specifically on the impact of arbitrage, we make two simplifying assumptions:

Assumption 3.1.

There are no noise traders in the market.

Noise traders are those who trade based on non-fundamental factors, introducing randomness into the market. By excluding them, we can isolate the effects of arbitrageurs who act rationally based on price discrepancies.

Assumption 3.2.

There exists an external reference market with infinite liquidity and no trading costs.

This assumption ensures that arbitrageurs can execute trades in the reference market without incurring any costs or affecting the market price. This idealized setting allows us to focus on the arbitrageurs’ impact on the G3M.

3.1. Arbitrage Bounds and Price Dynamics

In the presence of a frictionless external reference market (Assumption 3.2), arbitrageurs can freely exploit any price discrepancies between the G3M and the reference market. This arbitrage activity imposes bounds on the G3M price, preventing it from straying too far from the reference market price.

To understand these bounds, let’s denote the price of asset XX relative to asset YY in the reference market as SS, and the corresponding price in the G3M pool as PP. Arbitrageurs aim to maximize their profit by buying asset XX where it’s cheaper and selling it where it’s more expensive. This leads to the following optimization problem for an arbitrageur, as shown in [AKC+19]:

maxΔ2\displaystyle\max_{\Delta\in\mathbb{R}^{2}}\, (SΔx+Δy)\displaystyle-(S\Delta_{x}+\Delta_{y}) (13)
s.t. (x0+γΔx)w(y0+Δy)1w=x0wy01wif Δx0\displaystyle(x_{0}+\gamma\Delta_{x})^{w}(y_{0}+\Delta_{y})^{1-w}=x_{0}^{w}y_{0}^{1-w}\quad\text{if }\Delta_{x}\geq 0
(x0+Δx)w(y0+γΔy)1w=x0wy01w if Δx<0,\displaystyle(x_{0}+\Delta_{x})^{w}(y_{0}+\gamma\Delta_{y})^{1-w}=x_{0}^{w}y_{0}^{1-w}\quad\text{ if }\Delta_{x}<0,

where (x0,y0)(x_{0},y_{0}) represents the initial reserve of assets XX and YY in the pool. This optimization problem captures the arbitrageur’s objective: maximize profit while adhering to the G3M’s trading rules (equations (4) and (5)), which include transaction costs.

The solution to this optimization problem reveals that the G3M price, after arbitrageurs have acted, must satisfy

P={γ1Sif P0>γ1S,P0if γSP0γ1S,γSif P0<γS.P^{*}=\begin{cases}\gamma^{-1}S&\text{if }P_{0}>\gamma^{-1}S,\\ P_{0}&\text{if }\gamma S\leq P_{0}\leq\gamma^{-1}S,\\ \gamma S&\text{if }P_{0}<\gamma S.\end{cases}

where γ\gamma is the transaction cost parameter of the G3M [AKC+19, §2.1]. This interval, [γS,γ1S][\gamma S,\gamma^{-1}S], defines the no-arbitrage bounds.

Essentially, these bounds create a "safe zone" for the G3M price. If the price falls outside this zone, arbitrageurs will immediately execute trades, buying or selling asset XX until the price returns within the bounds. This arbitrage activity effectively regulates the G3M price, keeping it anchored to the reference market price.

Figure 1 provides empirical evidence of this behavior. It shows a time series of the G3M price, clearly demonstrating that it consistently stays within the no-arbitrage bounds.

Refer to caption
Figure 1. Price time series (1-minute intervals) from 14:00:00 to 18:00:00 on September 13, 2023. Dashed lines indicate the upper and lower boundaries of the no-arbitrage region.

3.2. Mispricing and Arbitrage Dynamics

To formally analyze how arbitrageurs influence the G3M’s behavior, we introduce the concept of mispricing. Mispricing quantifies the discrepancy between the G3M pool price and the reference market price. We’ll investigate how this mispricing evolves under both discrete and continuous arbitrage scenarios, building upon the framework in [MMRZ22a, MMR23].

3.2.1. Discrete Arbitrage Model

First, we consider a discrete-time model where arbitrageurs arrive at discrete times:

Assumption 3.3.

Arbitrageurs arrive at discrete times 0=τ0<τ1<τ2<τmT0=\tau_{0}<\tau_{1}<\tau_{2}<\cdots\tau_{m}\leq T.

At each arrival time τi\tau_{i}, an arbitrageur observes the reference market price SτiS_{\tau_{i}} and the prevailing G3M pool price Pτi1P_{\tau_{i-1}}. They then execute trades to exploit any price difference, aiming to maximize their profit.

To quantify this price difference, we define the mispricing ZtZ_{t} as:

Zt=ΔlnStPt.Z_{t}\stackrel{{\scriptstyle\Delta}}{{=}}\ln\frac{S_{t}}{P_{t}}. (14)

This quantity measures the logarithmic difference between the reference market price StS_{t} and the G3M pool price PtP_{t}.

As shown in [MMR23, Lemma 2], the arbitrage process can be described as follows:

  • If the G3M price is too high relative to the reference market (Sτi>γ1Pτi1S_{\tau_{i}}>\gamma^{-1}P_{\tau_{i-1}} or equivalently Zτi>lnγZ_{\tau_{i}^{-}}>-\ln\gamma), the arbitrageur buys asset X from the pool at the relatively cheaper price and immediately sells it on the reference market at the higher price. This arbitrage activity pushes the G3M price down until it reaches the lower no-arbitrage bound (Zτi=lnγZ_{\tau_{i}}=-\ln\gamma).

  • If the G3M price is too low relative to the reference market (Sτi<γPτi1S_{\tau_{i}}<\gamma P_{\tau_{i-1}} or equivalently Zτi<lnγZ_{\tau_{i}^{-}}<\ln\gamma), the arbitrageur sells asset XX to the pool at the relatively higher price and simultaneously buys it on the reference market at the lower price. This pushes the G3M price up until it reaches the upper no-arbitrage bound (Zτi=lnγZ_{\tau_{i}}=\ln\gamma).(5).

  • If the G3M price is already within the no-arbitrage bounds (γPτi1Sτiγ1Pτi1\gamma P_{\tau_{i-1}}\leq S_{\tau_{i}}\leq\gamma^{-1}P_{\tau_{i-1}} or equivalently lnγZτilnγ\ln\gamma\leq Z_{\tau_{i}^{-}}\leq-\ln\gamma), there is no profitable arbitrage opportunity, and the arbitrageur does not execute any trades.

This arbitrage process leads to the following update rule for the G3M price at each arbitrageur arrival time:

Pτi={γSτi if Zτi<lnγ,Pτi1 if lnγZτilnγ,γ1Sτi if Zτi>lnγ.P_{\tau_{i}}=\begin{cases}\gamma S_{\tau_{i}}&\text{ if }Z_{\tau_{i}^{-}}<\ln\gamma,\\ P_{\tau_{i-1}}&\text{ if }\ln\gamma\leq Z_{\tau_{i}^{-}}\leq-\ln\gamma,\\ \gamma^{-1}S_{\tau_{i}}&\text{ if }Z_{\tau_{i}^{-}}>-\ln\gamma.\end{cases} (15)

Accordingly, the mispricing process evolves as:

Zτi=max{min{Zτi,lnγ},lnγ}={lnγ if Zτi<lnγ,Zτi if lnγZτilnγ,lnγ if Zτi>lnγ.\displaystyle Z_{\tau_{i}}=\max\left\{\min\{Z_{\tau_{i}^{-}},-\ln\gamma\},\ln\gamma\right\}=\begin{cases}\ln\gamma&\text{ if }Z_{\tau_{i}^{-}}<\ln\gamma,\\ Z_{\tau_{i}^{-}}&\text{ if }\ln\gamma\leq Z_{\tau_{i}^{-}}\leq-\ln\gamma,\\ -\ln\gamma&\text{ if }Z_{\tau_{i}^{-}}>-\ln\gamma.\end{cases} (16)

These equations capture how arbitrageurs adjust the G3M price in discrete steps to keep it within the no-arbitrage bounds.

Proposition 3.4 (Discrete Mispricing Dynamics).

Given Assumptions 3.1, 3.2, and 3.3 and with the initial condition γP0S0γ1P0\gamma P_{0}\leq S_{0}\leq\gamma^{-1}P_{0}, we can define:

Ji=max{min{Zτi,lnγ},lnγ}Zτi,Lt=i:τit{Ji}+,Ut=i:τit{Ji},J_{i}=\max\left\{\min\{Z_{\tau_{i}^{-}},-\ln\gamma\},\ln\gamma\right\}-Z_{\tau_{i}^{-}},\quad L_{t}=\sum_{i:\tau_{i}\leq t}\{J_{i}\}^{+},\quad U_{t}=\sum_{i:\tau_{i}\leq t}\{J_{i}\}^{-},

where {a}+=max{a,0}\{a\}^{+}=\max\{a,0\} and {a}=max{a,0}\{a\}^{-}=\max\{-a,0\} denote the positive and negative parts of aa, respectively. Then for all t0t\geq 0,

lnPt\displaystyle\ln P_{t} =lnP0+UtLt,\displaystyle=\ln P_{0}+U_{t}-L_{t},
Zt\displaystyle Z_{t} =lnStlnP0+LtUt.\displaystyle=\ln S_{t}-\ln P_{0}+L_{t}-U_{t}.

Moreover, LtL_{t} and UtU_{t} satisfy:

Lt\displaystyle L_{t} =supi:τit(ln(γP0)+lnSτiUτi),\displaystyle=\sup_{i:\tau_{i}\leq t}\left(-\ln(\gamma P_{0})+\ln S_{\tau_{i}}-U_{\tau_{i}}\right)^{-}, (17)
Ut\displaystyle U_{t} =supi:τit(ln(γ1P0)lnSτiLτi).\displaystyle=\sup_{i:\tau_{i}\leq t}\left(\ln(\gamma^{-1}P_{0})-\ln S_{\tau_{i}}-L_{\tau_{i}}\right)^{-}. (18)
Proof.

The first assertion follows directly from (15) and (16). For the second assertion, note that both sides of (17) and (18) are non-decreasing and piecewise constant, with potential jumps occurring at τi\tau_{i} for 0im0\leq i\leq m. It suffices to show the equalities at each τi\tau_{i}.

The proof employs induction on ii. For i=0i=0, the equalities hold by the initial condition lnγZ0lnγ\ln\gamma\leq Z_{0}\leq-\ln\gamma. For i<ki<k, the induction hypothesis yields:

Lτk=max{Lτk1,{lnγ+ZτkLτk}}.L_{\tau_{k}}=\max\left\{L_{\tau_{k-1}},\left\{-\ln\gamma+Z_{\tau_{k}}-L_{\tau_{k}}\right\}^{-}\right\}.

Given that

Lτk{Lτk1 if Zτk=lnγ,=Lτk1 otherwise,L_{\tau_{k}}\begin{cases}\geq L_{\tau_{k-1}}&\text{ if }Z_{\tau_{k}}=\ln\gamma,\\ =L_{\tau_{k-1}}&\text{ otherwise},\end{cases}

it follows that

{lnγ+ZτkLτk}=min{Lτk+lnγZτk,0}{=Lτk if Zτk=lnγ,<Lτk1 otherwise,\left\{-\ln\gamma+Z_{\tau_{k}}-L_{\tau_{k}}\right\}^{-}=\min\{L_{\tau_{k}}+\ln\gamma-Z_{\tau_{k}},0\}\begin{cases}=L_{\tau_{k}}&\text{ if }Z_{\tau_{k}}=\ln\gamma,\\ <L_{\tau_{k-1}}&\text{ otherwise},\end{cases}

which validates (17). The same argument confirms (18). ∎

Remark 3.5.
  • The processes LtL_{t} and UtU_{t} act as regulatory barriers on the mispricing process ZtZ_{t}. Specifically, at each arbitrage time τi\tau_{i}, LtL_{t} prevents ZtZ_{t} from falling below the lower bound lnγ\ln\gamma, while UtU_{t} prevents it from exceeding the upper bound lnγ-\ln\gamma. This ensures that the mispricing remains within the no-arbitrage interval [lnγ,lnγ][\ln\gamma,-\ln\gamma].

  • While [FMW23a] analyzed arbitrage in G3Ms by focusing on the dynamics of the reserve processes, this paper adopts a different perspective by directly analyzing the mispricing process. Although the results in [FMW23a] are compatible with ours through equation (6), our approach offers a more direct and insightful framework for understanding the growth rate of liquidity provider wealth, as discussed in Section 4.

3.2.2. Continuous Arbitrage Model

Now, let’s consider the continuous-time limit, where arbitrageurs continuously monitor the market and react instantaneously to any arbitrage opportunities. This idealized scenario allows us to capture the dynamics of a highly efficient market with vigilant arbitrageurs.

Formally, we make the following assumption:

Assumption 3.6.

Arbitrageurs continuously monitor and immediately act on arbitrage opportunities.

Under this assumption, arbitrageurs continuously adjust their trading strategies to maintain the G3M price within the no-arbitrage bounds. Their actions effectively prevent any significant mispricing from persisting.

The following proposition characterizes the dynamics of the mispricing process in this continuous setting:

Proposition 3.7 (Continuous Mispricing Dynamics).

Given that the market price StS_{t} is continuous and adheres to the initial condition γP0S0γ1P0\gamma P_{0}\leq S_{0}\leq\gamma^{-1}P_{0}, and under Assumptions 3.1, 3.2, and 3.6, we have:

  1. a)

    The mispricing process, denoted as ZtZ_{t}, can be decomposed into Zt=lnStlnP0+LtUtZ_{t}=\ln S_{t}-\ln P_{0}+L_{t}-U_{t} and takes value within the range [lnγ,lnγ][\ln\gamma,-\ln\gamma] for all t0t\geq 0.

  2. b)

    LtL_{t} and UtU_{t} are non-decreasing and continuous, with their initial values set at L0=U0=0L_{0}=U_{0}=0.

  3. c)

    LtL_{t} and UtU_{t} increase only when Zt=lnγZ_{t}=-\ln\gamma and Zt=lnγZ_{t}=\ln\gamma, respectively.

Furthermore, LtL_{t} and UtU_{t} satisfy:

Lt\displaystyle L_{t} =sup0st(ln(γP0)+lnSsUs),\displaystyle=\sup_{0\leq s\leq t}\left(-\ln(\gamma P_{0})+\ln S_{s}-U_{s}\right)^{-}, (19)
Ut\displaystyle U_{t} =sup0st(ln(γ1P0)lnSsLs).\displaystyle=\sup_{0\leq s\leq t}\left(\ln(\gamma^{-1}P_{0})-\ln S_{s}-L_{s}\right)^{-}. (20)
Proof.

Following the approach in [FMW23a, §3], we decompose the log pool price as lnPt=lnP0+UtLt\ln P_{t}=\ln P_{0}+U_{t}-L_{t}, where UtU_{t} and LtL_{t} represent the cumulative changes in log price due to buy and sell arbitrage orders, respectively. These processes naturally satisfy properties (a) to (c). Equations (19) and (20) then follow directly from the characterization of reflected processes in [Har13, Proposition 2.4]. ∎

Remark 3.8.

The mispricing process ZtZ_{t} can be viewed as a stochastic storage system with finite capacity, where LtL_{t} and UtU_{t} act as reflecting barriers that keep ZtZ_{t} within the allowed range [Har13, §2.3]. In the special case where the reference market price StS_{t} follows a geometric Brownian motion, ZtZ_{t} becomes a reflected Brownian motion [Har13, §6].

We now consider the dynamics of the reserve process xtx_{t} (or yty_{t}). Time tt is a point of increase (or decrease) for xtx_{t} if there exists δ>0\delta>0 such that xtδ1<xt+δ2x_{t-\delta_{1}}<x_{t+\delta_{2}} (or xtδ1>xt+δ2x_{t-\delta_{1}}>x_{t+\delta_{2}}) for all δ1,δ2(0,δ]\delta_{1},\delta_{2}\in(0,\delta]. The reserve process xtx_{t} increases (or decreases) only when Zt=aZ_{t}=a if, at every point of increase (or decrease) for xtx_{t}, Zt=aZ_{t}=a.

Corollary 3.9 (Inventory Dynamics in Arbitrage).

Under the assumptions of Proposition 3.7, the following hold:

  1. (a)

    xtx_{t} and yty_{t} are predictable processes.

  2. (b)

    xtx_{t} increases only when Zt=lnγZ_{t}=\ln\gamma and decreases only when Zt=lnγZ_{t}=-\ln\gamma; yty_{t} increases only when Zt=lnγZ_{t}=-\ln\gamma and decreases only when Zt=lnγZ_{t}=\ln\gamma.

  3. (c)

    lnxt\ln x_{t} and lnyt\ln y_{t} are continuous and of bounded variation on bounded intervals of [0,)[0,\infty).

  4. (d)

    The arbitrage inventory process can be characterized by

    dlnxt\displaystyle d\ln x_{t} =1w1w+γwdLtγ(1w)γ(1w)+wdUt,\displaystyle=\frac{1-w}{1-w+\gamma w}dL_{t}-\frac{\gamma(1-w)}{\gamma(1-w)+w}dU_{t},
    dlnyt\displaystyle d\ln y_{t} =wγ(1w)+wdUtγw1w+γwdLt.\displaystyle=\frac{w}{\gamma(1-w)+w}dU_{t}-\frac{\gamma w}{1-w+\gamma w}dL_{t}. (21)
Proof.

By Proposition 3.7 (a)–(c), UtU_{t}, LtL_{t}, and lnPt\ln P_{t} are continuous, predictable processes of bounded variation. The assertions follow directly from (9). ∎

The dynamics of liquidity growth based on the mispricing process can be described by incorporating ((d)) into (10).

Corollary 3.10 (Liquidity Dynamics in Arbitrage).

Under the assumptions of Proposition 3.7, the liquidity process t\ell_{t} is nondecreasing and predictable. Its rate of change is given by:

dlnt=(1γ)w(1w)1w+γwdLt+(1γ)w(1w)γ(1w)+wdUt.d\ln\ell_{t}=\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}dL_{t}+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}dU_{t}. (22)
Remark 3.11.

The liquidity growth term in (22) corresponds to the excess growth rate (see Section 4.1) in Stochastic Portfolio Theory [Fer02, §1.1] as γ1\gamma\to 1.

3.3. LP Wealth Growth

In this section, we analyze how the wealth of liquidity providers (LPs) evolves in the G3M under arbitrage-driven dynamics. To do this, we’ll express the LP’s wealth in terms of the reference market prices and the mispricing process.

Define that the LP’s wealth VtV_{t} as the total value of their holdings in the pool, denominated in terms of the reference market prices StXS^{X}_{t} and StYS^{Y}_{t} for assets XX and YY, respectively. This can be written as:

Vt=StXxt+StYyt=StY(Stxt+yt),V_{t}=S^{X}_{t}x_{t}+S^{Y}_{t}y_{t}=S^{Y}_{t}(S_{t}x_{t}+y_{t}), (23)

where St=StX/StYS_{t}=S^{X}_{t}/S^{Y}_{t} is the relative price of asset XX in the reference market.

Using the relationship between the G3M pool price PtP_{t} and the reserves (equation (6)), we can derive bounds on the term Stxt+ytS_{t}x_{t}+y_{t}:

Stxt+yt\displaystyle S_{t}x_{t}+y_{t} γPtxt+yt=γ(Ptxt+yt)+(1γ)yt=(1w(1γ))(Ptxt+yt);\displaystyle\geq\gamma P_{t}x_{t}+y_{t}=\gamma\left(P_{t}x_{t}+y_{t}\right)+(1-\gamma)y_{t}=\left(1-w(1-\gamma)\right)\left(P_{t}x_{t}+y_{t}\right);
Stxt+yt\displaystyle S_{t}x_{t}+y_{t} 1γPtxt+yt=1γ(Ptxt+yt)+(11γ)yt={1+w(1γ1)}(Ptxt+yt).\displaystyle\leq\frac{1}{\gamma}P_{t}x_{t}+y_{t}=\frac{1}{\gamma}\left(P_{t}x_{t}+y_{t}\right)+\left(1-\frac{1}{\gamma}\right)y_{t}=\left\{1+w\left(\frac{1}{\gamma}-1\right)\right\}\left(P_{t}x_{t}+y_{t}\right).

These inequalities show that the value of the LP’s holdings, Stxt+ytS_{t}x_{t}+y_{t}, is always within a certain factor of the value based on the G3M pool price, Ptxt+ytP_{t}x_{t}+y_{t}. To quantify this relationship, we define the ratio:

dt:=lnStxt+ytPtxt+yt.d_{t}:=\ln\frac{S_{t}x_{t}+y_{t}}{P_{t}x_{t}+y_{t}}.

From the above inequalities, we see that dtd_{t} is bounded:

1w(1γ)dt1+w(γ11).1-w(1-\gamma)\leq d_{t}\leq 1+w(\gamma^{-1}-1).

Now, we can express the logarithmic wealth of the LP as:

lnVt\displaystyle\ln V_{t} =lnt+wlnStX+(1w)lnStY+dtZt\displaystyle=\ln\ell_{t}+w\ln S^{X}_{t}+(1-w)\ln S^{Y}_{t}+d_{t}-Z_{t}
=(1γ)w(1w)1w+γwLt+(1γ)w(1w)γ(1w)+wUt\displaystyle=\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}L_{t}+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}U_{t}
+wlnStX+(1w)lnStY+dtZt,\displaystyle\quad+w\ln S^{X}_{t}+(1-w)\ln S^{Y}_{t}+d_{t}-Z_{t}, (24)

Note that dtd_{t} and ZtZ_{t} are bounded. This decomposition is the key to understanding the LP wealth growth in the G3M under arbitrage.

4. LP wealth growth analysis

This section develops a methodology for calculating the ergodic growth rates of LP wealth components, denoted by LtL_{t}, UtU_{t}, and VtV_{t}. We begin by establishing the stochastic market model that governs the price dynamics of the assets involved.

4.1. Market Model Setup

We consider a market with two assets, XX and YY, whose price dynamics are governed by the following SDEs:

dlnStX\displaystyle d\ln S^{X}_{t} =μtXdt+ξtXXdBtX+ξtXYdBtY,\displaystyle=\mu^{X}_{t}dt+\xi^{XX}_{t}dB^{X}_{t}+\xi^{XY}_{t}dB^{Y}_{t}, (25)
dlnStY\displaystyle d\ln S^{Y}_{t} =μtYdt+ξtYXdBtX+ξtYYdBtY,\displaystyle=\mu^{Y}_{t}dt+\xi^{YX}_{t}dB^{X}_{t}+\xi^{YY}_{t}dB^{Y}_{t},

where μtX\mu^{X}_{t}, μtY\mu^{Y}_{t}, ξtXX\xi^{XX}_{t}, ξtXY\xi^{XY}_{t}, ξtYX\xi^{YX}_{t}, ξtYY\xi^{YY}_{t} are measurable and adapted, and BtXB^{X}_{t} and BtYB^{Y}_{t} are independent Brownian motions. The corresponding covariance processes for lnStX\ln S^{X}_{t} and lnStY\ln S^{Y}_{t} are given by

σtXXdt\displaystyle\sigma^{XX}_{t}dt =dlnSX,lnSXt=(ξtXXξtXX+ξtXYξtXY)dt,\displaystyle=d\langle\ln S^{X},\ln S^{X}\rangle_{t}=\left(\xi^{XX}_{t}\xi^{XX}_{t}+\xi^{XY}_{t}\xi^{XY}_{t}\right)dt,
σtXYdt\displaystyle\sigma^{XY}_{t}dt =dlnSX,lnSYt=(ξtXXξtYX+ξtXYξtYY)dt=dlnSY,lnSXt=σtYXdt,\displaystyle=d\langle\ln S^{X},\ln S^{Y}\rangle_{t}=\left(\xi^{XX}_{t}\xi^{YX}_{t}+\xi^{XY}_{t}\xi^{YY}_{t}\right)dt=d\langle\ln S^{Y},\ln S^{X}\rangle_{t}=\sigma^{YX}_{t}dt, (26)
σtYYdt\displaystyle\sigma^{YY}_{t}dt =dlnSY,lnSYt=(ξtYXξtYX+ξtYYξtYY)dt.\displaystyle=d\langle\ln S^{Y},\ln S^{Y}\rangle_{t}=\left(\xi^{YX}_{t}\xi^{YX}_{t}+\xi^{YY}_{t}\xi^{YY}_{t}\right)dt.

In this framework, the AMM price, denoted by PtP_{t}, is driven by the relative price of the two assets, St=StXStYS_{t}=\frac{S^{X}_{t}}{S^{Y}_{t}}. Applying Itô’s lemma to StS_{t}, we obtain

dlnSt\displaystyle d\ln S_{t} =dlnStXdlnStY\displaystyle=d\ln S^{X}_{t}-d\ln S^{Y}_{t}
=(μtXμtY)dt+(ξtXXξtYX)dBtX+(ξtXYξtYY)dBtY\displaystyle=(\mu^{X}_{t}-\mu^{Y}_{t})dt+(\xi^{XX}_{t}-\xi^{YX}_{t})dB^{X}_{t}+(\xi^{XY}_{t}-\xi^{YY}_{t})dB^{Y}_{t} (27)
:=μtdt+σtdBtXY,\displaystyle:=\mu_{t}dt+\sigma_{t}dB^{XY}_{t},

where μt=μtXμtY\mu_{t}=\mu^{X}_{t}-\mu^{Y}_{t}, dBtXY=(σtXX)12σtdBtX(σtYY)12σtdBtYdB^{XY}_{t}=\frac{(\sigma^{XX}_{t})^{\frac{1}{2}}}{\sigma_{t}}dB^{X}_{t}-\frac{(\sigma^{YY}_{t})^{\frac{1}{2}}}{\sigma_{t}}dB^{Y}_{t}, and σt=σtXX+σtYY2σtXY\sigma_{t}=\sqrt{\sigma^{XX}_{t}+\sigma^{YY}_{t}-2\sigma^{XY}_{t}}.

Finally, we assume the following long-term limits exist for t>0t>0:

μX:=limT𝔼t[lnSTX]TtandμY:=limT𝔼t[lnSTY]Ttexist.\displaystyle\mu_{X}:=\lim_{T\to\infty}\frac{\mathbb{E}_{t}\left[\ln S^{X}_{T}\right]}{T-t}\quad\text{and}\quad\mu_{Y}:=\lim_{T\to\infty}\frac{\mathbb{E}_{t}\left[\ln S^{Y}_{T}\right]}{T-t}\quad\text{exist.} (28)

These limits represent the long-term average growth rates of the asset prices. For convenience, we define μ=μXμY\mu=\mu_{X}-\mu_{Y}, which represents the long-term average growth rate of the relative price StS_{t}.

4.2. Mispricing Process as a Reflected Diffusion

To analyze the dynamics of mispricing, we model the log relative price st:=lnSts_{t}:=\ln S_{t} as a diffusion process:

dst=μ~(t,st)dt+σ~(t,st)dWt,ds_{t}=\tilde{\mu}(t,s_{t})dt+\tilde{\sigma}(t,s_{t})dW_{t}, (29)

where μ~(t,x)\tilde{\mu}(t,x) and σ~(t,x)\tilde{\sigma}(t,x) both satisfy Lipschitz and linear growth condition in xx.

Building on Proposition 3.7 (which presumably establishes the continuity of the mispricing process), we may connect mispricing with reflected diffusions as follows:

Proposition 4.1 (Mispricing and Reflected Diffusion).

Let ZtZ_{t} be the mispricing process defined in (14), and suppose that the reference market price process StS_{t} follows (29). Then ZtZ_{t} has the same distribution as a reflected diffusion Z~t\tilde{Z}_{t} on the interval [lnγ,lnγ][\ln\gamma,-\ln\gamma] with infinitesimal generator

=μ~(t,st)z+12σ~(t,st)22z2\mathcal{L}=\tilde{\mu}(t,s_{t})\frac{\partial}{\partial z}+\frac{1}{2}\tilde{\sigma}(t,s_{t})^{2}\frac{\partial^{2}}{\partial z^{2}}

and Neumann boundary conditions (reflecting boundaries) at z=±lnγz=\pm\ln\gamma.

This proposition establishes that the mispricing process ZtZ_{t} can be equivalently represented as a diffusion process confined to the interval [c,c][-c,c], where c=lnγc=-\ln\gamma. This "reflection" at the boundaries captures the dynamics of mispricing being bounded within a certain range. The process ZtZ_{t} evolves according to

dZt=dst+dLtdUt=μ~(t,st)dt+σ~(t,st)dWt+dLtdUt,dZ_{t}=ds_{t}+dL_{t}-dU_{t}=\tilde{\mu}(t,s_{t})dt+\tilde{\sigma}(t,s_{t})dW_{t}+dL_{t}-dU_{t},

where recall that LtL_{t} and UtU_{t} are non-decreasing, continuous processes with L0=U0=0L_{0}=U_{0}=0. These processes increase only when ZtZ_{t} hits the lower boundary c-c (dLtdL_{t} increases) or the upper boundary cc (dUtdU_{t} increases), respectively, ensuring the reflection.

For notational convenience, we define the following conditional expectations:

μ(t,Zt)=𝔼[μ~(t,st)|Zt],σ(t,Zt)=𝔼[σ~2(t,st)|Zt].\displaystyle\mu(t,Z_{t})=\mathbb{E}\left[\tilde{\mu}(t,s_{t})|Z_{t}\right],\qquad\sigma(t,Z_{t})=\sqrt{\mathbb{E}\left[\tilde{\sigma}^{2}(t,s_{t})|Z_{t}\right]}. (30)

Here, 𝔼[]\mathbb{E}\left[\cdot\right] denotes the conditional expectation with respect to the filtration up to time tt.

The following lemma shows a Feynman-Kac style formula for reflected diffusions.

Lemma 4.2.

For any given deterministic functions αt\alpha_{t} and βt\beta_{t} of tt, the solution u(t,z)u(t,z) to the following parabolic PDE

ut+σ2(t,z)2uzz+μ(t,z)uz+f(t,z)=0u_{t}+\frac{\sigma^{2}(t,z)}{2}u_{zz}+\mu(t,z)u_{z}+f(t,z)=0 (31)

with boundary condition

uz(t,c)=αt,uz(t,c)=βtu_{z}(t,-c)=\alpha_{t},\quad u_{z}(t,c)=\beta_{t}

and terminal condition u(T,z)=g(z)u(T,z)=g(z) has the following stochastic representation

u(t,z)=𝔼t[g(ZT)+tTf(τ,Zτ)𝑑τtTατ𝑑Lτ+tTβτ𝑑Uτ],u(t,z)=\mathbb{E}_{t}\left[g(Z_{T})+\int_{t}^{T}f(\tau,Z_{\tau})d\tau-\int_{t}^{T}\alpha_{\tau}dL_{\tau}+\int_{t}^{T}\beta_{\tau}dU_{\tau}\right], (32)

where ZtZ_{t} is the reflected diffusion driven by

dZt=μ~(t,st)dt+σ~(t,st)dWt+dLtdUt.dZ_{t}=\tilde{\mu}(t,s_{t})dt+\tilde{\sigma}(t,s_{t})dW_{t}+dL_{t}-dU_{t}. (33)
Proof.

Itô’s formula implies that

u(T,ZT)u(t,Zt)\displaystyle u(T,Z_{T})-u(t,Z_{t})
=\displaystyle= tT(tu+12σ~2(τ,sτ)uzz+μ~(τ,sτ)uz)𝑑τ+tTσ~(τ,sτ)uz𝑑Wτ+tTuz𝑑LτtTuz𝑑Uτ.\displaystyle\int_{t}^{T}\left(\partial_{t}u+\frac{1}{2}\tilde{\sigma}^{2}(\tau,s_{\tau})u_{zz}+\tilde{\mu}(\tau,s_{\tau})u_{z}\right)d\tau+\int_{t}^{T}\tilde{\sigma}(\tau,s_{\tau})u_{z}dW_{\tau}+\int_{t}^{T}u_{z}dL_{\tau}-\int_{t}^{T}u_{z}dU_{\tau}.

By taking into account the boundary and terminal conditions and taking conditional expectation 𝔼t[]\mathbb{E}_{t}\left[\cdot\right] on both sides of the last equation, we obtain

𝔼t[g(ZT)]u(t,z)\displaystyle\mathbb{E}_{t}\left[g(Z_{T})\right]-u(t,z)
=\displaystyle= 𝔼t[tT(ut+12σ~2(τ,sτ)uzz+μ~(τ,sτ)uz)𝑑τ+tTuz𝑑LτtTuz𝑑Uτ].\displaystyle\mathbb{E}_{t}\left[\int_{t}^{T}\left(u_{t}+\frac{1}{2}\tilde{\sigma}^{2}(\tau,s_{\tau})u_{zz}+\tilde{\mu}(\tau,s_{\tau})u_{z}\right)d\tau+\int_{t}^{T}u_{z}dL_{\tau}-\int_{t}^{T}u_{z}dU_{\tau}\right].

By following the proof of Harrison [Har13, Proposition 6.1] and using the Markov property of the diffusion dst=μ~(t,st)dt+σ~(t,st)dWtds_{t}=\tilde{\mu}(t,s_{t})dt+\tilde{\sigma}(t,s_{t})dW_{t}, we can show that ZZ satisfies Markov property in the sense that for all τ0\tau\geq 0 and x[c,c]x\in[-c,c],

𝔼x[K(Z,L,U)|τ]=k(Zτ),\mathbb{E}^{x}[K(Z^{*},L^{*},U^{*})|\mathcal{F}_{\tau}]=k(Z_{\tau}),

where K:C[0,)×C[0,)×C[0,)K:C[0,\infty)\times C[0,\infty)\times C[0,\infty)\to\mathbb{R} is measurable, 𝔼x[|K(Z,L,U)|]<\mathbb{E}^{x}[|K(Z,L,U)|]<\infty, Zt=Zτ+tZ^{*}_{t}=Z_{\tau+t}, Lt=Lτ+tLτL^{*}_{t}=L_{\tau+t}-L_{\tau}, Ut=Uτ+tUτU^{*}_{t}=U_{\tau+t}-U_{\tau}, and k(x)=𝔼x[K(Z,L,U)]k(x)=\mathbb{E}^{x}[K(Z,L,U)]. In particular, this implies that

𝔼t[μ~(τ,sτ)uz]=𝔼t[𝔼[μ~(τ,sτ)|τ]uz]=𝔼t[𝔼[μ~(τ,sτ)|Zτ]uz]=𝔼t[μ(τ,Zτ)uz].\mathbb{E}_{t}\left[\tilde{\mu}(\tau,s_{\tau})u_{z}\right]=\mathbb{E}_{t}\left[\mathbb{E}[\tilde{\mu}(\tau,s_{\tau})|\mathcal{F}_{\tau}]u_{z}\right]=\mathbb{E}_{t}\left[\mathbb{E}\left[\tilde{\mu}(\tau,s_{\tau})|Z_{\tau}\right]u_{z}\right]=\mathbb{E}_{t}\left[\mu(\tau,Z_{\tau})u_{z}\right].

Likewise,

𝔼t[σ~2(τ,sτ)uz]=𝔼t[σ2(τ,Zτ)uz].\mathbb{E}_{t}\left[\tilde{\sigma}^{2}(\tau,s_{\tau})u_{z}\right]=\mathbb{E}_{t}\left[\sigma^{2}(\tau,Z_{\tau})u_{z}\right].

It follows that

𝔼t[g(ZT)]u(t,z)\displaystyle\mathbb{E}_{t}\left[g(Z_{T})\right]-u(t,z)
=\displaystyle= 𝔼t[tT(ut(τ,Zτ)+12σ2(τ,Zτ)uzz+μ(τ,Zτ)uz)𝑑τ+tTατ𝑑LτtTβτ𝑑Uτ]\displaystyle\mathbb{E}_{t}\left[\int_{t}^{T}\left(u_{t}(\tau,Z_{\tau})+\frac{1}{2}\sigma^{2}(\tau,Z_{\tau})u_{zz}+\mu(\tau,Z_{\tau})u_{z}\right)d\tau+\int_{t}^{T}\alpha_{\tau}dL_{\tau}-\int_{t}^{T}\beta_{\tau}dU_{\tau}\right]
=\displaystyle= 𝔼t[tTf(τ,Zτ)𝑑τ+tTατ𝑑LτtTβτ𝑑Uτ]\displaystyle\mathbb{E}_{t}\left[-\int_{t}^{T}f(\tau,Z_{\tau})d\tau+\int_{t}^{T}\alpha_{\tau}dL_{\tau}-\int_{t}^{T}\beta_{\tau}dU_{\tau}\right]

since uu satisfies the PDE (31). By rearranging terms, it follows that the stochastic representation (32) holds. ∎

In general, the solution to the terminal-boundary value problem in Lemma 4.2 admits no simple analytical expression. We will focus on two special cases where the eigensystem associated with the infinitesimal generator of ZtZ_{t} (with Neumann boundary conditions) is readily accessible. To handle these cases, we introduce the following lemma, which addresses parabolic PDEs with non-zero Neumann boundary conditions.

Lemma 4.3.

The solution uu to the parabolic PDE

ut+σ2(t,x)2uxx+μ(t,x)ux=0u_{t}+\frac{\sigma^{2}(t,x)}{2}u_{xx}+\mu(t,x)u_{x}=0 (34)

with boundary conditions

ux(t,c)=a,ux(t,c)=bu_{x}(t,-c)=a,\quad u_{x}(t,c)=b

for some constants aa, bb, and terminal condition u(T,x)=0u(T,x)=0 is given by

u(t,x)=v(t,x)+ba4cx2+b+a2x,u(t,x)=v(t,x)+\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x, (35)

where vv is the solution to the following inhomogeneous parabolic PDE

vt+σ2(t,x)2vxx+μ(t,x)vx+σ2(x)2ba2c+μ(x)(ba2cx+b+a2)=0v_{t}+\frac{\sigma^{2}(t,x)}{2}v_{xx}+\mu(t,x)v_{x}+\frac{\sigma^{2}(x)}{2}\frac{b-a}{2c}+\mu(x)\left(\frac{b-a}{2c}x+\frac{b+a}{2}\right)=0

with Neumann boundary conditions vx(t,c)=vx(t,c)=0v_{x}(t,-c)=v_{x}(t,c)=0 and terminal condition

v(T,x)=ba4cx2b+a2x.v(T,x)=-\frac{b-a}{4c}x^{2}-\frac{b+a}{2}x.
Proof.

The result follows from straightforward calculations. ∎

4.3. Time-homogeneous reflected diffusion

This section focuses on the scenario where the mispricing process ZtZ_{t}, defined by (33), is time-homogeneous. This means that the drift μ\mu and volatility σ\sigma in (30) are independent of time, simplifying the analysis. In this case, we can leverage the eigensystem of the infinitesimal generator of ZtZ_{t} to express the conditional expectation in (32).

Recall that the infinitesimal generator of ZtZ_{t} is given by the differential operator =σ2(x)2x2+μ(x)x\mathcal{L}=\frac{\sigma^{2}(x)}{2}\partial_{x}^{2}+\mu(x)\partial_{x}. This operator can be expressed in the Sturm-Liouville form (48):

=1ω(x)x(p(x)x),\mathcal{L}=\frac{1}{\omega(x)}\frac{\partial}{\partial x}\left(p(x)\frac{\partial}{\partial x}\right),

where

p(x):=e2μ(x)σ2(x)𝑑x,ω(x):=2σ2(x)e2μ(x)σ2(x)𝑑x.p(x):=e^{\int\frac{2\mu(x)}{\sigma^{2}(x)}dx},\qquad\omega(x):=\frac{2}{\sigma^{2}(x)}e^{\int\frac{2\mu(x)}{\sigma^{2}(x)}dx}.

Here, ω\omega represents the speed measure from classical diffusion theory, which measures how quickly the diffusion moves through different regions of the state space.

Let {(λn,en(x))}n=0\{(\lambda_{n},e_{n}(x))\}_{n=0}^{\infty} be the normalized eigensystem associated with \mathcal{L} with Neumann boundary condition in the interval [c,c][-c,c]. This eigensystem provides a convenient basis for analyzing the dynamics of ZtZ_{t}. The following theorem presents an eigensystem expansion for conditional expectations of time-homogeneous reflected diffusions.

Theorem 4.4.

For a time-homogeneous reflected diffusion ZtZ_{t} and any constants aa and bb, the conditional expectation

𝔼t[tTa𝑑Lτ+tTb𝑑Uτ]\mathbb{E}_{t}\left[-\int_{t}^{T}adL_{\tau}+\int_{t}^{T}bdU_{\tau}\right] (36)

admits the following eigensystem expansion associated with \mathcal{L} with Neumann boundary condition:

𝔼t[tTa𝑑Lτ+tTb𝑑Uτ]\displaystyle\mathbb{E}_{t}\left[-\int_{t}^{T}adL_{\tau}+\int_{t}^{T}bdU_{\tau}\right]
=\displaystyle= ba4cx2+b+a2x+ξ0(Tt)η0+n=1{ξnλn[1eλn(Tt)]ηneλn(Tt)}en(x),\displaystyle\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x+\xi_{0}(T-t)-\eta_{0}+\sum_{n=1}^{\infty}\left\{\frac{\xi_{n}}{\lambda_{n}}\left[1-e^{-\lambda_{n}(T-t)}\right]-\eta_{n}e^{-\lambda_{n}(T-t)}\right\}e_{n}(x),

where the coefficients ξn\xi_{n} and ηn\eta_{n}, for n0n\geq 0, are given by

ξn=cch(x)en(x)ω(x)𝑑x,ηn=cck(x)en(x)ω(x)𝑑x\xi_{n}=\int_{-c}^{c}h(x)e_{n}(x)\omega(x)dx,\qquad\eta_{n}=\int_{-c}^{c}k(x)e_{n}(x)\omega(x)dx (38)

with

h(x)=σ2(x)2ba2c+μ(x)(ba2cx+b+a2),k(x)=ba4cx2b+a2x.h(x)=\frac{\sigma^{2}(x)}{2}\frac{b-a}{2c}+\mu(x)\left(\frac{b-a}{2c}x+\frac{b+a}{2}\right),\qquad k(x)=-\frac{b-a}{4c}x^{2}-\frac{b+a}{2}x.
Proof.

Let

u(t,x)=𝔼t[tTa𝑑Lτ+tTb𝑑Uτ].u(t,x)=\mathbb{E}_{t}\left[-\int_{t}^{T}adL_{\tau}+\int_{t}^{T}bdU_{\tau}\right].

Then, by Lemma 4.2, uu satisfies the PDE

ut+σ2(x)2uxx+μ(x)ux=0u_{t}+\frac{\sigma^{2}(x)}{2}u_{xx}+\mu(x)u_{x}=0

with boundary condition ux(t,c)=au_{x}(t,-c)=a, ux(t,c)=bu_{x}(t,c)=b, for all t<Tt<T, and terminal condition u(T,x)=0u(T,x)=0. Thus, by Lemma 4.3, the solution uu can be written as

u(t,x)=v(t,x)+ba4cx2+b+a2x,u(t,x)=v(t,x)+\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x,

where vv is the solution to the following inhomogeneous parabolic PDE

vt+σ2(x)2vxx+μ(x)vx+σ2(x)2ba2c+μ(x)(ba2cx+b+a2)=0v_{t}+\frac{\sigma^{2}(x)}{2}v_{xx}+\mu(x)v_{x}+\frac{\sigma^{2}(x)}{2}\frac{b-a}{2c}+\mu(x)\left(\frac{b-a}{2c}x+\frac{b+a}{2}\right)=0

with Neumann boundary conditions vx(t,c)=vx(t,c)=0v_{x}(t,-c)=v_{x}(t,c)=0 and terminal condition

v(T,x)=ba4cx2b+a2x.v(T,x)=-\frac{b-a}{4c}x^{2}-\frac{b+a}{2}x.

Hence, the eigensystem expansion for vv as in (4.4) in Section A is given by

v(t,x)=ξ0(Tt)η0+n=1{ξnλn[1eλn(Tt)]ηneλn(Tt)}en(x),v(t,x)=\xi_{0}(T-t)-\eta_{0}+\sum_{n=1}^{\infty}\left\{\frac{\xi_{n}}{\lambda_{n}}\left[1-e^{-\lambda_{n}(T-t)}\right]-\eta_{n}e^{-\lambda_{n}(T-t)}\right\}e_{n}(x),

where the coefficients ξn\xi_{n}’s and ηn\eta_{n}’s are defined in (38). Finally, since

𝔼t[tTa𝑑Lτ+tTb𝑑Uτ]=u(t,x)=ba4cx2+b+a2x+v(t,x),\mathbb{E}_{t}\left[-\int_{t}^{T}adL_{\tau}+\int_{t}^{T}bdU_{\tau}\right]=u(t,x)=\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x+v(t,x),

it follows that the eigensystem expansion (4.4) holds. ∎

This theorem provides a concrete way to calculate the conditional expectation in (36) using the eigensystem of the infinitesimal generator. This result enables us to analyze the long-term behavior of the mispricing process and its impact on LP wealth.

Corollary 4.5.

As TT\to\infty, the limit of time-average of the conditional expectation (36) is given by

limT\displaystyle\lim_{T\to\infty} 1Tt𝔼t[a(LTLt)+b(UTUt)]\displaystyle\frac{1}{T-t}\mathbb{E}_{t}\left[-a(L_{T}-L_{t})+b(U_{T}-U_{t})\right]
=ξ0=cc{σ2(x)2ba2c+μ(x)(ba2cx+a+b2)}ω(x)𝑑xccω(x)𝑑x.\displaystyle=\xi_{0}=\frac{\int_{-c}^{c}\left\{\frac{\sigma^{2}(x)}{2}\frac{b-a}{2c}+\mu(x)\left(\frac{b-a}{2c}x+\frac{a+b}{2}\right)\right\}\omega(x)dx}{\int_{-c}^{c}\omega(x)dx}.

This corollary, which can also be found in [GW13], provides a concise expression for the long-term average behavior of the processes LtL_{t} and UtU_{t}, which regulate the reflection of the mispricing process at the boundaries.

Leveraging this result, we can determine the long-term expected logarithmic growth rate of an LP’s wealth in the G3M model.

Theorem 4.6 (Log Growth Rate of LP Wealth in G3M Time-homogeneous).

For a time-homogeneous mispricing process ZtZ_{t}, the long-term expected logarithmic growth rate of an LP’s wealth in a G3M is given by

limT𝔼t[lnVT]Tt=wμX+(1w)μY+(1γ)w(1w)1w+γwα+(1γ)w(1w)γ(1w)+wβ,\lim_{T\to\infty}\frac{\mathbb{E}_{t}[\ln V_{T}]}{T-t}=w\mu_{X}+(1-w)\mu_{Y}+\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}\alpha+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\beta, (39)

where μX\mu_{X} and μY\mu_{Y} are the long-term growth rates of the asset prices (defined in (28)), and

α\displaystyle\alpha =lnγlnγ{σ2(x)4lnγ+μ(x)(12lnγx12)}ω(x)dxlnγlnγω(x)𝑑x,\displaystyle=\frac{\int_{\ln\gamma}^{-\ln\gamma}-\left\{\frac{\sigma^{2}(x)}{4\ln\gamma}+\mu(x)\left(\frac{1}{2\ln\gamma}x-\frac{1}{2}\right)\right\}\omega(x)dx}{\int_{\ln\gamma}^{-\ln\gamma}\omega(x)dx},
β\displaystyle\beta =lnγlnγ{σ2(x)4lnγ+μ(x)(12lnγx+12)}ω(x)dxlnγlnγω(x)𝑑x,\displaystyle=\frac{\int_{\ln\gamma}^{-\ln\gamma}-\left\{\frac{\sigma^{2}(x)}{4\ln\gamma}+\mu(x)\left(\frac{1}{2\ln\gamma}x+\frac{1}{2}\right)\right\}\omega(x)dx}{\int_{\ln\gamma}^{-\ln\gamma}\omega(x)dx},
ω(x)\displaystyle\omega(x) =2σ2(x)e2μ(x)σ2(x)𝑑x.\displaystyle=\frac{2}{\sigma^{2}(x)}e^{\int\frac{2\mu(x)}{\sigma^{2}(x)}dx}.
Proof.

This result follows directly from combining the expression for the logarithmic growth rate of LP wealth (3.3), the definitions of μX\mu_{X} and μY\mu_{Y} (28), and Corollary 4.5. ∎

Theorem 4.6 provides a practical method for calculating the long-term growth rate of an LP’s wealth. The terms α\alpha and β\beta quantify the influence of mispricing on this growth rate, capturing the effects of the boundaries on mispricing and the speed measure.

Remark 4.7.

Theorem 4.6 reveals an intriguing connection between liquidity wealth dynamics in G3Ms under arbitrage-driven scenarios and the principles of Stochastic Portfolio Theory (SPT), particularly in frictionless markets. More precisely, Equation (39) corresponds to the growth rate

wμX+(1w)μY+w(1w)2σ2w\mu_{X}+(1-w)\mu_{Y}+\frac{w(1-w)}{2}\sigma^{2}

of a constant rebalanced portfolio with the same weight, as discussed in [Fer02, §1.1]. Furthermore, the term (1γ)w(1w)1w+γwα+(1γ)w(1w)γ(1w)+wβ\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}\alpha+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\beta converges to the excess growth rate w(1w)2σ2\frac{w(1-w)}{2}\sigma^{2} as the fee tier γ\gamma approaches 1.

Finally, we characterize the steady-state distribution of the time-homogeneous mispricing process ZtZ_{t}, for which we refer the reader to Theorem A.2 in the appendix.

Theorem 4.8 (Steady-State Distribution).

For a time-homogeneous mispricing process ZtZ_{t}, the reflected diffusion defined in (33) has a steady-state distribution π\pi given by

π(dz)=ω(z)ccω(ζ)𝑑ζdz,z[c,c].\pi(dz)=\frac{\omega(z)}{\int_{-c}^{c}\omega(\zeta)d\zeta}dz,\quad z\in[-c,c].

provided that ω(z)\omega(z) is integrable on [c,c][-c,c]. This implies that the steady-state distribution is proportional to the speed measure.

The steady-state distribution describes the long-term behavior of the mispricing process. Its proportionality to the speed measure indicates that the process tends to spend more time in regions where the speed measure is large, i.e., where the diffusion moves slowly.

4.4. Optimal fees and optimal growth

To illustrate the link between LP wealth growth and SPT (as discussed in Remark 4.7), we consider a G3M operating within a GBM market model. This simplifies the market dynamics in (25) by assuming constant parameters for the asset prices. Consequently, the covariance processes in (4.1) also have constant parameters, and the relative price St=StX/StYS_{t}=S^{X}_{t}/S^{Y}_{t} follows a simpler SDE:

dlnSt=μdt+σdBt,d\ln S_{t}=\mu dt+\sigma dB_{t},

where μ\mu and σ\sigma are constants defined in (4.1). This simplified setting allows us to explicitly compute the long-term expected logarithmic growth rate of LP wealth using Theorem 4.6.

Corollary 4.9 (Log Growth Rate of LP under GBM).

In a G3M operating under a GBM market with constant drift μ\mu and volatility σ\sigma, the long-term logarithmic growth rate of LP wealth is:

limT𝔼t[lnVT]Tt=wμX+(1w)μY+(1γ)w(1w)1w+γwα+(1γ)w(1w)γ(1w)+wβ,\displaystyle\lim_{T\to\infty}\frac{\mathbb{E}_{t}[\ln V_{T}]}{T-t}=w\mu_{X}+(1-w)\mu_{Y}+\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}\alpha+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\beta,

where θ=2μσ2\theta=\frac{2\mu}{\sigma^{2}} and

  • α=β=σ24lnγ\alpha=\beta=-\frac{\sigma^{2}}{4\ln\gamma} if θ=0\theta=0.

  • α=θσ22(γ2θ1)\alpha=\frac{\theta\sigma^{2}}{2(\gamma^{-2\theta}-1)} and β=θσ22(1γ2θ)\beta=\frac{\theta\sigma^{2}}{2(1-\gamma^{2\theta})} if θ0\theta\neq 0.

Furthermore, the steady-state distribution π\pi of the mispricing process ZtZ_{t} is:

  • If θ=0\theta=0, then π\pi is the uniform distribution on [lnγ,lnγ][\ln\gamma,-\ln\gamma].

  • If θ0\theta\neq 0, π\pi is the truncated exponential distribution

    π(dz)=θeθzγθγθdz,z[lnγ,lnγ].\pi(dz)=\frac{\theta e^{\theta z}}{\gamma^{-\theta}-\gamma^{\theta}}dz,\ z\in[\ln\gamma,-\ln\gamma].
Proof.

Under the GBM assumption, μ(x)μ\mu(x)\equiv\mu and σ(x)σ\sigma(x)\equiv\sigma are constants. Therefore

ω(x)\displaystyle\omega(x) ={2σ2 if θ=0,2σ2eθx if θ0,\displaystyle=\begin{cases}\frac{2}{\sigma^{2}}&\text{ if }\theta=0,\\ \frac{2}{\sigma^{2}}e^{\theta x}&\text{ if }\theta\neq 0,\end{cases}
lnγlnγω(x)𝑑x\displaystyle\int^{-\ln\gamma}_{\ln\gamma}\omega(x)dx ={2lnγσ2 if θ=0,1μ[γθγθ] if θ0,\displaystyle=\begin{cases}\frac{-2\ln\gamma}{\sigma^{2}}&\text{ if }\theta=0,\\ \frac{1}{\mu}\left[\gamma^{-\theta}-\gamma^{\theta}\right]&\text{ if }\theta\neq 0,\end{cases}
lnγlnγxω(x)𝑑x\displaystyle\int^{-\ln\gamma}_{\ln\gamma}x\omega(x)dx ={0 if θ=0,lnγμ[γθ+γθ]+1θμ[γθγθ] if θ0.\displaystyle=\begin{cases}0&\text{ if }\theta=0,\\ \frac{-\ln\gamma}{\mu}\left[\gamma^{-\theta}+\gamma^{\theta}\right]+\frac{1}{\theta\mu}\left[\gamma^{-\theta}-\gamma^{\theta}\right]&\text{ if }\theta\neq 0.\end{cases}

The corollary then follows directly from Theorem 4.6 and Theorem 4.8. ∎

Remark 4.10.

This result is consistent with the calculation in [Har13, Proposition 6.6], which utilizes the stationary distribution of the mispricing process.

4.4.1. Numerical Analysis and Optimal Fees

We now numerically investigate the growth rate of LP wealth in G3Ms across different fee tiers γ\gamma and asset weights ww. This analysis extends the work in [TW20, §5], which focused on the specific case of w=12w=\frac{1}{2}.

To quantify the impact of fees, we define g(w,γ)g(w,\gamma) as the ratio of the "mispricing-related" term in the G3M growth rate to the excess return in SPT. Corollary 4.9 yields

g(w,γ)={12lnγ{1γ1w+γw+1γγ(1w)+w}if θ=0;θ{1γ1w+γwγ2θ1γ2θ+1γγ(1w)+w11γ2θ}if θ0.g(w,\gamma)=\begin{cases}-\frac{1}{2\ln\gamma}\left\{\frac{1-\gamma}{1-w+\gamma w}+\frac{1-\gamma}{\gamma(1-w)+w}\right\}\quad&\text{if }\theta=0;\\ \theta\left\{\frac{1-\gamma}{1-w+\gamma w}\frac{\gamma^{2\theta}}{1-\gamma^{2\theta}}+\frac{1-\gamma}{\gamma(1-w)+w}\frac{1}{1-\gamma^{2\theta}}\right\}\quad&\text{if }\theta\neq 0.\end{cases}

Figures 2 and 3 illustrate this growth rate ratio for various weights and values of θ=2μσ2\theta=\frac{2\mu}{\sigma^{2}}. These figures reveal interesting "phase transitions" for both θ\theta and ww, where the ratio can exhibit non-monotonicity. This suggests that the optimal fee tier γ\gamma^{*} that maximizes LP wealth growth may lie within the interior of the interval (0,1)(0,1), a behavior not observed when w=12w=\frac{1}{2}.

The figures also highlight the symmetry of g(w,γ)g(w,\gamma) with respect to θ\theta and w=12w=\frac{1}{2}.

  • By replacing θ\theta with θ-\theta, we obtain

    θ(1γ){11w+γwγ2θ1γ2θ+1γ(1w)+w11γ2θ}\displaystyle-\theta(1-\gamma)\left\{\frac{1}{1-w+\gamma w}\frac{\gamma^{-2\theta}}{1-\gamma^{-2\theta}}+\frac{1}{\gamma(1-w)+w}\frac{1}{1-\gamma^{-2\theta}}\right\}
    =\displaystyle= θ(1γ){11w+γw1γ2θ1+1γ(1w)+wγ2θγ2θ1}\displaystyle-\theta(1-\gamma)\left\{\frac{1}{1-w+\gamma w}\frac{1}{\gamma^{2\theta}-1}+\frac{1}{\gamma(1-w)+w}\frac{\gamma^{2\theta}}{\gamma^{2\theta}-1}\right\}
    =\displaystyle= θ(1γ){11w+γw11γ2θ+1γ(1w)+wγ2θ1γ2θ},\displaystyle\theta(1-\gamma)\left\{\frac{1}{1-w+\gamma w}\frac{1}{1-\gamma^{2\theta}}+\frac{1}{\gamma(1-w)+w}\frac{\gamma^{2\theta}}{1-\gamma^{2\theta}}\right\},

    which explains the symmetry between the plots for positive and negative values of θ\theta in Figure 2.

  • Let δ=w12\delta=w-\frac{1}{2}. Then, gg can be expressed in terms of δ\delta as

    g(δ,γ)={12lnγ{1γ12(1+γ)+(γ1)δ+1γ12(1+γ)(γ1)δ}if θ=0;θ{1γ12(1+γ)+(γ1)δγ2θ1γ2θ+1γ12(1+γ)(γ1)δ11γ2θ}if θ0.g(\delta,\gamma)=\begin{cases}-\frac{1}{2\ln\gamma}\left\{\frac{1-\gamma}{\frac{1}{2}(1+\gamma)+(\gamma-1)\delta}+\frac{1-\gamma}{\frac{1}{2}(1+\gamma)-(\gamma-1)\delta}\right\}\quad&\text{if }\theta=0;\\ \theta\left\{\frac{1-\gamma}{\frac{1}{2}(1+\gamma)+(\gamma-1)\delta}\frac{\gamma^{2\theta}}{1-\gamma^{2\theta}}+\frac{1-\gamma}{\frac{1}{2}(1+\gamma)-(\gamma-1)\delta}\frac{1}{1-\gamma^{2\theta}}\right\}\quad&\text{if }\theta\neq 0.\end{cases}

For θ=0\theta=0, we have g(δ,γ)=g(δ,γ)g(-\delta,\gamma)=g(\delta,\gamma), explaining why only "red colors" appear when θ=0\theta=0 in Figures 2 and 3. For θ0\theta\neq 0, a similar symmetry around δ=0\delta=0 (i.e., w=12w=\frac{1}{2}) is observed, as shown in Figure 2.

Heatmaps in Figures 4 and 5 further visualize the growth rate ratio. The location of the maximum value in each row is labeled, emphasizing the potential for non-monotonicity and interior optimal fee tiers. Notably, under certain conditions, the G3M can outperform both the unrebalanced (γ=0\gamma^{\ast}=0) and constant rebalanced (γ=1\gamma^{\ast}=1) portfolio strategies. ]

Refer to caption
Figure 2. Growth rate ratio for different values of weights. Note the symmetry between positive and negative θ\theta values.
Refer to caption
Figure 3. Growth rate ratio for different values of θ\theta. Note the symmetry around w=12w=\frac{1}{2}.
Refer to caption
Figure 4. Heatmap of growth rate ratio for different weights, with maximum values labeled.
Refer to caption
Figure 5. Heatmap of growth rate ratio for different values of θ\theta, with maximum values labeled.

4.5. Time-inhomogeneous reflected diffusion

In Section 4.3, we utilized the eigensystem of the infinitesimal generator to analyze the long-term growth rate of LP wealth for time-homogeneous reflected diffusions. However, this approach is not applicable when the drift and volatility coefficients are time-dependent, as there are no universal eigenfunctions associated with time-varying eigenvalues.

Nevertheless, we can still determine the long-term expected logarithmic growth rate by analyzing the asymptotic behavior of the time-averaged expectation. This section presents a method to achieve this for time-inhomogeneous reflected diffusions.

Let p(T,y|t,x)p(T,y|t,x) denote the transition density of the time-inhomogeneous reflected diffusion

dZt=μ~(t,st)dt+σ~(t,st)dWt+dLtdUtdZ_{t}=\tilde{\mu}(t,s_{t})dt+\tilde{\sigma}(t,s_{t})dW_{t}+dL_{t}-dU_{t}

confined to the interval [c,c][-c,c]. We assume that the time-dependent drift μ(t,z)\mu(t,z) and volatility σ(t,z)\sigma(t,z) defined in (30) converge to limiting functions as tt\to\infty:

limtσ(t,x)=σ(x),limtμ(t,x)=μ(x)\lim_{t\to\infty}\sigma(t,x)=\sigma(x),\qquad\lim_{t\to\infty}\mu(t,x)=\mu(x)

in the L2L^{2} sense, and that these limits are smooth and bounded. This implies that the mispricing process eventually approaches a time-homogeneous behavior. Define the limiting speed measure q(y)q(y) as:

q(y)=w(y)ccw(η)𝑑η, where w(y):=2σ2(y)e2μ(y)σ2(y)𝑑y.q(y)=\frac{w(y)}{\int_{-c}^{c}w(\eta)d\eta},\qquad\mbox{ where }w(y):=\frac{2}{\sigma^{2}(y)}e^{\int\frac{2\mu(y)}{\sigma^{2}(y)}dy}.

This speed measure corresponds to the stationary distribution of the limiting time-homogeneous reflected diffusion with drift μ(x)\mu(x) and volatility σ(x)\sigma(x).

The following theorem, whose proof is deferred to Appendix B, characterizes the long-term time-averaged expectation for time-inhomogeneous reflected diffusions.

Theorem 4.11.

Let u=u(t,x)u=u(t,x) be the solution to the parabolic PDE

ut+σ2(t,x)2uxx+μ(t,x)ux+f(t,x)=0u_{t}+\frac{\sigma^{2}(t,x)}{2}u_{xx}+\mu(t,x)u_{x}+f(t,x)=0

with Neumann boundary condition ux(t,c)=ux(t,c)=0u_{x}(t,-c)=u_{x}(t,c)=0 and terminal condition u(T,x)=g(x)u(T,x)=g(x). Assume that gL2g\in L^{2} and there exists a function f¯(x)\bar{f}(x) such that

limtf(t,x)=f¯(x)\lim_{t\to\infty}f(t,x)=\bar{f}(x)

in L2L^{2}. Then, the following asymptotic behavior holds for u(t,x)u(t,x) as TT\to\infty:

limTu(t,x)Tt=ccf¯(y)q(y)𝑑y.\lim_{T\to\infty}\frac{u(t,x)}{T-t}=\int_{-c}^{c}\bar{f}(y)q(y)dy.

This theorem provides a tool for analyzing the long-term behavior of time-inhomogeneous reflected diffusions. As a direct consequence, we obtain the following result for the long-term growth rate of LP wealth in the G3M model.

Corollary 4.12 (Log Growth Rate of LP Wealth in G3M Time-inhomogeneous).

Assume that the mispricing process ZtZ_{t} follows the time-inhomogeneous reflected diffusion process in the interval [c,c][-c,c] governed by

dZt=σ~(t,st)dWt+μ~(t,st)dt+dLtdUt,dZ_{t}=\tilde{\sigma}(t,s_{t})dW_{t}+\tilde{\mu}(t,s_{t})dt+dL_{t}-dU_{t}, (40)

with time-dependent coefficients σ(t,z)\sigma(t,z) and μ(t,z)\mu(t,z) defined in (30) converging to smooth and bounded limits σ(z)\sigma(z) and μ(z)\mu(z) in the L2L^{2} sense as tt\to\infty. Then, the long-term expected logarithmic growth rate of LP wealth in a G3M is:

limT𝔼t[lnVT]Tt=wμX+(1w)μY+(1γ)w(1w)1w+γwα+(1γ)w(1w)γ(1w)+wβ,\displaystyle\lim_{T\to\infty}\frac{\mathbb{E}_{t}[\ln V_{T}]}{T-t}=w\mu_{X}+(1-w)\mu_{Y}+\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}\alpha+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\beta,

where

α\displaystyle\alpha =lnγlnγ{σ2(x)4lnγ+μ(x)(12lnγx12)}ω¯(x)dxlnγlnγω(x)𝑑x,\displaystyle=\frac{\int_{\ln\gamma}^{-\ln\gamma}-\left\{\frac{\sigma^{2}(x)}{4\ln\gamma}+\mu(x)\left(\frac{1}{2\ln\gamma}x-\frac{1}{2}\right)\right\}\bar{\omega}(x)dx}{\int_{\ln\gamma}^{-\ln\gamma}\omega(x)dx},
β\displaystyle\beta =lnγlnγ{σ2(x)4lnγ+μ(x)(12lnγx+12)}ω(x)dxlnγlnγω(x)𝑑x,\displaystyle=\frac{\int_{\ln\gamma}^{-\ln\gamma}-\left\{\frac{\sigma^{2}(x)}{4\ln\gamma}+\mu(x)\left(\frac{1}{2\ln\gamma}x+\frac{1}{2}\right)\right\}\omega(x)dx}{\int_{\ln\gamma}^{-\ln\gamma}\omega(x)dx},
ω(x)\displaystyle\omega(x) =2σ2(x)e2μ(x)σ2(x)𝑑x.\displaystyle=\frac{2}{\sigma^{2}(x)}e^{\int\frac{2\mu(x)}{\sigma^{2}(x)}dx}.

This corollary generalizes Theorem 4.6 to the time-inhomogeneous case, demonstrating that the long-term growth rate of LP wealth can be expressed in a similar form, with the limiting speed measure q(y)q(y) playing a key role.

4.6. Independent stochastic volatility and drift

In this section, we generalize the analysis to incorporate stochastic volatility and drift in the log price process, st=lnSts_{t}=\ln S_{t}. Specifically, we assume sts_{t} follows the diffusion process:

dst=μ~tdt+σ~tdWt,ds_{t}=\tilde{\mu}_{t}dt+\tilde{\sigma}_{t}dW_{t},

where both μ~t\tilde{\mu}_{t} and σ~t\tilde{\sigma}_{t} are stochastic processes but are independent of the driving Brownian motion WtW_{t}. This allows for more realistic modeling of market dynamics where volatility and expected returns can fluctuate randomly over time. The mispricing process, Zt=lnStlnPtZ_{t}=\ln S_{t}-\ln P_{t}, remains a reflected diffusion within the interval [c,c][-c,c], where c=lnγc=-\ln\gamma, and satisfies

dZt=dst+dLtdUt=μ~tdt+σ~tdWt+dLtdUt.dZ_{t}=ds_{t}+dL_{t}-dU_{t}=\tilde{\mu}_{t}dt+\tilde{\sigma}_{t}dW_{t}+dL_{t}-dU_{t}.

We further impose a strong ellipticity condition on the volatility, requiring σ~tϵ>0\tilde{\sigma}_{t}\geq\epsilon>0 almost surely for all tt. This ensures that the volatility remains strictly positive.

Our goal is to derive the long-term limit of the time-averaged logarithmic growth rate of LP wealth in this setting. As in Section 4.5, the eigensystem approach used in Section 4.3 is not applicable here because the time-dependent drift μ~t0\tilde{\mu}_{t}\neq 0 prevents the existence of time-independent eigenfunctions.

4.6.1. Time-Dependent Volatility

To begin, we consider a simplified scenario where the volatility σ~t\tilde{\sigma}_{t} is a deterministic function of tt and the drift is zero (μ~t=0\tilde{\mu}_{t}=0 for all tt). This allows us to isolate the effect of time-dependent volatility. In this case, the infinitesimal generator becomes time-dependent:

t=σ2(t)2x2.\mathcal{L}_{t}=\frac{\sigma^{2}(t)}{2}\partial_{x}^{2}.

Despite the time-dependence, we can still find eigenvalues and eigenfunctions associated with t\mathcal{L}_{t} that satisfy the eigenvalue problem:

tu=σ2(t)2uxx=λu\mathcal{L}_{t}u=\frac{\sigma^{2}(t)}{2}u_{xx}=-\lambda u

with Neumann boundary conditions ux(c)=ux(c)=0u_{x}(-c)=u_{x}(c)=0. The solutions are:

λn(t)=σ2(t)2(nπc)2,e0(x)=12c,en(x)=1ccos(nπcx) for n1.\lambda_{n}(t)=\frac{\sigma^{2}(t)}{2}\left(\frac{n\pi}{c}\right)^{2},\qquad e_{0}(x)=\sqrt{\frac{1}{2c}},\qquad e_{n}(x)=\sqrt{\frac{1}{c}}\cos\left(\frac{n\pi}{c}x\right)\mbox{ for }n\geq 1. (41)

Importantly, while the eigenvalues λn\lambda_{n} are time-dependent, the eigenfunctions ene_{n} are not.

Using a similar approach as in Section 4.3, we can express the conditional expectation

𝔼t[a(LTLt)+b(UTUt)]\mathbb{E}_{t}[-a(L_{T}-L_{t})+b(U_{T}-U_{t})]

in terms of the eigensystem (41). This leads to the following theorem (presented without proof):

Theorem 4.13.

Let XtX_{t} be the reflected diffusion in the interval [c,c][-c,c] governed by

dXt=σ(t)dWt+dLtdUt.dX_{t}=\sigma(t)dW_{t}+dL_{t}-dU_{t}.

For given constants aa and bb, the conditional expectation

𝔼t[tTa𝑑Lτ+tTb𝑑Uτ]\mathbb{E}_{t}\left[-\int_{t}^{T}adL_{\tau}+\int_{t}^{T}bdU_{\tau}\right] (42)

can be written in terms of the eigensystem (41) associated with t\mathcal{L}_{t} with Neumann boundary condition as

𝔼t[tTa𝑑Lτ+tTb𝑑Uτ]=ba4cx2+b+a2x+n=0vn(t)en(x),\displaystyle\mathbb{E}_{t}\left[-\int_{t}^{T}adL_{\tau}+\int_{t}^{T}bdU_{\tau}\right]=\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x+\sum_{n=0}^{\infty}v_{n}(t)e_{n}(x), (43)

where the time-dependent coefficients vnv_{n} are given by

vn(t)=e12(nπc)2tTσ2(s)𝑑skn+tThn(s)e12(nπc)2tsσ2(τ)𝑑τ𝑑s.\displaystyle v_{n}(t)=e^{-\frac{1}{2}\left(\frac{n\pi}{c}\right)^{2}\int_{t}^{T}\sigma^{2}(s)ds}k_{n}+\int_{t}^{T}h_{n}(s)e^{-\frac{1}{2}\left(\frac{n\pi}{c}\right)^{2}\int_{t}^{s}\sigma^{2}(\tau)d\tau}ds. (44)

and

hn(t)=σ2(t)4ccc(ba)en(x)𝑑x,kn=cc(ba4cx2+b+a2x)en(x)𝑑x.\displaystyle h_{n}(t)=\frac{\sigma^{2}(t)}{4c}\int_{-c}^{c}(b-a)e_{n}(x)dx,\qquad k_{n}=-\int_{-c}^{c}\left(\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x\right)e_{n}(x)dx.

Observe from (43) that we have

limT1Ttvn(t)\displaystyle\lim_{T\to\infty}\frac{1}{T-t}v_{n}(t) =0n1,\displaystyle=0\quad\forall n\geq 1,
limT1Ttv0(t)\displaystyle\lim_{T\to\infty}\frac{1}{T-t}v_{0}(t) =limT1Ttk0+limT1TttTh0(s)𝑑s\displaystyle=\lim_{T\to\infty}\frac{1}{T-t}k_{0}+\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}h_{0}(s)ds
=ba4c2climT1TttTσ2(s)𝑑s.\displaystyle=\frac{b-a}{4c}\,\sqrt{2c}\,\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\sigma^{2}(s)ds.

Consequently,

limT1Tt𝔼t[a(LTLt)+b(UTUt)]\displaystyle\lim_{T\to\infty}\frac{1}{T-t}\mathbb{E}_{t}[-a(L_{T}-L_{t})+b(U_{T}-U_{t})]
=\displaystyle= limT1Tt{n=0vn(t)en(x)+ba4cx2+b+a2x}\displaystyle\lim_{T\to\infty}\frac{1}{T-t}\left\{\sum_{n=0}^{\infty}v_{n}(t)e_{n}(x)+\frac{b-a}{4c}x^{2}+\frac{b+a}{2}x\right\}
=\displaystyle= limT1Ttv0(t)e0(x)\displaystyle\lim_{T\to\infty}\frac{1}{T-t}v_{0}(t)e_{0}(x)
=\displaystyle= ba4climT1TttTσ2(s)𝑑s.\displaystyle\frac{b-a}{4c}\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\sigma^{2}(s)ds.

This leads to the following theorem.

Theorem 4.14 (Log Growth Rate of LP Wealth under Time-Dependent Volatility).

Assuming μX=μY=μ\mu_{X}=\mu_{Y}=\mu, the logarithmic growth rate of an LP’s wealth in a G3M can be expressed as

limT𝔼t[lnVT]Tt=μ[(1γ)w(1w)1w+γw+(1γ)w(1w)γ(1w)+w]14lnγlimT1TttTσ2(s)𝑑s.\lim_{T\to\infty}\frac{\mathbb{E}_{t}[\ln V_{T}]}{T-t}=\mu-\left[\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\right]\frac{1}{4\ln\gamma}\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\sigma^{2}(s)ds.

This theorem demonstrates how the time-averaged volatility influences the long-term growth of LP wealth.

Furthermore, since the volatility process σ~t\tilde{\sigma}_{t} is independent of the mispricing process ZtZ_{t}, by conditioning on the σ\sigma-algebra generated by σ~t\tilde{\sigma}_{t} then applying the tower property for conditional expectation, we obtain the logarithmic growth rate of LP’s wealth under driftless, independent stochastic volatility as follows.

Theorem 4.15 (Log Growth Rate under Independent Stochastic Volatility).

Assuming μX=μY=μ\mu_{X}=\mu_{Y}=\mu, the logarithmic growth rate of an LP’s wealth in a G3M can be expressed as

limT𝔼t[lnVT]Tt\displaystyle\lim_{T\to\infty}\frac{\mathbb{E}_{t}[\ln V_{T}]}{T-t}
=\displaystyle= μ[(1γ)w(1w)1w+γw+(1γ)w(1w)γ(1w)+w]14lnγlimT1TttT𝔼t[σ~s2]𝑑s.\displaystyle\mu-\left[\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\right]\frac{1}{4\ln\gamma}\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\mathbb{E}_{t}\left[\tilde{\sigma}_{s}^{2}\right]ds.

We conclude the section by showing that if the stochastic but independent drift and volatility converge to their corresponding L2L^{2} limits, similar asymptotics in expectation as in Corollary 4.12 can also be obtained.

Theorem 4.16 (Log Growth Rate of LP Wealth in G3M Independent Volatility and Drift).

Assume that the mispricing process ZtZ_{t} follows the reflected diffusion process in the interval [c,c][-c,c] governed by

dZt=σ~tdWt+μ~tdt+dLtdUt,dZ_{t}=\tilde{\sigma}_{t}dW_{t}+\tilde{\mu}_{t}dt+dL_{t}-dU_{t}, (45)

where the coefficients σ~t\tilde{\sigma}_{t} and μ~t\tilde{\mu}_{t} are stochastic but independent of the driving Brownian motion WtW_{t}. Further, assume that the limits of the coefficients σ~t\tilde{\sigma}_{t} and μ~t\tilde{\mu}_{t} as tt approaches infinity exist almost surely and in L2L^{2}. Specifically, there exists an ϵ>0\epsilon>0 such that

limtσ~t2=σ2ϵ,limtμ~t=μ\displaystyle\lim_{t\to\infty}\tilde{\sigma}_{t}^{2}=\sigma^{2}\geq\epsilon,\qquad\lim_{t\to\infty}\tilde{\mu}_{t}=\mu (46)

almost surely and in L2L^{2}, where μ\mu and σ2\sigma^{2} are square integrable random variables. The long-term expected logarithmic growth rate of an LP’s wealth in a G3M can be expressed as

limT𝔼t[lnVT]Tt=wμX+(1w)μY+(1γ)w(1w)1w+γwα+(1γ)w(1w)γ(1w)+wβ,\displaystyle\lim_{T\to\infty}\frac{\mathbb{E}_{t}[\ln V_{T}]}{T-t}=w\mu_{X}+(1-w)\mu_{Y}+\frac{(1-\gamma)w(1-w)}{1-w+\gamma w}\alpha+\frac{(1-\gamma)w(1-w)}{\gamma(1-w)+w}\beta,

where

α=β=14lnγ𝔼[σ2], if θ=0 almost surely;α=𝔼[μγ2θ1],β=𝔼[μ1γ2θ], if θ0,\displaystyle\begin{array}[]{ll}\displaystyle\alpha=\beta=-\frac{1}{4\ln\gamma}\mathbb{E}\left[\sigma^{2}\right],&\mbox{ if }\theta=0\mbox{ almost surely};\\ &\\ \displaystyle\alpha=\mathbb{E}\left[\frac{\mu}{\gamma^{-2\theta}-1}\right],\quad\beta=\mathbb{E}\left[\frac{\mu}{1-\gamma^{2\theta}}\right],&\mbox{ if }\theta\neq 0,\end{array}

where θ=2μσ2\theta=\frac{2\mu}{\sigma^{2}}, should the expectations exist.

Proof.

The proof essentially is based on conditioning on the realizations of μ~t\tilde{\mu}_{t} and σ~t\tilde{\sigma}_{t} followed by applying the tower property since μ~\tilde{\mu} and σ~\tilde{\sigma} are independent of the Brownian motion WtW_{t}. ∎

We remark that the long-term expected logarithmic growth rate considered in Theorem 4.16 can also be obtained differently by first calculating the condition expectations as in (30), then apply the asymptotic result given in Corollary 4.12. This route is applicable even when μ~t\tilde{\mu}_{t} and σ~t\tilde{\sigma}_{t} are not independent of WtW_{t}; it is, however, subject to the determination of the conditional expectations in (30), which in general do not admit easy to access analytical expressions. The expression obtained in Theorem 4.16 is more tractable in that it is subject to the determination of the limiting distributions for μ\mu and σ2\sigma^{2} as well as the corresponding expectations. However, it applies only if μ~t\tilde{\mu}_{t} and σ~t\tilde{\sigma}_{t} are independent of WtW_{t}.

Conclusion

This paper investigated the growth of liquidity provider (LP) wealth in Geometric Mean Market Makers (G3Ms), explicitly considering the impacts of continuous-time arbitrage and transaction fees. We extended the analysis of arbitrage in LP profitability beyond the constant product models studied in [TW20] to encompass a broader class of G3Ms.

Our model-free approach, building upon the framework in [MMRZ22b, MMRZ22a, MMR23], provides a refined understanding of G3M dynamics under the influence of arbitrage and fees. A key result is the characterization of LP wealth growth through a stochastic model driven by the mispricing process between the G3M and an external reference market. This model elucidates the crucial role of trading fees in LP returns and demonstrates how arbitrage activity establishes a no-trading band around the reference market price.

Our analysis reveals that the adverse selection risk posed by arbitrageurs necessitates a nuanced understanding of LP wealth dynamics. Notably, we demonstrated that, under certain market conditions, G3Ms with fees can outperform both buy-and-hold and constant rebalanced portfolio strategies. This finding highlights the potential of G3Ms as a competitive investment product within the DeFi landscape, effectively functioning as on-chain index funds.

Several promising avenues for future research emerge from our work. These include incorporating noise trader order flows to create more realistic market dynamics, investigating the interplay between different AMM liquidity pools, refining LP wealth growth models to account for factors like impermanent loss, and extending the analysis to G3Ms with dynamic weights, drawing connections to stochastic portfolio theory (SPT) as explored in [Eva21, Fer02, KF09]. These research directions will further enrich our understanding of AMM functionality and its broader implications for liquidity providers and the DeFi ecosystem.

Acknowledgement

The authors express their sincere gratitude to Shuenn-Jyi Sheu for his invaluable insights and guidance throughout this research. We also appreciate the fruitful discussions and support from our colleagues, which significantly contributed to the development of this work. We are also grateful to the anonymous referee for their careful reading of the manuscript and their constructive comments and suggestions, which helped improve the quality of this paper.

S.-N. T. gratefully acknowledges the financial support from the National Science and Technology Council of Taiwan under grant 111-2115-M-007-014-MY3. Furthermore, S.-N. T. extends heartfelt thanks to Ju-Yi Yen for her unwavering encouragement and support, which were instrumental in making this collaborative effort possible.

Appendix A Sturm-Liouville theory

This section provides a brief overview of Sturm-Liouville theory, which plays a key role in analyzing the mispricing process and deriving the growth rate of LP wealth in our framework.

A.1. Eigensystem

Consider a second-order differential operator \mathcal{L} in the Sturm-Liouville form

u=1ω(x)ddx(p(x)dudx),\mathcal{L}u=\frac{1}{\omega(x)}\frac{d}{dx}\left(p(x)\frac{du}{dx}\right), (48)

where ω(x)\omega(x) and p(x)p(x) are smooth functions. Let (λn,en(x))(\lambda_{n},e_{n}(x)) represent the eigensystem of \mathcal{L}, satisfying

en(x)=λnen(x)for n0,\mathcal{L}e_{n}(x)=-\lambda_{n}e_{n}(x)\quad\text{for }n\geq 0,

with Neumann boundary conditions en(c)=en(c)=0e_{n}^{\prime}(-c)=e_{n}^{\prime}(c)=0 on the interval [c,c][-c,c]. These boundary conditions correspond to reflecting boundaries for the associated diffusion process. Since a constant function always satisfies the equation with λ0=0\lambda_{0}=0, the first normalized eigenfunction is e01Ke_{0}\equiv\frac{1}{K}, where K=(ccω(x)𝑑x)12K=(\int_{-c}^{c}\omega(x)dx)^{\frac{1}{2}}.

The eigensystem possesses the following important properties:

  • λn>0\lambda_{n}>0 for all n>0n\in\mathbb{N}_{>0} and each eigenvalue is of multiplicity one.

  • The normalized eigenfunctions ene_{n} form an orthonormal basis for the space L2[c,c]L^{2}[-c,c] with respect to the weight function ω(x)\omega(x). This means

    ccen(x)em(x)ω(x)𝑑x=δnm\int_{-c}^{c}e_{n}(x)e_{m}(x)\omega(x)dx=\delta_{nm}

    where δnm\delta_{nm} is the Kronecker delta. Consequently, any function fL2[c,c]f\in L^{2}[-c,c] can be expressed as

    f(x)=n=0ξnen(x),f(x)=\sum_{n=0}^{\infty}\xi_{n}e_{n}(x),

    where the coefficients ξn\xi_{n} are given by

    ξn=ccf(x)en(x)ω(x)𝑑x.\xi_{n}=\int_{-c}^{c}f(x)e_{n}(x)\omega(x)dx.

    This expansion converges in the L2L^{2} sense with respect to the weight function ω(x)\omega(x).

A.2. Solution to inhomogeneous PDE with general terminal condition

For the inhomogeneous parabolic PDE

ut+u+f(x)=0u_{t}+\mathcal{L}u+f(x)=0 (49)

with terminal condition u(T,x)=g(x)u(T,x)=g(x) and Neumann boundary conditions ux(t,c)=ux(t,c)=0u_{x}(t,-c)=u_{x}(t,c)=0 for t<Tt<T, we show how to formulate its solution using the eigensystem given in Section A.1. Let the eigenfunction expansions for functions ff and gg be represented as

f(x)=n=0ξnen(x),g(x)=n=0ηnen(x)f(x)=\sum_{n=0}^{\infty}\xi_{n}e_{n}(x),\qquad g(x)=\sum_{n=0}^{\infty}\eta_{n}e_{n}(x)

where the coefficients ξn\xi_{n} and ηn\eta_{n} are defined as:

ξn=ccf(x)en(x)ω(x)𝑑x,ηn=ccg(x)en(x)ω(x)𝑑x.\xi_{n}=\int_{-c}^{c}f(x)e_{n}(x)\omega(x)dx,\qquad\eta_{n}=\int_{-c}^{c}g(x)e_{n}(x)\omega(x)dx.

In particular, the term ξ0\xi_{0}, expressed as

ξ0=ccf(x)ω(x)𝑑xccω(x)𝑑x,\xi_{0}=\frac{\int_{-c}^{c}f(x)\omega(x)dx}{\int_{-c}^{c}\omega(x)dx}, (50)

is the weighted average of ff over the interval [c,c][-c,c], weighted by ω\omega.

The solution to the terminal-boundary value problem (49) can be expressed in terms of eigenvalues and eigenfunctions for \mathcal{L} as

u(t,x)=ξ0(Tt)+η0+n=1{ξnλn[1eλn(Tt)]+ηneλn(Tt)}en(x).u(t,x)=\xi_{0}(T-t)+\eta_{0}+\sum_{n=1}^{\infty}\left\{\frac{\xi_{n}}{\lambda_{n}}\left[1-e^{-\lambda_{n}(T-t)}\right]+\eta_{n}e^{-\lambda_{n}(T-t)}\right\}e_{n}(x). (51)

Consequently, the following long-term time-averaged limit of uu exists

limTu(t,x)Tt=ξ0,\lim_{T\to\infty}\frac{u(t,x)}{T-t}=\xi_{0},

where recall that ξ0\xi_{0}, given in (50), is the zeroth Fourier coefficient of the inhomogeneous term ff. We note that this long-term time-averaged limit depends only on the zeroth coefficient of the inhomogeneous term, no other higher order coefficients are involved. Furthermore, we have the following long-term limit of uu as TT\to\infty

limT{u(t,x)ξ0(Tt)}=η0+n=1ξnλnen(x).\lim_{T\to\infty}\left\{u(t,x)-\xi_{0}(T-t)\right\}=\eta_{0}+\sum_{n=1}^{\infty}\frac{\xi_{n}}{\lambda_{n}}e_{n}(x).

A.3. Transition density in terms of eigensystem

The following proposition shows that the transition density of a reflected diffusion within a bounded interval can be expressed in terms of the eigensystem of its infinitesimal generator with Neumann boundary condition.

Proposition A.1.

The transition density pp of a reflected diffusion in the interval [c.c][-c.c] with infinitesimal generator \mathcal{L} given in (48) can be expressed in terms of the eigensystem for \mathcal{L} as

p(T,y|t,x)=n=0eλn(Tt)en(x)en(y)ω(y).p(T,y|t,x)=\sum_{n=0}^{\infty}e^{-\lambda_{n}(T-t)}e_{n}(x)e_{n}(y)\omega(y).

This leads to the following characterization of the steady-state distribution:

Theorem A.2 (Steady-State Distribution).

The reflected diffusion within the interval [c,c][-c,c] with infinitesimal generator (48) has a steady-state distribution π\pi given by

π(dx)=ω(x)ccω(ξ)𝑑ξdx,x[c,c].\pi(dx)=\frac{\omega(x)}{\int_{-c}^{c}\omega(\xi)d\xi}dx,\quad x\in[-c,c].
Proof.

By Proposition A.1, as TT\to\infty, the steady-state distribution is given by

limTp(T,y|t,x)\displaystyle\lim_{T\to\infty}p(T,y|t,x) =limTn=0eλm(Tt)en(x)en(y)ω(y)\displaystyle=\lim_{T\to\infty}\sum_{n=0}^{\infty}e^{-\lambda_{m}(T-t)}e_{n}(x)e_{n}(y)\omega(y)
=e0(x)e0(y)ω(y)=ω(y)ccω(x)𝑑x\displaystyle=e_{0}(x)e_{0}(y)\omega(y)=\frac{\omega(y)}{\int_{-c}^{c}\omega(x)dx}

since the zeroth eigenfunction e0(x)e_{0}(x) is a constant e0(x)=(ccω(ξ)𝑑ξ)12e_{0}(x)=\left(\int_{-c}^{c}\omega(\xi)d\xi\right)^{-\frac{1}{2}}. ∎

Appendix B Time-inhomogeneous reflected diffusion

In this appendix, we provide the proof of the long-term time averaged expectation of a time-inhomogeneous reflected diffusion as stated in Theorem 4.11. For fixed t,xt,x, we shall sometimes suppress the reference to tt, xx in the transition density pp and simply denote p(s,y|t,x)p(s,y|t,x) by p(s,y)p(s,y) for simplicity. For any function φ\varphi defined in [c,c][-c,c], φ2\|\varphi\|_{2} denotes the L2L^{2} norm of φ\varphi in [c,c][-c,c]. We start with stating an estimate of the L2L^{2}-norm between the transition density pp and the stationary density qq in the following lemma, whose proof is omitted (for interested readers, we refer it to, for instance, [Kah83], see (3.21) on P.276), is classical and crucial to the proof that follows.

Lemma B.1.

Assume that the infinitesimal generator operator t:=σ2(t,x)2x2+μ(t,x)x\mathcal{L}_{t}:=\frac{\sigma^{2}(t,x)}{2}\partial_{x}^{2}+\mu(t,x)\partial_{x} is strongly elliptic, i.e., there exists an ϵ>0\epsilon>0 such that σ(t,x)ϵ\sigma(t,x)\geq\epsilon for all tt, xx, and that the coefficients σ\sigma and μ\mu are smooth and bounded, the following estimates hold. For any T>tT>t, we have

p(T,|t,x)q2CTt\|p(T,\cdot|t,x)-q\|_{2}\leq\frac{C}{\sqrt{T-t}} (52)

for some constant CC depending only on the interval [c,c][-c,c]. As a result, we note that the L2L^{2} norm of p(s,y)p(s,y) is bounded above by

p(s,)2p(s,)q2+q2Cst+q2\|p(s,\cdot)\|_{2}\leq\|p(s,\cdot)-q\|_{2}+\|q\|_{2}\leq\frac{C}{\sqrt{s-t}}+\|q\|_{2} (53)

for s>ts>t.

With Lemma B.1 in hand, we provide the proof of Theorem 4.11 as follows. Note that we have

u(t,x)\displaystyle u(t,x) =𝔼t[g(XT)+tTf(s,Xs)𝑑s]\displaystyle=\mathbb{E}_{t}\left[g(X_{T})+\int_{t}^{T}f(s,X_{s})ds\right]
=ccg(y)p(T,y|t,x)𝑑y+tTccf(s,y)p(s,y|t,x)𝑑y𝑑s\displaystyle=\int_{-c}^{c}g(y)p(T,y|t,x)dy+\int_{t}^{T}\int_{-c}^{c}f(s,y)p(s,y|t,x)dyds

since pp is the transition density. Consider

u(t,x)Tt=1Ttccg(y)p(T,y|t,x)𝑑y+1TttTccf(s,y)p(s,y|t,x)𝑑y𝑑s,\frac{u(t,x)}{T-t}=\frac{1}{T-t}\int_{-c}^{c}g(y)p(T,y|t,x)dy+\frac{1}{T-t}\int_{t}^{T}\int_{-c}^{c}f(s,y)p(s,y|t,x)dyds, (54)

We separately determine the limits of the two terms on the right-hand side of (54).

For the first term in (54), by applying the Cauchy-Schwarz inequality we obtain that, for TtT\geq t,

|ccg(y)p(T,y|t,x)dy|g2p(T,|t,x)2g2{CTt+q2}\displaystyle\left|\int_{-c}^{c}g(y)p(T,y|t,x)dy\right|\leq\|g\|_{2}\|p(T,\cdot|t,x)\|_{2}\leq\|g\|_{2}\left\{\frac{C}{\sqrt{T-t}}+\|q\|_{2}\right\}

where in the second inequality, we applied the upper bound for p(T,)p(T,\cdot) given in (53). It follows that

limT1Tt|ccg(y)p(T,y|t,x)dy|limTg2Tt{CTt+q2}=0.\lim_{T\to\infty}\frac{1}{T-t}\left|\int_{-c}^{c}g(y)p(T,y|t,x)dy\right|\leq\lim_{T\to\infty}\frac{\|g\|_{2}}{T-t}\left\{\frac{C}{\sqrt{T-t}}+\|q\|_{2}\right\}=0. (55)

For the second term in (54), we claim that, as limtf(t,x)=f¯(x)\lim_{t\to\infty}f(t,x)=\bar{f}(x) in L2L^{2}, we have

limT1TttTccf(s,y)p(s,y|t,x)𝑑y𝑑s=ccf¯(y)q(y)𝑑y\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\int_{-c}^{c}f(s,y)p(s,y|t,x)dyds=\int_{-c}^{c}\bar{f}(y)q(y)dy (56)

for every tt and xx. Note that by applying the Cauchy-Schwarz inequality, we have

|cc{f(s,y)p(s,y)f¯(y)q(y)}𝑑y|\displaystyle\left|\int_{-c}^{c}\left\{f(s,y)p(s,y)-\bar{f}(y)q(y)\right\}dy\right|
\displaystyle\leq cc|f(s,y)f¯(y)|p(s,y)𝑑y+cc|f¯(y)||p(s,y)q(y)|𝑑y\displaystyle\int_{-c}^{c}\left|f(s,y)-\bar{f}(y)\right|p(s,y)dy+\int_{-c}^{c}|\bar{f}(y)||p(s,y)-q(y)|dy
\displaystyle\leq f(s,)f¯2p(s,)2+f¯2p(s,)q2.\displaystyle\|f(s,\cdot)-\bar{f}\|_{2}\|p(s,\cdot)\|_{2}+\|\bar{f}\|_{2}\|p(s,\cdot)-q\|_{2}. (57)

We shall deal with the two pieces in (57) separately. For the first piece, since f(s,y)f¯(y)f(s,y)\to\bar{f}(y) as ss\to\infty in L2L^{2}, for any ϵ>0\epsilon>0, there exists a t1tt_{1}\geq t such that

f(s,)f¯2<ϵ\|f(s,\cdot)-\bar{f}\|_{2}<\epsilon

for all s>t1s>t_{1}. Hence, for given T>t1T>t_{1} we have

tTf(s,)f¯2p(s,)2𝑑s\displaystyle\int_{t}^{T}\|f(s,\cdot)-\bar{f}\|_{2}\|p(s,\cdot)\|_{2}ds
=\displaystyle= tt1f(s,)f¯2p(s,)2𝑑s+t1Tf(s,)f¯2p(s,)2𝑑s\displaystyle\int_{t}^{t_{1}}\|f(s,\cdot)-\bar{f}\|_{2}\|p(s,\cdot)\|_{2}ds+\int_{t_{1}}^{T}\|f(s,\cdot)-\bar{f}\|_{2}\|p(s,\cdot)\|_{2}ds
\displaystyle\leq Mtt1{Cst+q2}𝑑s+ϵt1T{Cst+q2}𝑑s\displaystyle M\int_{t}^{t_{1}}\left\{\frac{C}{\sqrt{s-t}}+\|q\|_{2}\right\}ds+\epsilon\int_{t_{1}}^{T}\left\{\frac{C}{\sqrt{s-t}}+\|q\|_{2}\right\}ds
=\displaystyle= M{2Ct1t+q2(t1t)}+ϵ{2CTt1+q2(Tt1)},\displaystyle M\left\{2C\sqrt{t_{1}-t}+\|q\|_{2}(t_{1}-t)\right\}+\epsilon\left\{2C\sqrt{T-t_{1}}+\|q\|_{2}(T-t_{1})\right\},

where in the inequality we applied the upper bound for pp given in (53) and the constant M>0M>0 is defined as

>M:=maxtst1f(s,)2+f¯2f(s,)2+f¯2f(s,)f¯2.\infty>M:=\max_{t\leq s\leq t_{1}}\|f(s,\cdot)\|_{2}+\|\bar{f}\|_{2}\geq\|f(s,\cdot)\|_{2}+\|\bar{f}\|_{2}\geq\|f(s,\cdot)-\bar{f}\|_{2}.

It follows that

limT1TttTf(s,)f¯2p(s,)2𝑑s\displaystyle\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\|f(s,\cdot)-\bar{f}\|_{2}\|p(s,\cdot)\|_{2}ds
\displaystyle\leq limTMTt{2Ct1t+q2(t1t)}+limTϵTt{2CTt1+q2(Tt1)}\displaystyle\lim_{T\to\infty}\frac{M}{T-t}\left\{2C\sqrt{t_{1}-t}+\|q\|_{2}(t_{1}-t)\right\}+\lim_{T\to\infty}\frac{\epsilon}{T-t}\left\{2C\sqrt{T-t_{1}}+\|q\|_{2}(T-t_{1})\right\}
=\displaystyle= ϵq2.\displaystyle\epsilon\|q\|_{2}.

Since ϵ>0\epsilon>0 is arbitrary, we obtain the limit of time-average of the first piece in (57) as TT approaches infinity as

limT1TttTf(s,)f¯2p(s,)2𝑑s=0.\displaystyle\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\|f(s,\cdot)-\bar{f}\|_{2}\|p(s,\cdot)\|_{2}ds=0.

Next, for the second piece in (57), note that from (52) we have

tTp(s,)q2𝑑stTCst𝑑s=2CTt.\displaystyle\int_{t}^{T}\|p(s,\cdot)-q\|_{2}ds\leq\int_{t}^{T}\frac{C}{\sqrt{s-t}}ds=2C\sqrt{T-t}.

It follows immediately that

limT1TttTf¯2p(s,)q2𝑑s2ClimTf¯2TtTt=0.\displaystyle\lim_{T\to\infty}\frac{1}{T-t}\int_{t}^{T}\|\bar{f}\|_{2}\|p(s,\cdot)-q\|_{2}ds\leq 2C\lim_{T\to\infty}\frac{\|\bar{f}\|_{2}}{T-t}\sqrt{T-t}=0.

Finally, by combing (55) and (56) we conclude that

limT1Ttu(t,x)=ccf¯(y)q(y)𝑑y.\displaystyle\lim_{T\to\infty}\frac{1}{T-t}u(t,x)=\int_{-c}^{c}\bar{f}(y)q(y)dy.

References

  • [AC20] Guillermo Angeris and Tarun Chitra. Improved price oracles: Constant function market makers. In Proceedings of the 2nd ACM Conference on Advances in Financial Technologies (AFT ’20), AFT ’20, pages 80–91, New York, NY, USA, 2020. Association for Computing Machinery.
  • [AKC+19] Guillermo Angeris, Hsien-Tang Kao, Rei Chiang, Charlie Noyes, and Tarun Chitra. An analysis of uniswap markets. arXiv e-prints, 2019.
  • [AZR20] Hayden Adams, Noah Zinsmeister, and Dan Robinson. Uniswap v2 core, 2020.
  • [BEK24] W. Brönnimann, P. Egloff, and T. Krabichler. Automated market makers and their implications for liquidity providers. Digital Finance, 6:573–604, 2024.
  • [CDM23] Álvaro Cartea, Fayçal Drissi, and Marcello Monga. Predictable losses of liquidity provision in constant function markets and concentrated liquidity markets. Applied Mathematical Finance, 30(2):69–93, 2023.
  • [CDM24] Álvaro Cartea, Fayçal Drissi, and Marcello Monga. Decentralized finance and automated market making: Predictable loss and optimal liquidity provision. SIAM Journal on Financial Mathematics, 15(3):931–959, 2024.
  • [CJ21] Agostino Capponi and Ruizhe Jia. The adoption of blockchain-based decentralized exchanges. arXiv e-prints, 2021.
  • [Eva21] Alex Evans. Liquidity provider returns in geometric mean markets. Cryptoeconomic Systems, 1(2), October 2021.
  • [Fer02] E. Robert Fernholz. Stochastic Portfolio Theory, volume 48 of Applications of Mathematics (New York). Springer-Verlag, New York, 2002.
  • [FMW23a] Masaaki Fukasawa, Basile Maire, and Marcus Wunsch. Model-free hedging of impermanent loss in geometric mean market makers. arXiv e-prints, 2023.
  • [FMW23b] Masaaki Fukasawa, Basile Maire, and Marcus Wunsch. Weighted variance swaps hedge against impermanent loss. Quantitative Finance, 23(6):901–911, 2023.
  • [GM23] Emmanuel Gobet and Anastasia Melachrinos. Decentralized finance & blockchain technology. In SIAM Financial Mathematics and Engineering 2023, Philadelphia, United States, 2023.
  • [GW13] Peter Glynn and Rob Wang. Central limit theorems and large deviations for additive functionals of reflecting diffusion processes. Fields Institute Communications, 76, 2013.
  • [Har13] J. Michael Harrison. Brownian Models of Performance and Control. Cambridge University Press, Cambridge, 2013.
  • [Kah83] Charles S. Kahane. On the asymptotic behavior of solutions of parabolic equations. Czechoslovak Mathematical Journal, 33(2):262–285, 1983.
  • [KF09] Ioannis Karatzas and Robert Fernholz. Stochastic portfolio theory: an overview. In Alain Bensoussan and Qiang Zhang, editors, Special Volume: Mathematical Modeling and Numerical Methods in Finance, volume 15 of Handbook of Numerical Analysis, pages 89–167. Elsevier, 2009.
  • [MM19] Fernando Martinelli and Nikolai Mushegian. Balancer: A non-custodial portfolio manager, liquidity provider, and price sensor, 2019.
  • [MMR23] Jason Milionis, Ciamac C. Moallemi, and Tim Roughgarden. Automated market making and arbitrage profits in the presence of fees. arXiv e-prints, 2023.
  • [MMRZ22a] Jason Milionis, Ciamac C. Moallemi, Tim Roughgarden, and Anthony Lee Zhang. Automated market making and loss-versus-rebalancing. arXiv e-prints, 2022.
  • [MMRZ22b] Jason Milionis, Ciamac C. Moallemi, Tim Roughgarden, and Anthony Lee Zhang. Quantifying loss in automated market makers. In Proceedings of the 2022 ACM CCS Workshop on Decentralized Finance and Security (DeFi’22), pages 71–74, New York, NY, USA, 2022. Association for Computing Machinery.
  • [Moh22] V. Mohan. Automated market makers and decentralized exchanges: a defi primer. Financial Innovation, 8(20), 2022.
  • [NTYY24] Joseph Najnudel, Shen-Ning Tung, Kazutoshi Yamazaki, and Ju-Yi Yen. An arbitrage driven price dynamics of automated market makers in the presence of fees. Frontiers of Mathematical Finance, 3(4):560–571, 2024.
  • [TW20] Martin Tassy and David White. Growth rate of a liquidity provider’s wealth in xy=cxy=c automated market makers, 2020.