> For the complete documentation index, see [llms.txt](https://help.rails.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.rails.xyz/trading/perpetuals/placing-orders.md).

# Placing Orders

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

{% hint style="info" %}
Before you continue:

* There is a minimum order size of $1 USD for all trades.
* There is no maximum order value.
  {% endhint %}

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><strong>Order Types</strong></td><td><a href="/pages/iKE1bFUmwuqiDoWTZ2mb#order-types">/pages/iKE1bFUmwuqiDoWTZ2mb#order-types</a></td></tr><tr><td align="center"><strong>Placing Orders</strong></td><td><a href="/pages/iKE1bFUmwuqiDoWTZ2mb#how-to-place-an-order">/pages/iKE1bFUmwuqiDoWTZ2mb#how-to-place-an-order</a></td></tr><tr><td align="center"><strong>Placing Trigger Orders</strong></td><td><a href="/pages/iKE1bFUmwuqiDoWTZ2mb#how-to-place-a-trigger-order">/pages/iKE1bFUmwuqiDoWTZ2mb#how-to-place-a-trigger-order</a></td></tr><tr><td align="center"><strong>TWAP Orders</strong></td><td><a href="/pages/iKE1bFUmwuqiDoWTZ2mb#placing-and-managing-twap-orders">/pages/iKE1bFUmwuqiDoWTZ2mb#placing-and-managing-twap-orders</a></td></tr></tbody></table>

## Order Types

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

<details>

<summary>Market</summary>

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](/trading/perpetuals/margin-modes.md#adjusting-leverage) you wish to open the position with.

</details>

<details>

<summary>Limit</summary>

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](/trading/perpetuals/placing-orders.md#how-to-select-the-right-limit-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](/trading/perpetuals/margin-modes.md#adjusting-leverage) you wish to open the position with.
5. Check **Post only** if desired.

</details>

<details>

<summary>Take Profit Market</summary>

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.

</details>

<details>

<summary>Take Profit Limit</summary>

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.

</details>

<details>

<summary>Stop Loss Market</summary>

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.

</details>

<details>

<summary>Stop Loss Limit</summary>

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.

</details>

<details>

<summary>Time Weighted Average Price (TWAP)</summary>

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.**

</details>

<details>

<summary>Post Only</summary>

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.

{% hint style="info" %}
The post only order checkbox is only available with market orders.
{% endhint %}

</details>

<details>

<summary>Reduce-Only</summary>

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](/trading/perpetuals/overview.md#trade-summary-tabs) will show a "Yes." When you modify an open order, the order size is validated against your current position size.

</details>

## Placing 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](/trading/perpetuals/margin-modes.md).
5. Select your preferred **Leverage** amount by clicking on the cross-margin drop-down menu.
   * Note: If you are changing your [leverage](/trading/perpetuals/margin-modes.md), 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](/trading/perpetuals/overview.md#trade-summary-tabs) if it was successful. See our [troubleshooting tips](/support/troubleshooting-guide.md#trading) if you need help.

{% hint style="success" %}
You can also copy your order directly from our calculator, allowing you to consider various options before placing your order. Learn more [here](#calculator)!
{% endhint %}

<figure><img src="/files/fMflP1mZ0auRggBZWRFQ" alt=""><figcaption></figcaption></figure>

## Placing Trigger Orders

{% hint style="info" %}
Learn how to use the trigger order shortcut [here](#trigger-order-shortcut).
{% endhint %}

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](/support/troubleshooting-guide.md#trading) if you need help.

<figure><img src="/files/0gfzFvSPfNgQTFdUDCQJ" alt=""><figcaption></figcaption></figure>

### 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.

<figure><img src="/files/Izi2Wrg9nzFmKHRipvsp" alt=""><figcaption></figcaption></figure>

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

{% hint style="info" %}
Not sure if you want to set a market or limit trigger order? Find out more about each in our [order types](#order-types) guide.
{% endhint %}

<figure><img src="/files/Zh7ykZ1606Pkexg3YsoA" alt=""><figcaption></figcaption></figure>

4. 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.

{% hint style="info" %}
**Still need help?** See our [troubleshooting tips](/support/troubleshooting-guide.md#trading).
{% endhint %}

## Placing & Managing 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.&#x20;

{% columns %}
{% column width="50%" %}
Each slice uses a fixed size, calculated as:

$$
\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.
{% endcolumn %}

{% column width="50%" %}
{% hint style="info" %}
**Note:**

* Rails **does not reserve** [**margin**](/trading/perpetuals/margin-modes.md) when you create the parent order. Each child order must pass margin checks when it executes.
* Each child order has a 2% slippage cap.
  {% endhint %}
  {% endcolumn %}
  {% endcolumns %}

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:**

<figure><img src="/files/TzBq2MM7HhJhOeUTa0hL" alt=""><figcaption></figcaption></figure>

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](/trading/perpetuals/margin-modes.md).
5. Select your preferred **Leverage** amount by clicking on the cross-margin drop-down menu.

* Note: If you are changing your [leverage](/trading/perpetuals/margin-modes.md), 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. Choose your **Running Time** (any time between 5mins and 4hrs, including run time like 2hrs 30mins)
8. 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:

<figure><img src="/files/0rktvgA2ZAT6yAOEDUfy" alt=""><figcaption></figcaption></figure>

{% columns %}
{% column width="66.66666666666666%" %}
Once your order has successfully stopped executing, you'll see it show as terminated in the TWAP tab, as shown on the right.

{% endcolumn %}

{% column width="33.33333333333334%" %}

<figure><img src="/files/Xf1wHdmKOCRCwryLd3IZ" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}
