# Overview

**TL;DR**\
OLP price moves from two things: **fees** and **trader PnL**.\
What hits OLP—and when—depends on the vault’s **state**:

* **Undercollateralized (UC, c-ratio < 100%)** → OLP is direct counterparty to net trader PnL (more volatile, higher fee capture).
* **Overcollateralized (OC, c-ratio ≥ 100%)** → the **Buffer** takes first PnL; OLP only accrues opening fees (more stable).

> **Daily Settlements:** Rollover & liquidation fees and trader PnL settle **once per day**. Opening fees accrue **continuously** (per trade open).

***

### What affects OLP price?

**Fees**

* **Opening fees** — 30% to OLP, **continuous** (each order open).
* **Rollover fees** — 100% to OLP in **UC**, **end-of-epoch**.\
  \&#xNAN;*(Applied on non-crypto pairs to keep positions open.)*
* **Liquidation rewards** — 100% to OLP in **UC**, **end-of-epoch**.

**Trader PnL**

* **UC:** Net trader PnL (since prior epoch) flows to OLP at **end-of-epoch** (price can gap up or down).
* **OC:** Net trader PnL accrues to the **Buffer**, not OLP.

***

### Fees and Cadence by State

<table><thead><tr><th width="182.984375">State</th><th width="265.52734375">Accrues continuously (real-time)</th><th>Accrues at daily settlement</th></tr></thead><tbody><tr><td><strong>UC (c-ratio &#x3C; 100%)</strong></td><td><strong>30% Opening fees → OLP</strong></td><td><strong>100% Liquidations → OLP</strong><br><strong>100% Rollover → OLP</strong><br><strong>± Trader PnL → OLP</strong></td></tr><tr><td><strong>OC (c-ratio ≥ 100%)</strong></td><td><strong>30% Opening fees → OLP</strong></td><td></td></tr></tbody></table>

***

### On-chain formulas (current contracts)

* **OLP Price**\
  `price = 1 + accRewardsPerToken - (accPnlPerTokenUsed > 0 ? accPnlPerTokenUsed : 0)`
* **Collateralization Ratio (c-ratio)**\
  `c_ratio = (1 + accRewardsPerToken - accPnlPerTokenUsed) / (1 + accRewardsPerToken)`

**Accrual variables**

* `accRewardsPerToken += (30% of opening fees) / OLP_supply` *(updates per order open — continuous)*
* `accPnlPerToken += (traderPnL - liquidation - rollover) / OLP_supply` *(updates at daily settlement)*
* `accPnlPerTokenUsed` is the value of `accPnlPerToken` actually applied to OLP price per state logic above.

***

### Interacting with the vault

* **Deposit** → USDC enters vault immediately; converts to OLP at the next daily settlement (0-24 hours). Click Redeem to move OLP to your wallet. Cancelable before settlement.
* **Unlock** (after lock ends) → burn LOLP, receive ERC-20 OLP (Existing locked deposits only — new locks are no longer available).
* **Request withdraw** → submit at any time; processes at the settlement after the next one (24-48 hours). Cancelable before processing. You must Redeem settlement to receive USDC in your wallet.&#x20;
* **Withdraw (redeem)** → burn OLP for USDC once request matures (24-48 hours after submission).

For more information about [deposit](/ostium-docs/vault/deposit.md) and [withdraw](/ostium-docs/vault/withdraw.md).

***

### Metrics to watch

Consult real-time metrics on [Dune](https://dune.com/ostium_app/stats) dashboard.

* **OLP Price** — primary performance metric.
* **TVL** — `OLP price × outstanding OLP`.
* **APR / historical fees** — realized fee yield; forecasts help frame expected APY.
* **c-ratio** — determines UC vs OC state.


---

# 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://ostium-labs.gitbook.io/ostium-docs/vault/overview.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.
