> For the complete documentation index, see [llms.txt](https://docs.bitu.io/bitu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bitu.io/bitu/project-design/omni-trading-hub/margin-health.md).

# Margin Health

In leveraged trading, maintaining the health of the margin in your account is crucial. To effectively minimize risks and avoid liquidation, BitU employs the uniMMr (Unified Margin Maintenance Ratio) as a key risk management indicator. uniMMr is used to measure whether a user's assets are sufficient to support their leveraged positions, acting as the core benchmark for account risk management.

## What is uniMMr?

uniMMr (Unified Margin Maintenance Ratio) is the ratio of the available margin in an account to the maintenance margin. A higher uniMMr indicates lower account risk, while a lower uniMMr suggests higher risk, possibly leading to liquidation. The calculation formula is as follows:

```
uniMMr = Effective Margin / Maintenance Margin 
```

Where:

```
Effective Margin = Total Margin Value - Margin Loss
```

By calculating uniMMr, BitU can assess in real-time whether users have sufficient funds to maintain their leveraged trades, ensuring timely risk controls during market fluctuations.

## Risk Management Measures

Based on different uniMMr levels, the platform will implement a range of measures to help users manage risk effectively:

| 150% < uniMMR < 200% | MARGIN CALL  |
| -------------------- | ------------ |
| 120% < uniMMR < 150% | CANCEL\_ALL  |
| 105% < uniMMR < 120% | REDUCE\_ONLY |
| 100% < uniMMR < 105% | RESTRICTION  |
| uniMMR < 100%        | LIQUIDATED   |


---

# 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:

```
GET https://docs.bitu.io/bitu/project-design/omni-trading-hub/margin-health.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.
