Glossary and Formulae
Canonical terms and formulas used across OBSDN docs
- Index Price: aggregated spot reference price derived from external oracle sources; baseline for mark price, funding, and risk calculations
- Mark Price: manipulation-resistant fair-value estimate computed from index price, funding rate, and order-book data; used for margin evaluation, PnL, and liquidation triggers
- IM (Initial Margin): collateral required to open or increase a position
- MM (Maintenance Margin): minimum collateral required to maintain a position before liquidation is triggered
- Collateral Ratio (Haircut): discount factor applied to a non-USDC asset's market value when computing its contribution to usable collateral (USDC ratio = 1.0)
- OI Cap: per-market open-interest ceiling; risk-increasing orders are rejected when aggregate open interest reaches this limit
- Bankruptcy Price: the price at which account equity reaches zero for the relevant position set; defines the boundary between insured loss and socialized loss
- ADL (Auto-Deleveraging): forced counterparty reduction triggered when liquidation losses exceed insurance fund and backstop capacity
Mark Price=Median(P1,P2,Last Traded Price)
Funding Payment=Position Size×Mark Price×Funding Rate
Unrealized PnL=(Mark Price−Entry Price)×Size
Unrealized PnL=(Entry Price−Mark Price)×Size
New Entry=Qexisting+Qnew(Qexisting×Pexisting)+(Qnew×Pnew)
IM Requirement=i∑(Notionali×IM Ratei)
MM Requirement=i∑(Notionali×MM Ratei)
Collateral Valuei=Market Valuei×Collateral Ratioi