For the complete documentation index, see llms.txt. This page is also available as Markdown.

Orders & Execution

This article details how to place the different order types available on Rails:

Before you continue:

  • There is a minimum order size of $1 USD for all trades.

  • There is no maximum order value.

Order Book & Recent Trades

The order book is a real-time, digital ledger that displays all open buy and sell orders for the asset you are viewing in the price chart. It helps traders see quantity and price levels at which others are willing to buy or sell. You'll also find all recent trades tabbed next to the order book.

Order Book

The order book shows Buy Orders (Bids), which list what buyers will pay, and Sell Orders (Asks), which list what sellers offer. It helps traders read market sentiment, spot possible price moves, and make better decisions.

The order book also includes two useful features:

  • The Spread is the difference between the highest bid and lowest ask. It appears as both a $(asset value) and percentage difference.

  • The currency switcher lets you view each asset's order book in units or USD at each price.

The tick size (minimum price change) and lot size (minimum order quantity) are both set to 0.00000001 (8 decimal places), but only 6 decimal places are displayed.

Recent Trades

This section provides a snapshot of the most recent trades of the asset currently displayed in the price chart that have been executed.

It shows both buy or sell trades with the size (quantity), price and time of each trade.

Order Panel

This is where you place your trades.

The order panel displays a dynamic summary of your order. Use the percentage bar to select what portion of your buying power you wish to deploy for this order, where buying power refers to your available balance multiplied by your account leverage.

See our order types article for detailed information on available order types and how to place trades.

Order Types

Read below to understand the various order types available for perpetuals trading:

Market

A market order is an order to buy or sell an asset immediately at the best available price. This makes it the fastest and easiest order type to execute because they prioritize speed over price.

What's Required:

Three pieces of information are required to place a market order:

  1. Order Side: Specify a Long (Buy) or Short (Sell) order.

  2. Amount: You can specify the amount by quantity or trade value.

    • Quantity (#): How many units (or partial units) of the asset you are trading.

    • Trade Value ($): How much you will pay (in USDT) not including any associated fees.

  3. Leverage: How much leverage you wish to open the position with.

Limit

A limit order enables you to buy or sell an asset at a specified price or better. When placing a limit order to buy, it will only be executed at the limit price or lower, enabling you to control how much you pay. Conversely, a limit order to sell will only be executed at the limit price or higher. Limit orders may not be filled if you don't set an appropriate price.

What's Required:

Five pieces of information are required to place a limit order:

  1. Order Side: Specify a Long (Buy) or Short (Sell) order.

  2. Price: This specifies the limit price you wish to set for your order.

  3. Amount: You can specify the amount by quantity or trade value.

    • Quantity (#): How many units (or partial units) of the asset you are trading.

    • Trade Value ($): How much you will pay (in USDT) not including any associated fees.

  4. Leverage: How much leverage you wish to open the position with.

  5. Check Post only if desired.

Take Profit Market

This is used to secure profit by automatically triggering a market order against an open position once the asset reaches the take profit (TP) price specified in your trigger order conditions. The order will be executed at the best available market price. There is no guarantee of an exact execution price due to slippage, especially in volatile markets.

  • For long positions, a take profit market order will automatically sell when the asset reaches the TP price.

  • For short positions, a take profit market order will automatically buy when the asset falls to the TP price.

What's Required:

Two pieces of information are required to place a take profit market order:

  1. Trigger/TP Price: This specifies the price you wish your order to be triggered at.

  2. Amount: You can specify the amount by quantity or trade value.

    • Quantity (#): How many units (or partial units) of the asset you are trading.

    • Trade Value ($): How much you will pay (in USDT) not including any associated fees.

Take Profit Limit

Similar to a take profit market order, this is used to secure profit by automatically triggering a limit order to be placed once the asset reaches the take profit (TP) price specified in your trigger order conditions. The order will be executed at the TP price or better.

  • For long positions, a take profit limit order will sell when the asset reaches the TP price.

  • For short positions, a take profit limit order will buy when the asset falls below the TP price.

What's Required:

Four pieces of information are required to place a limit order:

  1. Trigger/TP Price: This specifies the price you wish your order to be triggered at.

  2. (Limit) Price: This specifies the limit price at which you would like the order to be executed.

  3. Amount: You can specify the amount by quantity or trade value.

    • Quantity (#): How many units (or partial units) of the asset you are trading.

    • Trade Value ($): How much you will pay (in USDT) not including any associated fees.

Stop Loss Market

This is used to minimize losses if the asset moves against an open position. You must set a stop loss (SL) price which reflects your risk tolerance, and once the SL price is reached or exceeded, a market order is executed immediately. The final price may be lower or higher than expected due to slippage.

  • For long positions, a stop market order will automatically sell if the asset falls below the SL price.

  • For short positions, a stop market order will automatically buy if the asset rises above the SL price.

What's Required:

Two pieces of information are required to place a limit order:

  1. Trigger/SL Price: This specifies the price you wish your order to be triggered at.

  2. Amount: You can specify the amount by quantity or trade value.

    • Quantity (#): How many units (or partial units) of the asset you are trading.

    • Trade Value ($): How much you will pay (in USDT) not including any associated fees.

Stop Loss Limit

Similar to a stop market order, this is used to minimize losses if the asset moves against your trade but is executed differently. You must set a stop loss (SL) price (the price at which you want to trigger the limit order) and a limit price (the price at which you want the order to execute). There's a risk your trigger order does not execute if the market moves too fast causing slippage.

  • For long positions, a stop limit order will be placed when the price drops to the SL price. The order will be executed only if buyers are willing to buy at the limit price or better (higher).

  • For short positions, a stop limit order will be placed when the asset price rises to the SL price. The order will be executed only if sellers are willing to sell at the limit price or better (lower).

What's Required:

Three pieces of information are required to place a trigger limit order:

  1. Trigger/SL Price: This specifies the price you wish your order to be triggered at.

  2. (Limit) Price: This specifies the limit price at which you would like the order to be executed.

  3. Amount: You can specify the amount by quantity or trade value, either

    1. Quantity (#): How many units (or partial units) of the asset you are trading.

    2. Trade Value ($): How much you will pay (in USDT) not including any associated fees.

Time Weighted Average Price (TWAP)

A TWAP (time-weighted average price) order splits a large order into smaller market orders. These orders execute at fixed intervals over a set duration. This can reduce market impact compared with one market order.

What’s required

  1. Amount: Specify either of these values:

    1. Quantity (#): The number of asset units to trade.

    2. Trade Value ($): The USDT amount to trade, excluding fees.

  2. Running time: This is the length of time you'd like your TWAP order to run. Choose any duration between 5 mins and 24 hrs.

Post Only

A post-only order is a type of limit order that ensures your order adds liquidity to the market instead of taking it. If the price you set would cause the order to be matched with an existing order in the order book (i.e. execute immediately), it will be automatically canceled.

The post only order checkbox is only available with market orders.

Reduce-Only

A reduce-only order only decreases or closes an existing position. It does not increase your position size. Reduce-only orders are treated as such if checked, and the create order button will be disabled if you enter an order size that exceeds your current position.

Once the order is created, the Reduce Only column in your open orders tab will show a "Yes." When you modify an open order, the order size is validated against your current position size.

Calculator

Our built-in trading calculator enables users to estimate the returns or losses of their trades before placing them:

Cherck each tab below to show how each tab works in the calculator in more detail:

Estimate the profit or loss of your trade by selecting a long or short position and inputting the quantity, entry price, close price and preferred leverage.

The impact of your trade is calculated and displayed at the bottom of the calculator. This information includes:

  • Profit (or loss): Estimated amount gained or lost in USD.

  • % Profit (or Loss): The estimated change in profit or loss (%) of the order total.

  • % Return: The estimated return of your margin (%) if you used leverage.

This tab allows you to input the quantity and entry price to confirm the liquidation price of your trade.

The impact of your trade is automatically calculated and presented at the bottom right of the calculator. This information includes:

  • Liquidation Price: The price at which your position will be liquidated.

  • Order Total: Total volume in USD of your trade.

  • Leverage: How much your account will be leveraged, based on your available balance. (i.e. Effective Leverage)

This tab is a helpful tool in helping determine your take profit trigger order details by determining the price you need the asset to reach (target price) if you have a desired return on investment (ROI%).

Select the order type (long or short) and input the quantity, entry price and ROI% to assess the target price.

The key results of this assessment are displayed at the bottom of the calculator as follows:

  • Target Price: The price at which you should close your position for the desired profit.

  • Margin Used: The amount of your account balance that would be allocated to open this trade.

Use this tab to determine the price at which you should enter a position. Select your order type (long or short) and input the quantity, target price and the desired ROI for this trade.

The impact of your trade is automatically calculated and presented at the bottom of the calculator and includes:

  • Entry Price: The price at which you should open your position for the desired profit.

  • Margin Used: The amount of your account balance that is being allocated to maintain this trade.

Placing Market or Limit Orders

To place a market or limit order, complete the following steps:

  1. Select the Asset you wish to trade in the top-left-hand corner of your Rails account under All Markets.

  2. Select Market or Limit to ensure that you are executing the type of order you want.

  3. Select Buy or Sell depending on whether you want to open a Long or Short position respectively.

  4. Choose your Margin Mode by selecting either Cross or Isolated Margin.

  5. Select your preferred Leverage amount by clicking on the cross-margin drop-down menu.

    • Note: If you are changing your leverage, the change will apply to any open orders for that market only.

  6. Input the details of your order or use the % options shortcuts to set a percentage of your available balance.

  7. Select Post only if desired.

  8. Click the Buy or Sell button to place your order.

A green "Order accepted" banner will pop up and you should see your order appear under the Positions tab if it was successful. See our troubleshooting tips if you need help.

Placing Trigger Orders

Learn how to use the trigger order shortcut here.

To place a Trigger Limit Order you must follow these steps:

  1. Once you have an open position, navigate to your Positions Tab on the main Trading Page.

  2. From the Order Panel, click the trigger order drop down menu and select whether you want a Take Profit Limit Order, Stop Loss Limit Order, Take Profit Market Order or a Stop Loss Market Order

  3. Select the Trigger Price, which is the price at which you would like the order to execute.

  4. Select the Price which is the highest you would like to take profit or lowest you would like to stop loss.

  5. Input the Amount you would like to buy/sell in one of three ways:

    • Use the % options shortcuts to set a percentage of your available balance, or

    • Input the Amount in either quantity (# of asset) or trade volume ($ in USD) using the arrows to toggle between the two options.

  6. Click the Buy or Sell button to place your trigger limit order.

You should see a success message in the lower left-hand side of your screen if it was successful. See our troubleshooting tips if you need help.

Trigger Order Shortcut

The easiest way to add a trigger order is using the shortcut directly from your position in your positions tab.

Follow these steps to use the shortcut to place a Trigger Order:

  1. Once you have an open position, navigate to your Positions Tab on the main Trading Page.

  2. Click Add --> on either TP or SL in the Trigger Orders column.

  1. The default is to set to Market Trigger orders, or select the checkbox to set a Limit Price:

Not sure if you want to set a market or limit trigger order? Find out more about each in our order types guide.

  1. Click UPDATE TRIGGER(S).

A success message shows on screen if your trigger orders are placed successfully, and you can navigate to the trigger orders tab to confirm.

Still need help? See our troubleshooting tips.

TWAP Orders

When you place a TWAP order, you are asking the system to execute your order (the parent order) in equal slices (or child orders) over your requested running time.

Each slice uses a fixed size, calculated as:

Child Order Size=Total Order SizeNumber of Slices\text{Child Order Size} = \frac{\text{Total Order Size}}{\text{Number of Slices}}

Child orders execute every 30 seconds, and this interval cannot be changed.

Notes

Rails does not reserve margin when you create the parent order. Each child order must pass margin checks when it executes.

Each child order has a 2% slippage cap.

Your TWAP order may not fill completely, as execution is best-effort and individual slices may not fill where margin or liquidity is insufficient; Rails does not retry unfilled slices.

To place your TWAP order:

  1. Select the Asset you wish to trade in the top-left-hand corner of your Rails account under All Markets.

  2. Select TWAP from the Pro Order Types:

  1. Select Buy or Sell depending on whether you want to open a Long or Short position respectively.

  2. Choose your Margin Mode by selecting either Cross or Isolated Margin.

  3. Select your preferred Leverage amount by clicking on the cross-margin drop-down menu.

Note: If you are changing your leverage, the change will apply to any open orders for that market only.

  1. Input the details of your order or use the % options shortcuts to set a percentage of your available balance.

  2. Choose your Running Time (any time between 5mins and 4hrs, including run time like 2hrs 30mins)

  3. Click the Buy or Sell button to place your order to begin the TWAP execution.

Terminating Your TWAP Order

You can terminate your TWAP Execution at any time, however you cannot pause, restart or delay it, so if you terminate and then want to restart, you'll have to place your order again.

To Terminate your order, find the Terminate button to the right of your TWAP execution in the TWAP tab:

Once your order has successfully stopped executing, you'll see it show as terminated in the TWAP tab, as shown on the right.

Last updated

Was this helpful?