# Limit Orders

A **Limit Order** allows you to set the maximum price you are willing to pay when buying, or the minimum price you are willing to accept when selling.

### **When to Use?**

* When you want to control the exact entry or exit price.
* Suitable for patient traders waiting for favorable market conditions.

***

### **Key Points**

Execution is not guaranteed — the order will only be filled if the market reaches  or exceeds your set price.

***

### Why Did My Limit Order End Up Being Executed as a Market Order?

* The logic of a limit order is:
  * A **buy order** will be executed at a price **≤ your set price**.
  * A **sell order** will be executed at a price **≥ your set price**.
* If you do **not** enable the **Post Only** option, the system will match your order against existing orders in the order book immediately, as long as the price condition is satisfied.
* To ensure your order is always placed into the order book as a **Maker** order, you need to check **Post Only**. Otherwise, your order may be executed immediately as a **Taker** order.

<figure><img src="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FfU6QACUDBjaEdi2UiLk1%2Fimage.png?alt=media&#x26;token=e66992bf-c1d0-45e0-a873-72a7c38f9e0d" alt=""><figcaption></figcaption></figure>

**Example:**

* You set a **buy limit order** for BTC/USD at 30,000.
* The current best ask price is 29,900.
* **Result:** The system will execute the order immediately at 29,900 instead of placing it at 30,000 to wait.
