Official MASTR logo MASTR
Menu
Contents
← Wiki home

Market structure

Constant-product pool arithmetic

A basic AMM prices trades along a reserve curve.

Reference note · Sources below

Research articles and reference entries are published in English. Navigation is available in seven languages.

The exit is a curve, not the last traded price
Diagram: The exit is a curve, not the last traded price · Open image ↗
In this article
  1. Overview
  2. Why it matters
  3. What to check
  4. Sources

Overview

A basic AMM prices trades along a reserve curve.

Why it matters

Finite size moves price, so average execution differs from the initial quote.

What to check

Calculate from reserves and include fees.

Sources

Related reading

MASTR

Support independent research

The investigations, original evidence and guides here are free to read. Voluntary donations help fund the research and keep MASTR’s tools available.

Open wallet