> For the complete documentation index, see [llms.txt](https://docs.imperial.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperial.trade/margin-and-risk/portfolio-margin.md).

# Portfolio Margin

How a real hedge lowers the margin a cross account needs.

Portfolio margin checks your whole cross account at once, so a real hedge lowers the margin you need to stay open.

It applies to cross margin only. It lowers your liquidation threshold, not what you need to open a position.

### Why it matters

Many assets move together. SOL and BTC, for example, typically have a correlation of about 0.7–0.85. If you are long SOL and short BTC, a market-wide move makes one leg lose while the other gains. A simple margin system ignores that and charges full maintenance on both legs. Imperial gives you credit for it.

### How it works

Every market belongs to a **group** with an anchor asset, and has a **loading**: how closely it tracks that anchor.

| Group           | Anchor | Members include                                                                 |
| --------------- | ------ | ------------------------------------------------------------------------------- |
| Crypto          | BTC    | ETH, SOL, XRP and other majors; crypto equities (COIN, MSTR, HOOD, CRCL); memes |
| US equities     | SPY    | US500, QQQ, mega-cap stocks                                                     |
| Precious metals | XAU    | PAXG, XAG, XPT, XPD                                                             |
| Oil             | WTI    | BRENTOIL                                                                        |
| FX              | EURUSD | GBPUSD, AUDUSD, NZDUSD; USDJPY, USDCAD and USDCHF (inversely)                   |

For a cross account, Imperial splits each position's maintenance margin into two parts:

* **The shared part** moves with its group. Shared parts of opposite positions cancel out.
* **The independent part** is the risk the group can't explain. It is always charged in full.

**The discount is capped, and your requirement never goes above the standard maintenance margin.** Markets outside any group (for example pre-IPO names, rates and NATGAS) are always charged in full.

#### Example

Long $10,000 SOL and short $10,000 BTC on cross margin. Say SOL's maintenance is $240 and BTC's is $120, so the standard requirement is **$360**. With SOL's loading at 0.8 to BTC:

* Shared part: 0.8 × $240 long SOL against 1.0 × $120 short BTC nets to **$72**.
* Independent part of SOL: √(1 − 0.8²) × $240 = **$144**.
* Portfolio requirement: $72 + $144 = **$216**, 40% less than the standard $360.

*Illustrative figures. Live loadings and maintenance rates differ by market.*

### Limits

* **Only real hedges earn credit.** Exposure in the same direction is never discounted.
* **Closing one leg of a hedge raises the margin on the rest**, which can move your liquidation price sharply.
* **Values are conservative and move slowly.** Correlations are measured daily from 30 days of hourly prices, then cut back by a safety haircut. Loadings are capped at 0.95 for majors, 0.70 for mid-caps and 0.50 for memes.

Correlations can break down in a crash. Portfolio margin assumes hedges keep behaving like hedges. It does not protect you if they stop.
