# Limit orders

## Create a limit order

<https://app.jexchange.io/limit>

Limit orders allow you to place an order at a price lower than the current price of the asset. The objective here is to acquire tokens cheaper than a live swap.&#x20;

<figure><img src="https://3116554426-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXuKWiOWPJFazuCcPePSG%2Fuploads%2FENF4ZwvgRfNgCxgeNDz2%2Fimage.png?alt=media&#x26;token=ea54607b-0980-449a-af55-abe0df49c6fd" alt=""><figcaption><p>Limit Order</p></figcaption></figure>

To do this:&#x20;

* Pay: select the payment token and the amount of tokens you want to spend
* Receive: select the token to receive
* Select the amount of tokens you want to receive (the "Price" will get updated according to both selected amounts)
* Or select the "Price" and the amount of tokens to receive will get updated automatically.

To assist with the input, current market rates are displayed.

In the example below, the user is on the wBTC/USDC pair.&#x20;

* BTC Current price = 95,909 $USDC&#x20;
* Price at which the user wants to buy BTC = 95,000 $USDC&#x20;
* USDC Desired purchase amount = $900 USDC

<figure><img src="https://3116554426-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXuKWiOWPJFazuCcPePSG%2Fuploads%2FxuLTwcWgSd8QCWrcdWcK%2Fimage.png?alt=media&#x26;token=9da24f0d-8b92-40a7-abae-2e830975b9c5" alt=""><figcaption><p>Limit Order - USDC to BTC</p></figcaption></figure>

A recap of the order is shown. Please read carefully before submitting the order.

## Manage your orders

Your orders are displayed in "Active Orders" and "Past Orders" tabs.

<figure><img src="https://3116554426-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXuKWiOWPJFazuCcPePSG%2Fuploads%2FFV2CjSwVDE1AL0w2z5DN%2Fimage.png?alt=media&#x26;token=7bfe863a-23dd-4736-8600-1ea7c258eedd" alt=""><figcaption><p>Limit Orders - list of orders</p></figcaption></figure>

Details of each order is displayed.

Use the search input and the "Other pairs" toggle button to easily browser among your orders.

## Automatic order execution

Our <mark style="color:purple;">**arbitrage bot**</mark> allows you to fill orders automatically as soon as liquidity is available on JEX or on other DEXs to which our platform is connected.&#x20;

Pairs that our bot is active on will find a bot icon as shown in the image below. Our bot can fully or partially fulfill orders.

<figure><img src="https://3116554426-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXuKWiOWPJFazuCcPePSG%2Fuploads%2FTf0MNLINLzcKB76ovsH2%2Fimage.png?alt=media&#x26;token=ba16a193-159e-4e43-a2a3-3e5d35de9e69" alt=""><figcaption><p>Pair with bot activated</p></figcaption></figure>

<mark style="color:red;">**BE CAREFUL**</mark>: for activating the bot, several conditions must be filled:&#x20;

* Liquidity must be available in sufficient quantity on DEXs. The order may be partially filled if this is not the case.&#x20;
* Exchange fees in the orderbook and on DEXs must be covered.&#x20;
* Liquidity must be available by the time the bot detects the arbitrage opportunity. It is therefore possible that in the event of high market volatility certain orders cannot be filled.&#x20;

Although the bot does not seek to make a profit, any profits are treated as protocol fees.
