> For the complete documentation index, see [llms.txt](https://yummy-docs.gitbook.io/yummy-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yummy-docs.gitbook.io/yummy-docs/helpful-guides/trade-guide/open-close-position.md).

# Open/Close Position

## Open a Position

1. Choose your desired token you want to trade

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

2. Click on the \[Buy/Long] or \[Sell/Short] button

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

3. Choose your order

* **Market**: Market order is immediately matched to the best available market price
* **Limit**: The trade will fill at the specific price or better. Limit orders are not guaranteed to execute.
* **Stop Limit**: Orders become limit orders when a specified stop price is reached. Specify a trigger price to activate the order.
* **Stop Market**: Orders become market orders when a specified price is reached. Specify a trigger price to activate the order

<figure><img src="/files/5WVpXmz7nlfHGdJejrIf" alt=""><figcaption></figcaption></figure>

4. Choose your Collateral, enter the number you want to trade

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

5. Click on the leverage setting to open the leverage adjustment panel. Select your preferred leverage by moving the slider or manually entering a value. Click "Save" to confirm your selected leverage.

<figure><img src="/files/0NUUCmMIeNUbzCMaJOHo" alt=""><figcaption></figcaption></figure>

6. **Optional:** you can set your Take Profit (TP) and Stop Loss (SL) levels to manage your trade.

   Click the checkbox labeled "TP/SL" to enable these options. Then, enter your desired prices for both Take Profit and Stop Loss in the respective fields.

   <br>

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

7. Click Long and execute the order

<figure><img src="/files/0CvWGpkmXAsQqsYNxUZp" alt=""><figcaption></figcaption></figure>

This is the result of the executed trade.

<figure><img src="/files/1jPhSEZcfyskmpL3yfuT" alt=""><figcaption></figcaption></figure>

## Close a Position

1. Click on Close button here.

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

2. Enter the quantity you want to close and then click on Close Position Button&#x20;

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

{% hint style="info" %}
You can check the fees amount that you have to paid in the Fees section.
{% endhint %}

3. Confirm on your wallet. Now you have successfully closed your order.&#x20;

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

{% hint style="info" %}
You can check your collateral balance on the menu bar or on [Portfolio page.](https://app.yummy.fi/#/portfolio)
{% endhint %}
