# Liquidation

### When is liquidation triggered?

A position will be liquidated under either of the following conditions:

* The **market price** reaches the **liquidation price**.
* The **collateral becomes insufficient** to cover outstanding fees.

***

### How is the Liquidation Price calculated?

#### Long Position

Liquidation Price = Entry Price - (Collateral × Liquidation Loss Rate - Fees) ÷ Position Size (in Quantity)

#### Short Position

Liquidation Price = Entry Price + (Collateral × Liquidation Loss Rate - Fees) ÷ Position Size (in Quantity)

{% hint style="info" %}
Fees include: Close Fee, Holding Fee, and Funding Fee.

Liquidation Loss Rate = 85%

Position Size (in Quantity) = Initial Collateral × Leverage ÷ Entry Price
{% endhint %}

{% hint style="info" %}
A position will be liquidated once it has lost **85% or more of its value**.
{% endhint %}

#### Minimum Position Leverage

Positions with leverage below **1x** will be automatically closed.

This is a minimum leverage requirement and is separate from standard liquidation. Users should monitor their position leverage to avoid unexpected auto-closure.


---

# 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://leverup.gitbook.io/docs/trading/liquidation.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.
