跳到主要内容
A DEX has no order book.
So how does it price your trade?
The pool holds two tokens, and the price comes from the ratio between them.
Buy one side and you take some out, the ratio shifts, and the price moves against you as you go.
That's why a big order gets a worse average