Skip to main content
Messages
currency
type:enum
required

Currency code or any for all

Allowed values: BTC, ETH, USDC, USDT, EURR, any

Available options: BTC, ETH, USDC, USDT, EURR, any
Subscription Request
type:object

Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.

Subscription Notification Data
type:object

Server sends subscription notification data

data
type:object
required
currency
type:string
required

The selected currency

equity
type:number
required

The account's current equity

maintenance_margin
type:number
required

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
required

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.

available_funds
type:number
required

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.

available_withdrawal_funds
type:number
required

The account's available to withdrawal funds

balance
type:number
required

The account's balance

fee_balance
type:number

The account's fee balance (it can be used to pay for fees)

margin_balance
type:number
required

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.

session_upl
type:number
required

Session unrealized profit and loss

session_rpl
type:number
required

Session realized profit and loss

total_pl
type:number
required

Profit and loss

options_pl
type:number
required

Options profit and Loss

options_session_rpl
type:number
required

Options session realized profit and Loss

options_session_upl
type:number
required

Options session unrealized profit and Loss

options_delta
type:number
required

Options summary delta

options_gamma
type:number
required

Options summary gamma

options_theta
type:number
required

Options summary theta

options_value
type:number
required

Options value

options_vega
type:number
required

Options summary vega

futures_pl
type:number
required

Futures profit and Loss

futures_session_rpl
type:number
required

Futures session realized profit and Loss

futures_session_upl
type:number
required

Futures session unrealized profit and Loss

delta_total
type:number

The sum of position deltas.

DeltaTotal = Net Transaction Delta of options + BTC Position of Futures

The DeltaTotal uses the Net Transaction Delta (or price adjusted Delta) of the options, where Net Transaction Delta = Black Scholes Delta - Mark Price of Options.

This is because, from a risk perspective, we are interested in the change in Bitcoin price as the underlying changes.

You should actually treat your delta as Equity + Delta Total if you want to have less risk for your USD PnL.

⚠️ During the 30 minute settlement period we decay your Delta. See Delta decay during settlement for more details.

delta_total_map
type:object
required

Map of position sum's per index

options_gamma_map
type:object
required

Map of options' gammas per index

options_theta_map
type:object
required

Map of options' thetas per index

options_vega_map
type:object
required

Map of options' vegas per index

projected_delta_total
type:number
required

The sum of position deltas without positions that will expire during closest expiration

portfolio_margining_enabled
type:boolean
required

When true portfolio margining is enabled for user

cross_collateral_enabled
type:boolean
required

When true cross collateral is enabled for user

margin_model
type:string
required

Name of user's currently enabled margin model

total_equity_usd
type:number

Optional (only for users using cross margin). The account's total equity in all cross collateral currencies, expressed in USD

total_initial_margin_usd
type:number

Optional (only for users using cross margin). The account's total initial margin in all cross collateral currencies, expressed in USD

total_maintenance_margin_usd
type:number

Optional (only for users using cross margin). The account's total maintenance margin in all cross collateral currencies, expressed in USD

total_margin_balance_usd
type:number

Optional (only for users using cross margin). The account's total margin balance in all cross collateral currencies, expressed in USD

total_delta_total_usd
type:number

Optional (only for users using cross margin). The account's total delta total in all cross collateral currencies, expressed in USD

projected_initial_margin
type:number

Projected 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.

projected_maintenance_margin
type:number
required

Projected 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.

estimated_liquidation_ratio
type:number

[DEPRECATED] Estimated Liquidation Ratio is returned only for users with segregated_sm margin model. Multiplying it by future position's market price returns its estimated liquidation price. Use estimated_liquidation_ratio_map instead.

estimated_liquidation_ratio_map
type:object

Map of Estimated Liquidation Ratio per index, it is returned only for users with segregated_sm margin model. Multiplying it by future position's market price returns its estimated liquidation price.

additional_reserve
type:number

The account's balance reserved in other orders