Home / Learn / Feature Deep Dive
Feature Deep Dive

Advanced Order Types for Perpetual Futures

Equip your traders with a comprehensive suite of order types including limit, market, stop-loss, take-profit, trailing stop, and TWAP for precise trade execution.

The order types available on a trading platform directly determine how effectively traders can execute their strategies. While basic market and limit orders are the foundation, professional traders require a much richer set of tools to manage entries, exits, and risk. Stop-loss orders protect against downside, take-profit orders lock in gains, and algorithmic order types like TWAP (Time-Weighted Average Price) allow for optimal execution of large positions.

perps.studio includes a comprehensive suite of advanced order types in its whitelabel trading terminal, all routed through Hyperliquid and Aster DEX. Exchange operators get institutional-grade order execution capabilities without building any of the order management infrastructure. Traders on perps.studio-powered exchanges can execute sophisticated strategies with the same tools available on the largest centralized derivatives platforms.

Market and Limit Orders

Market and limit orders are the two foundational order types available on every perps.studio-powered exchange:

Market Orders: A market order executes immediately at the best available price in the order book. The trader specifies only the size of the position; the price is determined by the current market conditions. Market orders are ideal when speed of execution is more important than price precision. They are the simplest and fastest way to enter or exit a position.

Limit Orders: A limit order specifies both the size and the maximum (for buys) or minimum (for sells) price at which the trader is willing to execute. The order will only fill at the specified price or better. If the current market price does not meet the limit, the order rests in the order book until it is filled, canceled, or expires. Limit orders give traders precise control over their entry and exit prices.

Both order types support additional parameters including reduce-only mode (which ensures the order only reduces an existing position rather than opening a new one) and post-only mode (which ensures a limit order is added to the book rather than immediately matching, guaranteeing maker fee rates).

Stop-Loss and Take-Profit Orders

Stop-loss and take-profit orders are conditional orders that trigger automatically when the market reaches a specified price level. They are essential tools for risk management and profit protection:

Stop-Loss Orders: A stop-loss order triggers when the market price moves against the trader's position to a specified level. Once triggered, it converts into a market or limit order to close the position and cap the loss. For a long position, the stop-loss is placed below the entry price; for a short position, it is placed above. Stop-loss orders are the most important risk management tool available to futures traders.

Take-Profit Orders: A take-profit order triggers when the market price moves in favor of the trader's position to a specified level. It automatically closes the position to lock in profits. For a long position, take-profit is placed above the entry; for a short, it is placed below.

The perps.studio terminal allows traders to set both stop-loss and take-profit levels when placing their initial order, creating a complete trade plan with predefined risk and reward targets. These orders can also be added or modified after the position is open, providing flexibility as market conditions evolve.

Trailing Stop Orders

Trailing stop orders are a dynamic variant of the stop-loss that automatically adjusts as the market moves in the trader's favor. Instead of a fixed price level, the trailing stop maintains a specified distance (in price or percentage terms) from the highest (for longs) or lowest (for shorts) price achieved since the order was placed.

For example, a trader with a long BTC-PERP position might set a trailing stop at 5% below the highest price. As BTC rises, the stop level rises with it, always maintaining the 5% distance. If BTC then reverses and falls 5% from its peak, the trailing stop triggers and the position is closed. This mechanism allows traders to ride trends while protecting their accumulated profits.

Trailing stops are particularly valuable in trending markets where the trader wants to capture as much of the move as possible without having to manually adjust their stop-loss level. The perps.studio terminal provides intuitive controls for configuring trailing distance and displays the current trailing stop level alongside the position details.

TWAP Orders

TWAP (Time-Weighted Average Price) orders are algorithmic order types designed for executing large positions over a specified time period. Instead of placing a single large order that could move the market and result in poor execution, a TWAP order breaks the total size into smaller slices and executes them at regular intervals.

For example, a trader wanting to build a $1 million BTC-PERP position might use a TWAP order to execute $50,000 every 5 minutes over approximately 100 minutes. Each slice is executed as a market or limit order, and the overall execution price converges toward the time-weighted average price over the execution period.

TWAP orders are essential for institutional traders who need to manage market impact when entering or exiting large positions. Without TWAP, a single large market order could significantly move the price, resulting in worse execution and telegraphing the trader's intentions to the market.

The perps.studio terminal provides a TWAP order interface where traders specify the total size, execution duration, and slice interval. Progress tracking shows the percentage of the order that has been filled and the current average execution price.

Conditional and Trigger Orders

Beyond standard stop and take-profit orders, the perps.studio terminal supports more general conditional orders that can be triggered by various market conditions. These include:

  • Stop-Limit Orders: A hybrid that triggers at a specified stop price but then places a limit order (rather than a market order) at a defined limit price. This prevents execution at unfavorable prices during volatile conditions but carries the risk that the order may not fill if the market moves through the limit price.
  • OCO (One-Cancels-Other) Orders: A pair of orders where the execution of one automatically cancels the other. Commonly used to set both a stop-loss and take-profit simultaneously; when one is triggered, the other is canceled.
  • Reduce-Only Orders: Orders that can only reduce an existing position, never increase or open a new one. This is a safety mechanism that prevents accidental position reversals when closing orders are in flight.

These conditional order types give traders the building blocks to construct complex execution strategies. A trader might combine a limit entry with an OCO exit (stop-loss plus take-profit), effectively automating the entire trade lifecycle.

Order Management Interface

The perps.studio terminal provides a comprehensive order management interface that gives traders full visibility and control over their active and historical orders:

  • Open Orders Panel: Displays all active orders with their type, price, size, fill status, and estimated time in force. Traders can modify or cancel any open order with a single click.
  • Order History: A complete record of all historical orders with execution details, including fill prices, fees, timestamps, and status (filled, partially filled, canceled, or expired).
  • Triggered Orders: A dedicated view for conditional orders that are waiting to trigger, showing the current distance from the trigger price and the order that will be placed upon activation.
  • Bulk Operations: The ability to cancel all open orders, cancel orders on a specific market, or cancel all orders of a specific type with a single action.

All order data is available via the API as well, enabling programmatic order management for automated trading strategies and bot integration.

Order Types for Exchange Operators

For whitelabel operators, the available order types can be a significant competitive differentiator. A platform offering only basic market and limit orders will struggle to attract professional traders, while a platform with the full suite of advanced order types signals institutional-grade capabilities.

perps.studio provides all order types out of the box, and operators can choose which types to display and promote on their exchange. An operator targeting beginner traders might simplify the order entry interface to show market and limit orders by default, with advanced types accessible via an expanded menu. An operator targeting institutional users would display the full suite prominently.

The order type infrastructure is entirely managed by perps.studio and the underlying protocols. Operators do not need to build or maintain any order routing, matching, or management logic. This means they can offer the same execution capabilities as the largest exchanges with zero engineering overhead.

Frequently Asked Questions

What order types are available on perps.studio-powered exchanges?

perps.studio supports market, limit, stop-loss (stop market), stop-limit, take-profit, trailing stop, TWAP, reduce-only, post-only, and OCO orders. These cover the full spectrum of execution needs for both retail and institutional traders.

Are stop-loss orders guaranteed to execute at the specified price?

Stop-loss market orders will execute at the best available price once the trigger price is reached, but in fast-moving markets there may be slippage between the trigger price and the execution price. Stop-limit orders can specify a maximum slippage but may not fill if the market moves too fast.

Can I set both a stop-loss and take-profit on the same position?

Yes. The perps.studio terminal supports setting both stop-loss and take-profit orders on any position. These can be configured as OCO (One-Cancels-Other) orders, so when one triggers, the other is automatically canceled.

How does the TWAP order determine execution timing?

TWAP orders divide the total order size into equal slices and execute each slice at regular intervals over the specified time period. You configure the total size, duration, and slice interval. Each slice is executed at the prevailing market price.

Can exchange operators customize which order types are available?

Yes. Operators can configure the trading interface to show or hide specific order types, set default order types for the order entry panel, and customize the UI layout for the order form. This allows operators to simplify the interface for beginner audiences or showcase the full suite for professionals.

Do advanced order types work through the API as well?

Yes. All order types available through the trading terminal are also accessible via the REST and WebSocket APIs. This enables programmatic trading strategies to use the full range of order types for automated execution.

Ready to launch your exchange?

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