Skip to content

Interface: AdvTradeGlobalSimulatePortfolioResult ​

Properties ​

PropertyTypeDescription
additional_reserve?numberThe account's balance reserved for open buy option orders and option combo orders (the premium payable if they fill). Only non-zero on the cross_sm margin model; balance reserved by spot orders is reported separately in spot_reserve.
available_funds?numberFunds available to increase margin usage (open or enlarge positions). Equal to margin_balance - initial_margin, floored at 0 in the API response. When initial margin usage exceeds 100%, this is 0 and only reducing orders can be placed. 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_subaccount_transfer_funds?numberThe account's available funds for subaccount transfers
available_withdrawal_funds?numberFunds available to withdraw in the selected currency. Typically lower than available_funds because withdrawals also exclude positive session profit, locked balance, spot_reserve, additional_reserve, and non-withdrawable external/implied equity components. Always ≥ 0.
balance?numberThe account's cash balance in the selected currency (deposits, withdrawals, transfers, option premiums, settlements/deliveries, corrections, costs, and insurance refills). Does not include open futures PnL or options mark value.
cross_collateral_enabled?booleanWhen true cross collateral is enabled for user
currency?stringCurrency of the simulation
delta_total?numberThe 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?AdvTradeGlobalDeltaTotalMapMap of total deltas per index
equity?numberThe account's equity in the selected currency: balance + futures (session UPL + RPL) + options mark value (plus any external/implied equity). Related: margin_balance excludes options mark value under standard margin.
fee_balance?numberThe account's fee balance (it can be used to pay for fees)
futures_pl?numberFutures profit and loss
futures_session_rpl?numberFutures session realized profit and loss
futures_session_upl?numberFutures session unrealized profit and loss
initial_margin?numberThe 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.
locked_balance?numberThe account's locked balance
maintenance_margin?numberThe 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.
margin_balance?numberCollateral available against margin requirements. Under standard margin (SM): equity - options_value (cash balance plus futures session UPL and RPL). Under portfolio margin (PM): equal to equity on a segregated account, and equity - outstanding_loan_amount on a cross account. 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.
margin_model?stringName of user's currently enabled margin model
options_delta?numberSum of the deltas of all options positions. For inverse (coin-margined) options this is the Black-Scholes delta; for linear options it is the index-price-adjusted delta. Unlike account-level delta_total, the options mark value is not subtracted.
options_gamma?numberSum of options position gammas (Black-Scholes).
options_gamma_map?AdvTradeGlobalOptionsGammaMapMap of options' gammas per index
options_pl?numberOptions profit and loss
options_session_rpl?numberOptions session realized profit and loss
options_session_upl?numberOptions session unrealized profit and loss
options_theta?numberSum of the thetas of all options positions. Theta is expressed per day; for options with less than one day left to expiry it is scaled down to the fraction of a day remaining.
options_theta_map?AdvTradeGlobalOptionsThetaMapMap of options' thetas per index
options_value?numberMark value of all open options positions in the selected currency. Under standard margin, margin_balance = equity - options_value.
options_vega?numberSum of options position vegas (Black-Scholes).
options_vega_map?AdvTradeGlobalOptionsVegaMapMap of options' vegas per index
portfolio_margining_enabled?booleantrue when portfolio margining is enabled for user
projected_delta_total?numberThe sum of position deltas excluding positions that expire at the nearest expiration, so it shows the delta that will remain once those positions have expired. Calculated on the same Net Transaction Delta basis as delta_total, including delta decay during the settlement period.
projected_initial_margin?numberInitial margin calculated as if instruments expiring at the nearest expiration were excluded, so it shows the requirement that will remain once those instruments have expired. 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?numberMaintenance margin calculated as if instruments expiring at the nearest expiration were excluded, so it shows the requirement that will remain once those instruments have expired. 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_rpl?numberRealized profit and loss accrued in the current trading session (since the last daily settlement). Resets at each daily settlement.
session_upl?numberUnrealized profit and loss on open positions in the current trading session (since the last daily settlement).
spot_reserve?numberThe account's balance reserved in active spot orders
total_delta_total_usd?numberOptional (only for users using cross margin). The account's total delta total in all cross collateral currencies, expressed in USD
total_equity_usd?numberOptional (only for users using cross margin). The account's total equity in all cross collateral currencies, expressed in USD
total_initial_margin_usd?numberOptional (only for users using cross margin). The account's total initial margin in all cross collateral currencies, expressed in USD
total_maintenance_margin_usd?numberOptional (only for users using cross margin). The account's total maintenance margin in all cross collateral currencies, expressed in USD
total_margin_balance_usd?numberOptional (only for users using cross margin). The account's total margin balance in all cross collateral currencies, expressed in USD
total_pl?numberTotal profit and loss of all open positions since each position was opened (not limited to the current session). Differs from session_rpl + session_upl, which reset at daily settlement.

Built by Siebly. Open source SDKs for exchange APIs.