> For the complete documentation index, see [llms.txt](https://fxprotocol.gitbook.io/fx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fxprotocol.gitbook.io/fx-docs/guides/how-to-add-reduce-a-leverage-position.md).

# How to add/reduce a leverage position?

Adding up or reducing an xPOSITION is as easy as creating or closing one.

You can create as many xPOSITION as you want; they will all be aggregated into a single global one.

For example, suppose you create a first xPOSITION with a 2x leverage worth $10,000 and a second xPOSITION with a 4x leverage worth $10,000. In that case, you will end up with a $20,000 xPOSITION with a 3x leverage (assuming you opened them simultaneously with the same execution price).\
\
Now, let’s see how to do that practically.<br>

### How to add to a leverage position

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

* Head over to the [Trade](https://fx.aladdin.club/v2/trade) page.
* If not already, hit the “Buy / Open” tab.
* Connect your wallet using the upper right “Connect Wallet” button.
* Input the amount you would like to leverage. The default asset is USDC; you can pledge other assets by clicking the down arrow.![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcBj1aKjTd-0vKRw_o2XjN1e1tA7TZcc2pmEltj0TqVVFvowotyuNk7jrOixaOay1vG07fukskGcQAfbKOGjN6OKzuBSzK1IFOIS3Vp8Q68NmGDEA7VGrAf8WgjqKk_9I7JPOa_NA?key=GA1o45aLKYw_edI6IcXZgMv2)
* Set the requested leverage using the slider bar and wait for the preview to load.
* Hit the Preview button to review your trade.
* Review your trade and the evolution of your xPOSITION, then click the “Submit Transaction” button when ready.
* Confirm the transaction using your wallet.

### How to reduce a leverage position

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

* Head over to the [Trade](https://fx.aladdin.club/v2/trade) page.
* Connect your wallet using the upper right “Connect Wallet” button.
* Click on the “Sell / Close” tab of the order box.
* Slide the bar to the desired amount / Type the amount or the percentage in the text box you would like to close.
* Hit the Preview button to review your trade.
* Review your trade and the evolution of your xPOSITION, then click the “Submit Transaction” button when ready.
* Confirm the transaction using your wallet.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://fxprotocol.gitbook.io/fx-docs/guides/how-to-add-reduce-a-leverage-position.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
