Deribit · Schema

Currency Portfolio

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
margin_balance number The account's margin balance. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cr
currency string The selected currency
maintenance_margin number The maintenance margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross co
initial_margin number The account's initial margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cr
equity number The account's current equity
balance number The account's balance
available_withdrawal_funds number The account's available to withdrawal funds
available_funds number The account's available funds. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each c
additional_reserve object
spot_reserve number The account's balance reserved in active spot orders
View JSON Schema on GitHub

JSON Schema

currency_portfolio.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/currency_portfolio.json",
  "title": "Currency Portfolio",
  "properties": {
    "margin_balance": {
      "type": "number",
      "description": "The account's margin balance. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "currency": {
      "type": "string",
      "enum": [
        "btc",
        "eth"
      ],
      "description": "The selected currency"
    },
    "maintenance_margin": {
      "type": "number",
      "description": "The maintenance margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "initial_margin": {
      "type": "number",
      "description": "The account's initial margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "equity": {
      "type": "number",
      "description": "The account's current equity"
    },
    "balance": {
      "type": "number",
      "description": "The account's balance"
    },
    "available_withdrawal_funds": {
      "type": "number",
      "description": "The account's available to withdrawal funds"
    },
    "available_funds": {
      "type": "number",
      "description": "The account's available funds. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "additional_reserve": {
      "$ref": "#/components/schemas/additional_reserve"
    },
    "spot_reserve": {
      "type": "number",
      "description": "The account's balance reserved in active spot orders"
    }
  },
  "required": [
    "margin_balance",
    "currency",
    "maintenance_margin",
    "initial_margin",
    "equity",
    "balance",
    "available_withdrawal_funds",
    "available_funds",
    "additional_reserve",
    "spot_reserve"
  ],
  "type": "object"
}