Most explanations of order types read like a glossary. You learn the names and very little about when to use them.

A more useful way to read them: each order type is a set of execution instructions, and each one prioritizes something at the cost of something else. The core trade-off is always the same. You can have more control over the price you get, or more confidence that you get filled. No order type gives you full control of both.

This guide goes through the main order types in that light, then covers what changes on a perp DEX that does not use an order book, using LeverUp as the example.

Market Orders: You Name the Size, the Market Names the Price

A market order asks to execute right away, at the best price available.

What it prioritizes: prompt execution. In liquid markets it usually fills quickly, but a complete fill is not guaranteed, because venue price protections can stop it.

What it gives up: control over the exact price. On an order book, a large market order consumes resting orders level by level until it is filled, so the average price gets worse the deeper it goes. That difference between the price you saw and the price you got is slippage.

Many venues let you cap that with a slippage tolerance or a "worst acceptable price"; others apply their own price protections. Depending on the venue, execution beyond the applicable bound is rejected or the unfilled part is cancelled. That cap is a guardrail. It still doesn't give you a specific price, and it is one reason a market order can fail to fill completely.

Use it when getting in or out now matters more than the last few basis points, for example cutting a losing position in a fast market.

Limit Orders: You Name the Price, the Market Names the Timing

A limit order executes only at your price or better. A buy limit at $50,000 fills at $50,000 or lower. A sell limit at $52,000 fills at $52,000 or higher.

What it prioritizes: price. If it fills, you will not pay more (or sell for less) than your limit.

What it gives up: certainty of a fill. If the market never reaches your price, the order sits there until you cancel it. If the market touches your price briefly and reverses, you may get a partial fill or none at all.

On order-book exchanges, limit orders also affect fees. An order that rests on the book adds liquidity and usually pays the lower maker fee. A limit order priced through the spread fills immediately, takes liquidity, and pays the taker fee, just like a market order with a price cap.

Use it when you have a planned entry level and are willing to miss the trade if price never gets there.

Limit vs Market Orders on an Order Book: Side by Side

Market order Limit order
Price Not fixed; subject to user-set or venue price protection Your price or better
Fill Not guaranteed; prioritizes execution Not guaranteed; only at your price or better
Speed Submitted for prompt execution When price reaches your level, if at all
Typical fee on order books Taker Maker if it rests, taker if it fills on entry
Main risk Slippage in thin or fast markets Missing the move entirely

Stop Orders: Waiting for a Trigger

A stop order stays inactive until price reaches a trigger (the stop price). Once triggered, it becomes a live order. What kind of order it becomes is the important part.

Stop-market: when triggered, it submits a market order. It prioritizes getting filled over the price, so the fill can be worse than the trigger, especially if price jumps through it. Venue price protections can still prevent a complete fill.

Stop-limit: when triggered, it becomes a limit order at a price you set in advance. You control the worst price, but if the market moves through your limit before filling, the order can sit unfilled while the position keeps losing.

Stop Loss vs Stop Limit for Exits

"Stop-loss" describes the purpose (exiting a losing trade). It can be executed as a stop-market or a stop-limit, and that choice is the classic dilemma:

  • A stop-market stop-loss prioritizes getting out. You accept some slippage in exchange for a better chance the position actually closes.
  • A stop-limit prioritizes the price. You accept the risk that the exit never happens.

For leveraged positions, the second risk can be the more expensive one. An exit that never fills leaves the position open, and it can keep losing until it reaches liquidation. Stop-limits are often a better fit for entries, where a missed fill only costs you an opportunity.

Take-Profit Orders

A take-profit order is the mirror image: an exit instruction on the profitable side of a position, for all or part of it. Traders often stagger several targets (above entry for a long, below entry for a short) to scale out instead of exiting in one go. Whether a take-profit rests as a limit order or waits as a triggered order depends on the venue.

Time in Force: How Long an Order Lives

Time in force (TIF) is a separate instruction that sets how long an order stays active and what happens to the part that can't fill right away.

  • GTC (Good-Til-Cancelled): the order stays open until it fully fills or you cancel it, subject to any maximum lifetime or cancellation rules the venue applies. A partial fill leaves the remainder working at the same price. Many venues use it as the default for limit orders.
  • IOC (Immediate-Or-Cancel): fill whatever is available right now at your price or better, and cancel the rest. Example: you place an IOC buy for 100 units at $50, and only 60 are available. The 60 fill, the other 40 are cancelled.
  • FOK (Fill-Or-Kill): fill the entire order immediately, or cancel all of it. No partial fills.

IOC sounds like a market order, but it is not the same. An IOC limit order still carries a price limit. A market order seeks prompt execution at available prices, subject to the venue's price protections.

Order Flags You'll See on Order-Book Exchanges

Some instructions don't change price or timing. They add a rule on top.

  • Post-only: the order must rest on the book. If it would match immediately, the venue rejects or cancels it (some venues reprice it instead). You avoid paying taker fees and give up fill certainty, which can mean repeated cancels in a fast market.
  • Reduce-only: the order may only shrink your current position. It can never open a new one or flip you to the other side. If you are long 6 BTC and a reduce-only sell for 10 BTC triggers, at most 6 BTC can execute; the venue resizes, rejects, or cancels the excess.

Reduce-only matters most for exits. Without it, on a venue where each market holds one net position, an old 10 BTC sell order left behind after you partially closed could close your long and open a 4 BTC short.

TWAP and Scaled Orders: Spreading Size

For larger sizes, the question is less which order type to use and more how to split it.

  • TWAP (time-weighted average price): breaks one large order into smaller child orders released on a schedule. It aims to reduce your own market impact, but keeps price risk while the order is still being worked, and it does not guarantee the full size completes.
  • Scaled order: spreads several limit orders across a price range, building a position (or exiting one) progressively instead of at a single level.

Some venues offer these natively. Where they don't, a ladder of limit or take-profit orders can approximate a scaled order. Approximating TWAP means submitting the pieces yourself on a schedule.

What Changes Without an Order Book

The examples above mainly describe order-book execution, where orders match against resting buy and sell orders. Not every perp DEX works that way. Several of these instructions still apply without an order book, but how they execute differs. (For the main designs, see What Is a Perp DEX?.)

LeverUp uses a protocol-managed virtual liquidity system powered by the VMMV, where trades reference oracle pricing while execution, settlement, and risk management are handled at the protocol layer. That changes how several order concepts work there:

  • There is no book to walk. Orders do not consume resting order-book levels. A market order is a request with a worst acceptable price attached, and the fill incorporates the protocol's slippage model rather than book depth.
  • Fees follow the protocol's fee schedule. There is no maker/taker split based on whether your order rested on a book, so order-book instructions like post-only don't apply.
  • Limit orders wait for a price condition. Your order doesn't wait for another trader to sell to you at $50,000. When the price condition is met, a protocol keeper attempts execution, and the position opens if the protocol's checks pass.
  • Price freshness matters. Because triggers and fills reference oracle prices, how current those prices are affects execution. See What Is Stale Pricing? for why.

The trade-off between price control and fill certainty does not go away. It shows up as slippage bounds and trigger behavior instead of book depth.

Order Types on LeverUp

LeverUp's order ticket offers Market and Limit orders, with separate TP/SL orders for exits. The stop-limit, time-in-force, post-only, TWAP, and scaled-order explanations above are general concepts from other venues; this guide does not imply LeverUp supports them natively. Based on the current docs:

  • Market orders are requests executed by a protocol keeper. The price you submit is the worst acceptable fill price (a maximum for longs, a minimum for shorts), set by your slippage tolerance. If the fill would fall outside that bound, the open is refunded. Slippage settings apply only to market orders.
  • Limit orders lock your collateral when you place them and return it if you cancel. Limit orders are available up to 100x; the 500x, 750x, and 1001x modes are market-only.
  • Take-profit and stop-loss are separate orders attached to the position, triggered by keepers. You can attach several of each, each with its own trigger price and size, and add, edit, or cancel them at any time. A trigger price is the condition for closing, not a promised settlement price; on a close, the keeper supplies the settlement price. Take-profit levels are subject to a 550% PnL cap set out in the docs.
  • Exit orders behave like reduce-only by design. TP/SL orders don't reserve quantity, and each one can close at most the quantity still open. If several exit orders together add up to more than the position, the surplus simply never fills, so an exit order can't flip you into the opposite position. Fully closing the position cancels every TP/SL order attached to it.
  • Partial closes keep the rest of the position open at the same entry price, and any TP/SL orders stay on what remains.

Two details worth knowing before you rely on a take-profit:

  • On Alpha-tagged pairs, positions above $40,000 notional have a minimum holding period (currently 3 minutes), and take profit does not fire during that window.
  • Opening again on the same pair, in the same direction, with the same margin token merges into the existing position. Existing TP/SL orders stay in place, so check that their sizes still match what you intend.

For a walkthrough of setting exits, see How to Set Stop Loss & Take Profit on LeverUp.

Choosing an Order Type

Ask what you can least afford to get wrong.

  • You need to be in or out quickly: market order with a sensible slippage cap.
  • You have a price and can live without the trade: limit order.
  • You need protection if you're wrong: a stop-loss set before you need it, with its trigger reached well before your liquidation price (above it for a long, below it for a short), leaving room for fast moves and execution delay. A stop-loss reduces liquidation risk but doesn't rule it out.
  • You want to bank gains in stages: several take-profit orders at different levels.
  • You're moving size relative to available liquidity: consider splitting it, over time or across price levels, where your venue supports it.

Order types are cheap to learn and expensive to misuse. The fees you pay along the way add up too; see The Hidden Costs of Perp Trading.

FAQ

What is the difference between a limit order and a market order? A market order prioritizes prompt execution at the best available price, so you give up control over the exact price. A limit order fills only at your price or better, so you get price control but no guarantee it fills.

Is a stop-loss a market order or a limit order? It depends on the venue and the setting. A stop-market becomes a market order when triggered and prioritizes getting out. A stop-limit becomes a limit order and can fail to fill if price moves through it. Check how your venue executes stops before relying on one.

What does GTC mean in trading? Good-Til-Cancelled. The order stays active until it fully fills or you cancel it, subject to the venue's own expiry rules.

What is a fill-or-kill order? An order that must fill completely and immediately, or it is cancelled in full. Unlike IOC, it doesn't accept a partial fill.

Why didn't my limit order fill when price touched my level? On an order book, other orders at the same price may have been ahead of yours in the queue, and price left before your turn. On venues that reference oracle prices, the reference price may not have met the condition, even if a chart from another exchange showed it did.

Can a stop-loss fill worse than my stop price? Yes. A market-style stop fills at the price available after the trigger, and in fast or gapping markets that can be meaningfully worse than the stop level.

This article is for education only and is not financial advice. Order types, fees, and execution rules differ by venue and change over time, so check the current documentation before you trade.