> For the complete documentation index, see [llms.txt](https://docs.libertyswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libertyswap.finance/liberty-dex/limit-orders.md).

# Limit Orders

Introducing a new way to trade - combining self-custody, privacy, and zero-friction execution into a single seamless experience.

Built with Permit2 and an **intent-based execution model**, Liberty DEX allows users to place limit orders without ever giving up control of their assets.

***

### A Smarter Way to Trade

Traditional limit orders often require users to:

* Lock funds in advance
* Pay gas fees upfront
* Expose their strategy on-chain

Liberty DEX changes that.

With Liberty DEX Limit Orders, your trade is treated as an **intent**, not an immediate transaction. Execution is handled by **fillers** who compete to fulfill your order under the exact conditions you set.

### Key Advantages

#### Full Self-Custody

* Your tokens **remain in your wallet at all times** until the order is executed. No deposits, and no smart contract lockups.

#### Exact Execution Only

* Only the **exact amount required** for the trade is used, with no overfills. Fillers may keep any difference between the price they obtain and the price you signed.

#### Powered by Permit2

* Secure signature-based approvals
* No need for repeated token approvals
* Reduced risk of malicious spending

#### No Pre-Locking, No Early Movement

* Funds are **never locked or moved prematurely**.
* Execution happens **only when conditions are met**.

#### Gasless Orders

* No gas fees for placing orders
* No gas fees for execution

A one-time Permit2 approval per token and manual cancellation **require a small gas fee**.

#### No Minimum Size

Whether you're trading small or large amounts:

* **No minimum order size**
* Fully flexible participation

#### Aggregated Liquidity

Liberty DEX taps into on-chain liquidity and off-chain liquidity. This is designed to improve pricing and provide **deeper execution opportunities**.

#### Not Posted On-Chain Before Execution

Your orders are:

* **Not posted on-chain** before execution
* Designed to reduce exposure to front-running and MEV, without eliminating it

Orders are shared with fillers off-chain, so they are not **fully confidential before execution**.

### How It Works (Simplified)

1. You create a limit order by signing an intent
2. The order is broadcast to fillers (off-chain)
3. Fillers execute the trade when conditions match
4. Tokens are transferred **directly from your wallet at execution**

### Summary

**Liberty DEX Limit Orders redefine trading UX:**

* No deposits or lockups
* Gas only for approvals and cancellations
* No on-chain order posting before execution
* No unnecessary complexity

It’s a system designed for traders who want **control, reduced pre-trade visibility, and efficiency**.
