# Automatic leveraging of PnL across instruments

Even in the basic token-matched case above, $REYA unlocks capital efficiency by automatically leveraging all PnL into a user’s balance. In practice, this means that all PnL is automatically part of a user’s balance. Explanation of all terms follows below:

$$Bal\_T = \mathrm{netDeposits}\_T + \mathrm{realizedPnL}\_T + \mathrm{unrealizedPnL}\_T$$

This feature is sometime known as cross-margining, although the term is more appropriately used for offsetting of margin requirements, also offered in Reya as explained below.

One consequence is that gains from any position can offset losses in other positions, an in particular hedged positions have their PnL reflect their hedging. Furthermore, any PnL that accrues beyond the initial margin requirement can be used and truly leverage into new positions. All of this is essential to incentivize liquidity provision, since LPs accumulate large hedged portfolios and the PnL leveraging reflects that. It is also a big incentive for traders, of course.

The following diagram illustrates the automatic leveraging of PnL when instruments are separately margined with a single margin account.

<figure><img src="/files/cHY1BDb0XwRnfEic1IK6" alt=""><figcaption></figcaption></figure>


---

# 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.reya.xyz/trading/automatic-leveraging-of-pnl-across-instruments.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.
