> For the complete documentation index, see [llms.txt](https://docs.rate-x.io/ratex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rate-x.io/ratex/getting-started/yield-trading/yield-trading-guide.md).

# Yield Trading Guide

{% embed url="<https://youtu.be/XSWEV1K2QJQ>" %}

Open Positions

1. Choose Trading Direction

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

2. Input Margin or YT Amount

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

3. Input Leverage.

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

4. Click TRADE button.

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

## Close Positions

### Click CLOSE Button from Positions

1. Click the CLOSE button of  the position to be closed from the Position Panel.

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

2. Select the position percentage to be closed.

<figure><img src="/files/2KKw3yBMySROkSwwFAy9" alt="" width="375"><figcaption></figcaption></figure>

3. Click CLOSE.

## Deposit/Withdraw Margins

Click the Deposit/Withdraw button of  the position from the Position Panel.

<figure><img src="/files/6VHOHVABsMiz8c4iUnkn" alt=""><figcaption></figcaption></figure>
