> For the complete documentation index, see [llms.txt](https://twister-finance.gitbook.io/twisterfinance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://twister-finance.gitbook.io/twisterfinance/getting-started/liquidation.md).

# Liquidation

**Borrow Limit** is the maximum amount that a user can borrow based on the value of their deposited collateral and the available liquidity. It is calculated based on the user's Borrow Utilization, which represents the proportion of the total deposited collateral against the total value of the borrowed assets. When the user's Borrow Utilization reaches 100%, a liquidation event occurs, and the user's borrowed position exceeds the Borrow Limit.

To help users assess their risk of liquidation, Borrow Utilization is presented as a percentage. Borrow Utilization percentages of less than 75% are relatively safe, while Borrow Utilization between 75% to 90% requires closer attention to the user's positions. When Borrow Utilization is between 90% to 95%, the user should improve their Borrow Utilization to avoid liquidation. Borrow Utilization exceeding 95% is considered high risk.

Liquidation occurs when a borrower's borrowed asset amount surpasses the Borrow Limit, indicating that the collateral provided does not cover the borrowed amount. This may happen due to changes in the value of the borrowed or supplied asset, and users should remain vigilant in anticipating market fluctuations. In a liquidation event, liquidators seize the available collateral from accounts that cross the Liquidation Threshold and execute market transactions to repay the borrower's debt, taking a fee in the process.

**Collateral Ratio** is the percentage of an asset that can be treated as collateral. Stablecoins usually have higher collateral ratios, such as 85%, while more volatile assets like BTC have lower collateral ratios, such as 75%. A user can borrow up to the product of an asset's value and its collateral ratio.

**Liquidation Threshold** is slightly higher than an asset's collateral ratio. If a user's borrows exceed the sum of the product of each deposited asset's price and liquidation threshold, then they become eligible for liquidation.


---

# 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://twister-finance.gitbook.io/twisterfinance/getting-started/liquidation.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.
