# Liquidation

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

Hey there, awesome trader! 🌟 Let’s chat about liquidations in a fun way! Picture this: when you dive into a BTC long position that's bigger than your collateral, watch out! There’s a sneaky price point lurking where your losses could sneak up and almost match your collateral, putting you right on the edge of liquidation.

Stay sharp and keep your trading game strong! 🚀💰

* **What’s the Liquidation Price?**

Think of the Liquidation Price as the point of no return.&#x20;

It’s the price where: **Collateral - Losses - Fees**, dips below a certain percentage (between 0.4% and 1% of your position size), depending on market vibes and pool settings.

If the token's price crosses this line, it’s game over, and your position will be automatically closed. Yikes!&#x20;

* **How Do We Calculate This?**

The Liquidation Price is based on the oracle price—no sneaky price impacts included! When liquidation hits, the actual price impacts come into play to close the position. So, keep your eyes peeled!

* **Keep an Eye on Your Liquidation Price!**

Your liquidation price isn’t a set-it-and-forget-it kind of deal. If you’re rocking leverage greater than 5x and your position is open longer than your last Netflix binge, you need to keep tabs on it!

* **Boosting Your Collateral**

Want to lower your risk? You can add more collateral by hitting the "Collateral" button on your position row. This is like giving your position a little insurance boost!

* **What Happens When You Get Liquidated?**

If your position goes kaput, don’t worry too much! Any leftover collateral (after losses and fees are deducted) will be returned to your account. It’s like getting a consolation prize!&#x20;

* **Special Liquidation Fees**

Oh, and here’s a fun tidbit: in some selected markets, open/close fees are slashed to 0.045%! But if liquidation happens, there’s a tiny fee of 0.2% based on the position size. So, keep that in mind!

Now that you’re armed with this knowledge, go forth and trade wisely!&#x20;

### 💸 Fees and Rebates: What to Expect!

#### Open / Close Fees

Let’s break it down, trader! When you open a position, there’s a tiny trading fee of just 0.05% of the position size. 🎉 Closing it? Yep, that’s another 0.05% fee! This applies whether you’re boosting your existing position or partially taking some profits off the table.

Keep these little fees in mind as you trade, and let’s make those profits shine! ✨💰

<br>


---

# 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.dexfun.io/dexfun/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.
