Lab: free tools · size first · stock scanner · crypto scanner · journal

General

Range Orders in AMMs Explained

A range order is a concentrated liquidity position in an AMM (like Uniswap v3) placed entirely above or below the current market price, effectively functioning as a limit order. When price reaches the range and passes through it, the LP position converts entirely into the target asset, much like a filled limit order. Range orders combine limit order functionality with LP fee earning during execution.

A range order in a concentrated-liquidity AMM places liquidity in a narrow band above or below the current price, so it converts fully from one token to the other as price passes through. It works much like a limit order that also earns fees. Unlike a limit order, it reverses if price comes back through the range, so you need to withdraw once it fills to keep the result.

An ETH and DAI example

Uniswap's own docs use a DAI and ETH pool trading at 1,500 DAI per ETH. To sell ETH at 1,600, you deposit only ETH in a narrow band at 1,600. As price rises through the band, buyers take your ETH and pay DAI into the position. To buy ETH at 1,000, you deposit only DAI in a band at 1,000, and it turns into ETH as price falls through. In both cases you collect swap fees, paid in both tokens, while the order fills.

What it can't do

A range order can only sit on the side of the current price that holds the token you're giving up. In this pool a band above the current price holds only ETH, and a band below it holds only DAI. So you can place a take profit or a buy limit, but you can't build a stop loss or a buy stop. Wanting to sell ETH only if it drops to 1,000 doesn't work, because you'd have to supply ETH below the price, where the pool only holds DAI.

When a range order fails

The fill isn't final until you withdraw. If price runs through your band and comes back, the position converts back to what you started with. You have to watch it or use a service that pulls the liquidity for you. A wider band earns more fees if price churns inside it, at the cost of a higher chance of ending up half filled. It suits patient traders who want a limit style exit on chain and don't mind checking on it.