Finding the Right Curve: Optimal Design of Constant Function Market Makers

12/06/2022
by   Mohak Goyal, et al.
0

Constant Function Market Makers (CFMMs) are a crucial tool for creating exchange markets, have been deployed effectively in the context of prediction markets, and are now especially prominent within the modern Decentralized Finance ecosystem. We show that for any set of beliefs about future asset prices, there exists an optimal CFMM trading function that maximizes the fraction of trades that a CFMM can settle. This trading function is the optimal solution of a convex program. This program therefore gives a tractable framework for market-makers to compile their belief-distribution on the future prices of the underlying assets into the trading function of a maximally capital-efficient CFMM. Our optimization framework further extends to capture the tradeoffs between fee revenue, arbitrage loss, and opportunity costs of liquidity providers. Analyzing the program shows how consideration of profit and loss qualitatively distort the optimal liquidity allocation. Our model additionally explains the diversity of CFMM designs that appear in practice. We show that careful analysis of our convex program enables inference of a market-maker's beliefs about future asset prices, and show that these beliefs mirror the folklore intuition for several widely used CFMMs. Developing the program requires a new notion of the liquidity of a CFMM at any price point, and the core technical challenge is in the analysis of the KKT conditions of an optimization over an infinite-dimensional Banach space.

READ FULL TEXT
research
10/10/2022

Batch Exchanges with Constant Function Market Makers: Axioms, Equilibria, and Computation

Batch trading systems and constant function market makers (CFMMs) are tw...
research
06/04/2019

Learning to Clear the Market

The problem of market clearing is to set a price for an item such that q...
research
01/31/2012

Learning Performance of Prediction Markets with Kelly Bettors

In evaluating prediction markets (and other crowd-prediction mechanisms)...
research
08/11/2023

UAMM: UBET Automated Market Maker

Automated market makers (AMMs) are pricing mechanisms utilized by decent...
research
05/16/2022

Constant Power Root Market Makers

The paper introduces a new type of constant function market maker, the c...
research
01/05/2021

Design and Analysis of a Synthetic Prediction Market using Dynamic Convex Sets

We present a synthetic prediction market whose agent purchase logic is d...
research
09/05/2022

Convexifying Market Clearing of SoC-Dependent Bids from Merchant Storage Participants

State-of-charge (SoC) dependent bidding allows merchant storage particip...

Please sign up or login with your details

Forgot password? Click here to reset