Get Positions

get
Query parameters
collateralIdstringRequired

Collateral identifier

Example: USDC
marketIdstringOptional

Market Identifier

Example: BTCUSDC
limitnumberOptional

Limit for the result set

Default: 25Example: 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