PositionResp
Margin mode of the position (e.g. CROSS or ISOLATED).
Possible values: [CROSS, SPOT, ISOLATED, LEAD, COPY, ALL]
Average entry price of the position.
Latest mark price used to value the position.
Market symbol of the position (e.g. BTC-PERP).
Side of the position (BUY for long, SELL for short).
Possible values: [BUY, SELL]
Notional value of the position, in the settlement currency.
Asset used to settle PnL and fees for this position.
Unrealized profit or loss at the latest mark price.
Total maintenance margin currently required for the position.
Position size, in contracts.
Estimated liquidation price based on the current margin and mark price.
Isolated leverage configured on the position; only applicable in isolated margin mode.
Server timestamp of the position snapshot, in milliseconds since epoch.
takeProfitOrder object
Take-profit trigger currently attached to the position, if any.
Possible values: [BUY, SELL]
stopLossOrder object
Stop-loss trigger currently attached to the position, if any.
Possible values: [BUY, SELL]
Position mode: ONE_WAY (net position) or HEDGE (independent long and short positions).
Possible values: [ONE_WAY, HEDGE, ISOLATED]
Position direction in hedge mode (LONG or SHORT).
Possible values: [LONG, SHORT]
Unique identifier of the position.
Name of the wallet holding the position.
Effective leverage currently applied to the position.
Minimum initial margin required to hold the position at its current size.
{
"marginType": "CROSS",
"entryPrice": 0,
"markPrice": 0,
"symbol": "string",
"side": "BUY",
"notionalValue": 0,
"settleWithAsset": "string",
"unrealizedProfitLoss": 0,
"totalMaintenanceMargin": 0,
"size": 0,
"liquidationPrice": 0,
"isolatedLeverage": 0,
"timestamp": 0,
"takeProfitOrder": {
"orderId": "string",
"side": "BUY",
"triggerPrice": 0,
"triggerUseLastPrice": true
},
"stopLossOrder": {
"orderId": "string",
"side": "BUY",
"triggerPrice": 0,
"triggerUseLastPrice": true
},
"positionMode": "ONE_WAY",
"positionDirection": "LONG",
"positionId": "string",
"walletName": "string",
"currentLeverage": 0,
"minimumRequiredMargin": 0
}