Messages
User
user.portfolio.(currency)
Real-time notifications for user portfolio information. This subscription provides comprehensive account and portfolio data for the specified currency, including balances, margins, profit and loss, and Greeks.
Each notification includes:
- Account balances: Current balance, equity, margin balance, available funds, and available withdrawal funds
- Margin information: Initial margin, maintenance margin, and projected margins
- Profit and Loss: Total P&L, session unrealized P&L (UPL), session realized P&L (RPL), and separate P&L for options and futures
- Options Greeks: Delta, gamma, theta, vega, and options value, with per-index mappings
- Position data: Delta total, projected delta total, and delta total map per index
- Account settings: Portfolio margining status, cross collateral status, and margin model
- Cross collateral data: Total equity, margins, and delta in USD (when cross collateral is enabled)
- Additional reserves: Fee balance and additional reserve information
When cross collateral is enabled, aggregated values are calculated by converting the sum of each cross collateral currency’s value to the given currency, using each cross collateral currency’s index.
Subscribe to a specific currency (BTC, ETH, USDC, USDT, etc.) or use any to receive portfolio updates for all currencies.
Documentation Index
Fetch the complete documentation index at: https://docs.deribit.com/llms.txt
Use this file to discover all available pages before exploring further.
Messages