# 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>


---

# 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.rate-x.io/ratex/getting-started/yield-trading/yield-trading-guide.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.
