Skip to content

Interface: AdvTradeGlobalPosition ​

Extended by ​

Properties ​

PropertyTypeDescription
average_pricenumberAverage price of trades that built this position
average_price_usd?numberOnly for options, average price in USD
deltanumberDelta parameter
directionAdvTradeGlobalPositionDirectionDirection: buy, sell or zero
floating_profit_lossnumberFloating profit or loss
floating_profit_loss_usd?numberOnly for options, floating profit or loss in USD
gamma?numberOnly for options, Gamma parameter
index_pricenumberCurrent index price
initial_marginnumberInitial margin
instrument_namestringUnique instrument identifier
interest_value?numberValue used to calculate realized_funding (perpetual only)
isolated?booleanFlag indicating whether the position is held by an isolated margin subaccount. Present and true on isolated positions only.
kindAdvTradeGlobalKindInstrument kind: "future", "option", "spot", "future_combo", "option_combo"
leverage?numberCurrent available leverage for future position
main_uid?numberUser identifier for the owning main account. Present on isolated positions only.
maintenance_marginnumberMaintenance margin
mark_pricenumberCurrent mark price for position's instrument
realized_funding?numberRealized Funding in current session included in session realized profit or loss, only for positions of perpetual instruments
realized_profit_lossnumberRealized profit or loss
settlement_pricenumberOptional (not added for spot). Last settlement price for position's instrument 0 if instrument wasn't settled yet
sizenumberPosition size for futures size in quote currency (e.g. USD), for options size is in base currency (e.g. BTC)
size_currency?numberOnly for futures, position size in base currency
theta?numberOnly for options, Theta parameter
total_profit_lossnumberProfit or loss from position
user_idnumberUnique user identifier
vega?numberOnly for options, Vega parameter

Built by Siebly. Open source SDKs for exchange APIs.