# Limit Orders

Limit Orders allow traders to set predefined trigger prices for opening positions. Unlike market orders, which execute immediately at the current price, Limit Orders only execute if the market reaches your chosen trigger price.

### What is a Limit Order?

A Limit Order enables you to define the price at which you’d like your trade to be executed:

* Long Positions (Buy): Your Limit Order executes if the market price falls to your trigger price or lower.
* Short Positions (Sell): Your Limit Order executes if the market price rises to your trigger price or higher.

Once the trigger price is reached, the order executes at the best available market price.

### Setting Up Limit Orders

Placing a Limit Order is simple:

1. Navigate to the Trade page.
2. Select your trading pair, leverage and collateral.
3. Switch to "Limit" at the top trading view
4. Enter your desired Trigger Price and Pay Amount in the Limit Order input fields. Trigger Price is the price at which your limit order will execute. Pay Amount is the down payment for the position you're opening.
5. Confirm the order.

The order will remain active until the market reaches the specified trigger price or you cancel it.

### Execution of Limit Orders

* When the market price matches or falls below the trigger price for a Long, the order is executed.
* When the market price matches or surpasses the trigger price for a Short, the order is executed.
* Execution always happens at the best available market price once triggered.
* A small execution fee is applied when the order is filled, covering the gas cost of the onchain trade.

### Managing Active Limit Orders

You can view or cancel your active Limit Orders at any time in the Orders section. Key details such as trigger price, size, and leverage are displayed for easy tracking.

If market conditions change, you can cancel the order entirely before it executes.<br>

> ⚠️ Note: Because Limit Orders execute at market price once the trigger is hit, final execution may differ slightly from the exact trigger price, depending on market liquidity and volatility.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wasabi.xyz/_/overview/leverage-trade/limit-orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
