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

# Use limit trading

This page provides a step-by-step guide on how to utilize Limit Trading on FlatQube. Follow these instructions to make the most of this feature:

## Creating a Limit Order

1. Navigate to the `Swap` section of FlatQube.
2. In the swap window on the right-hand side, select the `Limit` option.
3. Choose the tokens you wish to trade, specifying the token pair for your limit order.
4. Now, you have two options to determine your trade: by `amount` or by `price`. If you click the lock icon and set the amount for both tokens, the DEX will automatically calculate the price based on the entered amounts. Alternatively, if you close the lock icon and set a specific price for the trade, the DEX will calculate the second token amount automatically based on the price you've set. You can also use the `Market Price` button to set the price according to the current market value.
5. Once you have completed the above steps, click the `Make an Order` button and confirm the transaction. Your order will be placed on the blockchain and will appear in the `My Orders` section.
6. Click `Make an Order`, then `Confirm`, and approve the transaction in the opened Ever Wallet window.

After placing your limit order, you will need to wait for its execution. To learn more about how orders are executed and the concepts behind it, please refer to the [`Concept page`](/use/swap/concepts/limit-orders.md).

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

## Closing an Order

1. Go to the `Swap` section of FlatQube.
2. In the interface on the right side, select the tokens you are interested in.
3. Scroll down to the `Orders` block, which represents the order book.
4. Choose either `Buy` or `Sell` to filter the relevant orders.
5. Select the desired order from the list and click `Accept`.
6. Confirm the transaction by clicking `Confirm` and approve it in the opened Ever Wallet window.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flatqube.io/use/swap/how-to/use-limit-trading.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
