DEX Education · How to

How to Place an Order on a DEX — Beyond Market Swaps

Most DEX guides cover the market swap and stop. Limit and scheduled orders exist, work differently from their exchange equivalents, and the difference matters.

By CoinDock Editorial Published Last reviewed

Direct answer

A basic DEX swap is always a market order — it executes immediately at whatever the pool's curve gives. Limit orders on a DEX are usually signed intents: you sign an authorisation stating the price you will accept, it is stored off-chain, and a third party executes it on-chain when the market reaches your price, taking a fee. Crucially, nobody is obliged to execute it, so a DEX limit order is a conditional permission rather than a guaranteed resting order.

Why it works differently

On an order book, your limit order rests in the venue's book with a queue position, and the matching engine fills it deterministically when price and time priority say so. See how does an order book work.

An AMM has no book to rest in. The pool is a formula over reserves, and there is nowhere to place a standing order.

So limit orders are built around the AMM:

  1. You sign an intent — "I will give up to X of token A for at least Y of token B."
  2. The signed order is stored, usually off-chain.
  3. A filler (keeper, solver, bot) watches the market.
  4. When executing your order is profitable for them, they execute it against a pool and take the difference or a fee.

What that changes

Exchange limit order DEX signed intent
Where it lives The venue's order book Off-chain, held by a protocol
Executed by The matching engine A third-party filler, if profitable
Guaranteed at your price? Yes, subject to queue No — only if someone chooses to fill it
Cancellation Removed from the book May need an on-chain transaction, costing gas
Cost Maker fee, often lower Filler's margin, plus gas at execution
Standing permission None beyond the order An approval the filler relies on

Three practical consequences:

Your order may not fill even when the price trades through it. If the fill is not profitable for a filler — small size, high gas, thin pool — it can be skipped while an exchange order in the same situation would have executed.

Cancellation is not always free or instant. Depending on design, cancelling may require an on-chain transaction. An order you believe is cancelled but is not remains executable.

The approval underpins it. A signed intent works because the filler can move your tokens when conditions are met. That standing permission is exactly the thing to review and revoke when you are done. See wallet-based trading.

Order types you will encounter

Market swap. Immediate, at the curve's price. Simple, and exposed to price impact and MEV.

Limit order. Signed intent as above. Good for a price you are willing to wait for; no guarantee of execution.

TWAP / scheduled orders. A large order split into pieces executed over time.

Worth being precise about why this helps, because it is commonly misexplained. On a single untouched curve, splitting a trade changes nothing — the constant-product curve is path-independent, so ten pieces traverse exactly the same curve as one order and produce the same total. Splitting helps only because the pool is arbitraged back toward the wider market between your pieces, so each one meets partly restored reserves.

That means its benefit depends on the pool being actively arbitraged, and it costs extended market exposure plus gas on every piece.

Stop orders. Rarer and worth extra scepticism: a stop needs an oracle or a keeper to observe the trigger and act. Execution during a sharp move — precisely when a stop matters — is least reliable.

Choosing

Situation Sensible choice
Small trade, deep pool, want it done Market swap
Price-sensitive, not time-sensitive Limit order
Size large relative to pool TWAP, or reduce size
Thin pool, any size Limit order, or reconsider
Need a guaranteed fill at a price Neither — that is not available on a DEX

That last row is the honest one. If a guaranteed fill at a specific price matters, an order-book venue provides it and an AMM does not.

Before you sign an intent

  • The price is one I would genuinely accept
  • The expiry is set — an indefinite standing order is an indefinite permission
  • I know how to cancel, and whether it costs gas
  • The approval it depends on is scoped to this, not unlimited
  • The pool has enough depth that a filler would find it worth executing

Common mistakes

  • Assuming a DEX limit order behaves like an exchange one. It is a permission, not a place in a queue.
  • Leaving intents open indefinitely with a standing approval behind them.
  • Believing an order is cancelled without confirming the cancellation settled.
  • Using a stop expecting reliable execution during volatility.
  • Splitting an order without accounting for gas paid on every piece.

Step-by-step

How to Place a DEX Order

Order types and review checks before signing.

  1. Pick the pair

    Select the asset and quote token (typically USDT).

  2. Enter size and price

    Specify amount and price or accept a market quote.

  3. Review fees and slippage

    Check estimated fees and slippage before signing.

  4. Sign the transaction

    Confirm in your wallet and wait for finality.

Related on DEX Education

Learn How CoinDock Works

Continue your CoinDock journey.

Go