# How to Use Limit Orders

**LibertyX Limit Orders** are designed to be simple, gasless, and fully self-custodial. Below is a clear step-by-step guide to help you get started.

### 1. One-Time Setup

Before placing your first order, you need to approve Permit2.

* This allows the protocol to **execute trades on your behalf only when conditions are met**
* Requires a **small gas fee**
* Done **once per token** (not per order)

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2Fslnx6mVAp30CR19YTryH%2FScreenshot%202026-03-26%20094307.png?alt=media&#x26;token=cd380c56-0be3-4dc3-96ec-665af80ab43d" alt=""><figcaption></figcaption></figure>

After this step, you won’t need to approve again for future orders.

### 2. Place Your Order (Gasless)

* Enter:
  * Token pair (e.g. ETH → USDC)
  * Desired price
  * Amount
  * Expiry time
* Sign the order with your wallet

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FmQb07odRYESRk2UBddhV%2FScreenshot%202026-03-26%20094228.png?alt=media&#x26;token=6dd31e42-a591-4682-9859-6803ce1cd94a" alt=""><figcaption></figcaption></figure>

Important:

* This is **just a signed message (intent)**
* **No on-chain transaction happens**
* **No gas fee required**
* Your tokens **stay in your wallet**

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2Fjaz49DI8A87L3hsCxYqP%2FScreenshot%202026-03-26%20094253.png?alt=media&#x26;token=2336f654-f814-45d0-9b5d-5372237c70d9" alt=""><figcaption></figcaption></figure>

### Setting Limit Prices with ±% (Buy Low / Sell High)

LibertyX makes it easy to define your desired execution price using **quick percentage options** like **±1%, ±5%, ±10%**, or a custom value. These options adjust your order relative to the current market price.

#### **Positive Values (+1%, +5%, +10%) - Better Price**

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FGsaLQJscfdHn4n7iBAY4%2FScreenshot%202026-03-26%20104309.png?alt=media&#x26;token=0161184d-6be1-4f86-bd06-d1c1e282fd0d" alt=""><figcaption></figcaption></figure>

Selecting a **positive percentage** means you want a **better price than the current market**.

* Your order will **only execute when the market moves in your favor**

**How it works:**

* **Buy orders** → execute when price goes **lower**
* **Sell orders** → execute when price goes **higher**

> Example:\
> Choosing **+10%** means your order will only execute when you receive a price **10% better** than the current market rate.

#### **Negative Values (-1%, -5%, -10%)  Faster Execution**

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FPFPu0sQbt5NOouZ0P9aE%2FScreenshot%202026-03-26%20104317.png?alt=media&#x26;token=3371d3c6-9d94-41e6-88a3-7fac4ff12ec5" alt=""><figcaption></figcaption></figure>

Selecting a **negative percentage** means you accept a **worse price than the current market**.

* Your order will execute **more easily and faster**, since conditions are less strict

**How it works:**

* **Buy orders** → execute even if price goes **higher**
* **Sell orders** → execute even if price goes **lower**

> Example:\
> Choosing **-10%** means your order can execute at a price **10% worse** than the current market rate.

**Best Practices**

* Use **+% values** when you want to:
  * Buy low
  * Sell high
  * Optimize entry/exit price
* Use **-% values** when you want to:
  * Increase execution probability
  * Exit or enter positions quickly

#### Summary

* **+% = Better price, slower execution**
* **-% = Worse price, faster execution**

This flexible pricing system allows you to **control both your execution price and timing**, depending on your trading strategy.

### 3. While Waiting

While your order is open:

* You remain in **full control of your funds**
* You can:
  * Transfer tokens
  * Trade elsewhere
  * Use them in DeFi

Note:

* If your balance becomes insufficient, the order simply won’t be filled

### 4. When Price is Met

* A **filler** detects that your conditions are satisfied
* The filler executes the trade **on-chain**
* At that moment:
  * Tokens are pulled from your wallet
  * Trade is completed instantly

Only the **exact required amount** is used\
Execution happens **only when your price is met**

### Key Benefits Recap

* **Self-custody:** funds always stay in your wallet
* **Gasless UX:** no fees for placing or execution
* **Precision:** exact amount, exact conditions
* **Private:** orders are not visible on-chain before execution
* **Flexible:** cancel implicitly by moving funds
