# Cross Margin

### Debt

In cross-margin mode, the portfolio account allows traders to open and close positions even when they don't meet the capital requirement, as long as the total unrealized profit and loss exceed the amount and the fees required to open or close a position. The required value is stored in the portfolio status as debt and will be reduced from portfolio assets under specific conditions such as:

* Closing profitable positions
* Expiration of option positions
* The portfolio is liquidatable
* Additional assets deposited into the account

Trading on margin offers flexibility in trading by:

* Minimizing capital requirements to trade due to the necessity to provide only the maintenance margin to keep the position opened.
* Reduce liquidation risks through the ability to cover losing positions using the portfolio’s assets
* Utilizing unrealized profits in the portfolio account to open extra additional positions
* Enabling the creation of complex strategies involving different option positions

### Unrealized Profit and Loss

Unrealized profits and losses of the trading portfolio are stored within each account, affecting the account value calculation. This architecture will allow IVX to support cross-margin accounting between opened positions, facilitating the offsetting of profits and losses to reduce margin requirements, and protect from liquidation events. In addition, traders can leverage cross-margin to perform complex strategies with exotic payoff positions as it can free more capital to be used on other trades.

**Cross margin factor = 0.4 (0.4\*unPNL will be calculated in your account to open more trades on cross margin)**


---

# 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://documentation.ivx.fi/images-and-media/markdown.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.
