# Exposure vs Allocation

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

Exposure and allocation are related but distinct concepts in RAX.

***

#### Defining the Difference <a href="#id-994cdaa8-8845-4b56-829b-ee1e20ee08e1" id="id-994cdaa8-8845-4b56-829b-ee1e20ee08e1"></a>

**Allocation** is the intended distribution of capital — the target percentages assigned to each protocol or strategy by the allocation engine or user.

**Exposure** is the actual distribution of capital at any given moment. It may differ from the allocation due to market movements, yield changes, deposits or withdrawals in underlying protocols, or timing between rebalances.

The gap between allocation and exposure is what triggers rebalancing. When the deviation exceeds the mandate's rebalance threshold, the system proposes bringing exposure back in line with the target allocation.

***

#### Why the Distinction Matters <a href="#id-3cf28197-e396-4707-ad03-5d3aea1cd4db" id="id-3cf28197-e396-4707-ad03-5d3aea1cd4db"></a>

In traditional finance, allocation and exposure are often treated as the same thing. In DeFi, they can diverge significantly between rebalances because underlying positions shift in value continuously.

A portfolio allocated 30% to Aave may drift to 35% exposure if Aave positions appreciate faster than others. This drift changes the risk profile even though no deliberate action was taken.

RAX monitors this drift continuously and uses the deviation as a key input to the rebalancing decision.

***

#### Exposure Dimensions <a href="#id-3d29b08a-b399-4b89-a15e-5be59db9a403" id="id-3d29b08a-b399-4b89-a15e-5be59db9a403"></a>

RAX tracks exposure across three dimensions:

* **Protocol exposure** — percentage of capital in each protocol (Aave, Compound, Uniswap, Aerodrome, etc.)
* **Asset class exposure** — distribution across stablecoins, volatile assets, and liquidity pool positions
* **Chain exposure** — distribution across networks (currently Base; multi-chain is planned)

Concentration risk is measured using the Herfindahl-Hirschman Index (HHI). A higher HHI indicates a more concentrated portfolio, which increases the concentration risk component of the overall Risk Score.

***

#### How Exposure Informs Decisions <a href="#id-4439646a-f6be-41d5-8377-a8abe6a84bab" id="id-4439646a-f6be-41d5-8377-a8abe6a84bab"></a>

High concentration in a single protocol or asset class creates dependency risk. If that protocol experiences a vulnerability or liquidity event, a concentrated portfolio suffers disproportionately.

The allocation engine uses exposure data to avoid proposing allocations that would increase concentration beyond mandate limits. The mandate's `maxProtocolExposure` parameter directly caps how much any single protocol can represent in the portfolio.


---

# 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.raxprotocol.xyz/concepts/exposure-vs-allocation.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.
