# Trade

### Create a BUY LIMIT order

* Go to **MARKETS**
* Select the position token you want to buy
* In the order widget on the right, select **BUY** and **LIMIT**
* Enter the number of position tokens you want to buy
* Enter the price you want to pay per position token
* Set how long your order shall be valid
* Click **APPROVE**
* Click **CREATE ORDER**

{% hint style="info" %}
Note that it's considered best practice to approve only the amount that you are planning to spend. Instead of approving and spending gas every single time before placing an order, you can approve a larger amount once and then place your orders with a reduced amount until your approved amount is exhausted. This way you will incurr gas fees for the approval transaction only once.&#x20;
{% endhint %}

![Create BUY LIMIT order. Left image shows approve step, right image shows create order step.](/files/LkuhOAM1R80Ks7WnKpKA)

### Create a SELL LIMIT order

* Go to **MY DASHBOARD -> MY POSITIONS**
* Select the position token you want to sell
* In the order widget, select **SELL** and **LIMIT**
* Enter the number of position tokens you want to sell
* Enter the price you ask per position token
* Set how long your order shall be valid
* Click **APPROVE**
* Click **CREATE ORDER**

![Create SELL LIMIT order. Left image shows approve step, right image shows create order step.](/files/NKnlfEYnubGWibP80H8y)

### Fill existing SELL LIMIT orders (BUY MARKET)

* Go to **MARKETS**
* Select the position token you want to buy
* Check that there are existing orders on the **ASK** side of the order book
* In the order widget, select **BUY** and **MARKET**
* Enter the number of position tokens you want to buy
* Click **APPROVE**
* Click **FILL ORDER**

![BUY Market](/files/Kk1jKgbrhaSnfM9y33Jp)

### Fill existing BUY LIMIT orders (SELL MARKET)

* Go to **MY DASHBOARD -> MY POSITIONS**
* Select the position token you want to sell
* Check that there are existing orders on the **BID** side of the order book
* In the order widget, select **SELL** and **MARKET**
* Enter the number of position tokens you want to sell
* Click **APPROVE**
* Click **FILL ORDER**

![SELL Market](/files/hakQuyKFeyEBV12mvGvA)


---

# Agent Instructions: 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:

```
GET https://docs.divaprotocol.io/guides/diva-app-training/trade.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
