Get Positions
get
Query parameters
collateralIdstringRequiredExample:
Collateral identifier
USDC
marketIdstringOptionalExample:
Market Identifier
BTCUSDC
limitnumberOptionalDefault:
Limit for the result set
25
Example: 25
Responses
200Success
application/json
get
GET /v1/private/positions?collateralId=text HTTP/1.1
Host:
Accept: */*
200Success
[
{
"marketId": "text",
"direction": "LONG",
"avgExecutionPrice": 1,
"size": 1,
"marginAmount": 1,
"borrowedAmount": 1,
"leverage": 1,
"realizedPnl": 1,
"liquidationPrice": 1,
"maintenanceMargin": 1
}
]
Last updated