> For the complete documentation index, see [llms.txt](https://docs.orniton.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.orniton.org/guide-en/limit-swap.md).

# Limit swap

To create a limit order, go to the "Limit" section on the Swap page.&#x20;

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

**What is a limit order?** A limit order allows you to buy or sell tokens at a pre-set price. It remains active until it is executed, unless: you cancel it manually, you do not have enough funds on your balance.&#x20;

How do I create a limit order? After selecting the "Limit" section, the exchange form will open.

1. In the first fields, you must specify the exchange pair and rate.

Next, you must select a trigger.

The trigger token is the asset on the basis of which the order will be triggered.

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

In the second field, you must select what the trigger should be equal to. Specify at what rate the order should be triggered.

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

For example: 1 USDT = 0.2504 TON (on the screenshot)

In the third field, you indicate the action you want to perform (buy/sell) one of the tokens in the pair and the amount you want to buy or sell. For example: When 1 USDT = 0.2504 TON, buy 0.250424 TON (on screenshot)

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

After entering all the data, click "Limit Swap" and your order will appear in the list of active ones.

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

To cancel, you can click on the "cross" icon and the order will be canceled instantly. View active orders - go to the "My Orders" section to monitor the status of your orders.

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

When the limit order trigger is triggered, if there is an available amount, the order will be executed.
