Interface: AdvTradeGlobalPosition
Extended by
Properties
| Property | Type | Description |
|---|---|---|
average_price | number | Average price of trades that built this position |
average_price_usd? | number | Only for options, average price in USD |
delta | number | Delta parameter |
direction | AdvTradeGlobalPositionDirection | Direction: buy, sell or zero |
floating_profit_loss | number | Floating profit or loss |
floating_profit_loss_usd? | number | Only for options, floating profit or loss in USD |
gamma? | number | Only for options, Gamma parameter |
index_price | number | Current index price |
initial_margin | number | Initial margin |
instrument_name | string | Unique instrument identifier |
interest_value? | number | Value used to calculate realized_funding (perpetual only) |
isolated? | boolean | Flag indicating whether the position is held by an isolated margin subaccount. Present and true on isolated positions only. |
kind | AdvTradeGlobalKind | Instrument kind: "future", "option", "spot", "future_combo", "option_combo" |
leverage? | number | Current available leverage for future position |
main_uid? | number | User identifier for the owning main account. Present on isolated positions only. |
maintenance_margin | number | Maintenance margin |
mark_price | number | Current mark price for position's instrument |
realized_funding? | number | Realized Funding in current session included in session realized profit or loss, only for positions of perpetual instruments |
realized_profit_loss | number | Realized profit or loss |
settlement_price | number | Optional (not added for spot). Last settlement price for position's instrument 0 if instrument wasn't settled yet |
size | number | Position size for futures size in quote currency (e.g. USD), for options size is in base currency (e.g. BTC) |
size_currency? | number | Only for futures, position size in base currency |
theta? | number | Only for options, Theta parameter |
total_profit_loss | number | Profit or loss from position |
user_id | number | Unique user identifier |
vega? | number | Only for options, Vega parameter |