Home / Learn / Glossary
Glossary

What Is Order Types (Limit, Market, Stop, etc.)?

A comprehensive guide to the order types available on perpetual futures exchanges and how to use them effectively.

Order types are the instructions you give an exchange to execute a trade. They define the conditions under which a trade should be executed—at what price, in what quantity, and under what circumstances. In perpetual futures trading, the most common order types are market orders, limit orders, and stop orders, but exchanges also offer more advanced types like post-only, reduce-only, trailing stop, and time-in-force variations. Understanding order types is fundamental to trading effectively: the wrong order type can result in worse execution, unexpected fills, or missed opportunities.

Market Orders

A market order executes immediately at the best available price in the order book. It prioritizes speed of execution over price control.

  • How it works – Your buy market order matches against the lowest available ask prices. Your sell market order matches against the highest available bid prices. The order walks through the book until fully filled.
  • When to use – When you need to enter or exit a position immediately and are willing to accept the current market price. Common during volatile markets or when closing a position urgently.
  • Risks – In thin or volatile markets, market orders can experience significant slippage—the difference between the expected price and the actual fill price. Large market orders in low-liquidity conditions can move the price substantially.
  • Fee impact – Market orders are always taker orders, meaning they pay the higher taker fee.

Limit Orders

A limit order specifies the maximum price you are willing to pay (buy limit) or the minimum price you are willing to accept (sell limit). It provides price control but does not guarantee execution.

  • How it works – A buy limit at $50,000 will only execute at $50,000 or lower. A sell limit at $50,000 will only execute at $50,000 or higher. If the market never reaches your price, the order remains open (or expires based on time-in-force settings).
  • When to use – When you have a specific entry or exit price in mind and are willing to wait for the market to reach it. Preferred for planned entries and exits where timing is flexible.
  • Risks – The market may never reach your limit price, leaving you unfilled. In fast markets, you may miss opportunities by waiting for a better price that never comes.
  • Fee impact – Limit orders that rest on the book are maker orders and pay lower fees. Limit orders that immediately cross the spread are taker orders.

Stop Orders

Stop orders are triggered when the market reaches a specified price (the stop price). They are primarily used for risk management and conditional entry.

  • Stop-market – When the stop price is reached, a market order is submitted. This guarantees execution but not price. Used primarily for stop-loss orders to exit losing positions.
  • Stop-limit – When the stop price is reached, a limit order is submitted at a specified limit price. This provides price control but may not execute if the market moves too fast past the limit price.
  • When to use – Stop-loss: to automatically exit a losing position when the price hits a predefined level. Stop-entry: to enter a position when the price breaks through a resistance or support level, confirming a trend.
  • Risks – Stop-market orders can experience slippage during volatile moves. Stop-limit orders may not fill if the market gaps through the limit price. In extreme moves (gaps, cascading liquidations), stop orders may execute at significantly worse prices than expected.

Advanced Order Types

Beyond the basics, perpetual futures exchanges offer several advanced order types:

  • Post-only – Guarantees that the order will be a maker order. If it would immediately match (taker), it is cancelled instead of executed. Used by traders who want to ensure they pay maker fees or receive maker rebates.
  • Reduce-only – Only reduces an existing position, never increases it. Prevents accidental position reversals when placing exit orders. Essential for risk management workflows.
  • Immediate-or-cancel (IOC) – Fills as much as possible immediately and cancels the remainder. No portion of the order rests on the book. Useful for large orders where you want partial fills but not a resting order.
  • Fill-or-kill (FOK) – The entire order must fill immediately or it is cancelled entirely. No partial fills. Used when you need the complete position size and partial fills would be useless.
  • Good-till-cancelled (GTC) – Remains active until explicitly cancelled or filled. The default time-in-force on most exchanges.
  • Trailing stop – A stop order that automatically adjusts as the price moves in your favor. If you set a trailing stop 5% below the current price, it follows the price up and triggers a sell only when the price drops 5% from its highest point. Used to lock in profits while allowing a position to ride a trend.

Order Types Comparison

Order TypePrice ControlExecution GuaranteeMaker/TakerPrimary Use
MarketNoneYesTakerImmediate execution
LimitYesNoMaker (usually)Controlled entry/exit
Stop-marketNone (after trigger)Yes (after trigger)TakerStop-loss, breakout entry
Stop-limitYes (after trigger)NoMaker or TakerControlled stop-loss
Post-onlyYesNoMaker (guaranteed)Fee-optimized entry
Trailing stopDynamicYes (after trigger)TakerProfit protection

Order Types on Decentralized Exchanges

Not all decentralized exchanges support all order types. Support varies by architecture:

  • CLOB DEXs (Hyperliquid, dYdX) – Support most standard order types including market, limit, stop-market, stop-limit, post-only, and reduce-only. Their order book architecture enables the same order type functionality as centralized exchanges.
  • AMM DEXs (GMX, Gains) – Primarily support market orders (swaps against the pool). Limit orders and stops may be available through keeper networks that monitor prices and execute orders on behalf of users.

For whitelabel operators, the available order types are determined by the underlying execution venue. Routing through Hyperliquid via perps.studio gives operators access to a comprehensive set of order types, enabling them to offer a professional trading experience. Operators can also build additional order type functionality at the application layer—such as TWAP, VWAP, or custom conditional orders—by decomposing complex orders into simpler primitives supported by the venue.

Choosing the Right Order Type

Selecting the appropriate order type depends on your trading context:

  • Entering a position in a calm market – Use a limit order to get the best price. You have time and want price control.
  • Entering a position during a breakout – Use a stop-market order triggered at the breakout level. You need execution certainty more than price precision.
  • Exiting a losing position – Use a stop-market order as a stop-loss. Ensure exit execution even in fast-moving markets.
  • Exiting a profitable position – Use a trailing stop to lock in profits while allowing the trend to continue, or a limit order if you have a specific target.
  • Market making or providing liquidity – Use post-only limit orders to ensure maker fee treatment on all fills.
  • Scaling into a position – Use multiple limit orders at different price levels (grid/ladder) to average into a position over a range.

Frequently Asked Questions

What is the difference between a market order and a limit order?

A market order executes immediately at the best available price, prioritizing speed over price. A limit order specifies a maximum buy price or minimum sell price, executing only at that price or better. Market orders guarantee execution; limit orders guarantee price but may not fill if the market never reaches the specified level.

What is a stop-loss order?

A stop-loss order is a stop order placed to limit losses on an existing position. It triggers a sell (for long positions) or buy (for short positions) when the price reaches a specified level. For example, if you are long BTC at $50,000, a stop-loss at $48,000 automatically exits the position if the price drops to $48,000, limiting your loss.

What is a post-only order?

A post-only order is a limit order that is guaranteed to be a maker order (adding liquidity to the book). If the order would immediately match against an existing order (making it a taker), it is cancelled instead of executed. Traders use post-only orders to ensure they pay the lower maker fee or receive maker rebates.

What is a reduce-only order?

A reduce-only order can only decrease or close an existing position, never open a new one or increase an existing one. This prevents accidental position reversals when placing exit orders. For example, if you are long 1 BTC and place a reduce-only sell for 1 BTC, it closes your position. If the position is already closed when the order triggers, the order is cancelled.

Which order types are available on decentralized exchanges?

CLOB-based DEXs like Hyperliquid and dYdX support most standard order types: market, limit, stop-market, stop-limit, post-only, and reduce-only. AMM-based DEXs primarily support market orders (swaps). The availability of advanced order types is one reason CLOB DEXs are preferred for active perpetual futures trading.

What is a trailing stop order?

A trailing stop is a stop order that automatically adjusts its trigger price as the market moves in your favor. If you set a trailing stop 5% below the price and the price rises from $100 to $120, the stop moves from $95 to $114. If the price then drops to $114, the stop triggers. This lets you ride trends while protecting accumulated profits.

Ready to launch your exchange?

perps.studio gives you the infrastructure to deploy a fully branded perpetual futures exchange in minutes.