> 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/faq/how-does-f-x-protocol-minimize-liquidations.md).

# How does f(x) Protocol minimize liquidations?

f(x) Protocol uses its rebalancing mechanism to minimize any risk of liquidation. This means scenarios where a sudden market drop that would normally liquidate your entire long position just before a rally are unlikely to occur. However, this doesn't eliminate the risk of losing money as leverage amplifies both potential gains and losses.

xTokens (v1): In highly extreme scenarios, leveraged xTokens could potentially lose all of their value. However, the protocol's primary goal is to prevent this. Multiple [Stability Mechanism](/fx-docs/more/f-x-protocol-1.0/stability-mechanism.md) are in place to ensure this doesn't happen.

xPOSITION (v2): If your position reaches a price level that would normally trigger liquidation on a regular perpetual exchange, it will instead be rebalanced to a different leverage level. While this operation incurs a small fee, it keeps you as much as possible exposed to the market, giving you a chance to recover. In extreme cases where the rebalancing operation fails, liquidation may occur to protect fxUSD's backing and peg. But there is a very small risk of this occurring.\
\
Learn more by following the link below.

{% content-ref url="/pages/pt4bciofk8iLypojK2zK" %}
[Rebalancing the Position (Liquidation Brake)](/fx-docs/f-x-protocol-mechanisms/rebalancing-the-position-liquidation-brake.md)
{% endcontent-ref %}


---

# 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/faq/how-does-f-x-protocol-minimize-liquidations.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.
