# Insurance pool

The insurance pool is a separate liquidity pool that earns protocol fees and liquidation penalties in return for system risk management. Currently, the insurance pool is accumulating liquidity at 50% of all trading fees collected by the platform.&#x20;

Governance can change this weight based on the information and considerations outlined in the risk management section.

The insurance pool is a liquidator of last resort: when there is not enough liquidity in the system, the pool steps up to liquidate risky positions. It receives up to a 5% profit margin by doing so. \
\
The amount of liquidity required to be held in the insurance pool can be efficiently measured when we calculate how much liquidity the system lacks under specific market stress scenarios.


---

# 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.marginly.com/risk-management/insurance-pool.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.
