> For the complete documentation index, see [llms.txt](https://learn.trovemarkets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.trovemarkets.com/risk/margin-calculations/isolated-margin-model.md).

# Isolated margin model

<figure><img src="/files/2Uy6pWvfJio1b5QXx9aa" alt=""><figcaption></figcaption></figure>

#### Key ratios

* IMR (Initial Margin Ratio):&#x20;
  * minimum collateral to open a position. With max 5× leverage, IMR = 20%.
* MMR (Maintenance Margin Ratio):&#x20;
  * collateral threshold below which liquidation begins (shown in the UI and may vary by market/volatility).

| Ratio   | What it means                                    | Trove default               |
| ------- | ------------------------------------------------ | --------------------------- |
| **IMR** | Minimum collateral to **open** a position        | **20%** (at 5×)             |
| **MMR** | Collateral threshold to **keep** a position open | **10%** of current notional |

***

### Account equity & requirements

```
Equity = Balance + Unrealized PnL − Fees ± Funding
IM Requirement = Σ (IMR_asset × Notional_asset)
MM Requirement = Σ (MMR_asset × Notional_asset)
```

* **Cross‑margin:** equity and requirements are computed at **account level** across all positions.
* **Health:** `Health = Equity − MM Requirement`. Liquidation starts when Health ≤ 0.

***

### Position health (isolated)

| Term                        | Plain meaning                                                |
| --------------------------- | ------------------------------------------------------------ |
| **Isolated margin**         | Collateral you posted to this **one** position               |
| **Unrealized PnL**          | Running PnL from entry to current mark                       |
| **Maintenance requirement** | 10% of **current** position notional                         |
| **Liquidation condition**   | If margin buffer drops **below** the maintenance requirement |

<div align="left"><figure><img src="/files/9LUuuT2FfV9jA4fQ77hJ" alt=""><figcaption></figcaption></figure></div>

**What improves health**

* Adding margin
* Reducing position size
* Price moving in your favor

***

### Safeguards & limits

#### Open Interest caps (per asset)

| Cap type            | Setting                      | Notes                                                |
| ------------------- | ---------------------------- | ---------------------------------------------------- |
| **Notional OI cap** | **$1,000,000** (initial)     | New opens rejected at the cap                        |
| **Size OI cap**     | **1,000,000,000** base units | With `szDecimals=2` → **10,000,000** units effective |

#### Price-safety rails (engine-level)

| Rail                  | Setting                                                         | Purpose                             |
| --------------------- | --------------------------------------------------------------- | ----------------------------------- |
| **Daily price limit** | **±10×** from start-of-day                                      | Blocks absurd prints                |
| **Per-update bound**  | **±1%** mark change per \~**3s** update                         | Smooths paths; \~20%/min linear     |
| **OI-adjusted bound** | Mark cannot jump to levels that would exceed **10×** the OI cap | Prevents cascade risk               |
| **Emergency halt**    | `haltTrading` available                                         | Pause a specific market in extremes |


---

# 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://learn.trovemarkets.com/risk/margin-calculations/isolated-margin-model.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.
