Group 5 · The trading post

Automated market makers

a pool that quotes a price

The idea

An automated market maker (AMM) is a pool of two assets that quotes a price from a formula, so people can trade without waiting for a person to post an offer. You add assets to the pool, or you swap against it, and the formula moves the price.

Why it matters

A pool is not a promise that the price is fair, and it is not a savings account. If one side of the pool is dumped, the other side buys it at a worse and worse rate.

How it works

An order book waits for someone to say “I will sell this much at that price.” An AMM does not wait. It holds a pile of both assets and uses a rule, often “keep the product of the two amounts steady,” to name a price for the next swap. A big swap moves the price more than a small one. That slip is the cost of trading against a pool instead of a patient seller.

People who deposit both assets are liquidity providers. They earn a slice of trading fees and they also take the risk that the mix of assets in the pool changes. If one asset crashes, the pool sells the good one and fills up with the bad one. That is not a bug in the formula. It is the formula doing its job.

Real example: the XRP Ledger has a built-in AMM. A pool pairs two assets, charges a trading fee set by a vote of the pool, and lets anyone swap or deposit if they meet the ledger rules. The ledger does the math. It does not promise the price you hoped for. Source: Automated Market Makers.

Picture it

A water trough with two stalls = AMM pool. The trough refills itself from a formula, not from a clerk.

Watch out

“No slippage” ads. A pool always moves when you trade size. Test with a small swap first.