Position

Get Position Info

Changed on

Query real-time position data, such as position size, cumulative realized PNL, etc.

get/api/v1/position/list

Request

Query parameters

sub_account_addressstring required

Trading vault address (subaccount) to query against.

symbolstring
Example:BTC-USDCx
limitinteger nullable
cursorstring nullable

Response

Positions

next_page_cursorstring required

Cursor. Use the next_page_cursor token from the response to retrieve the next page of the data set

Example response

{
  "list": [
    {
      "created_time": "1672531200000",
      "leverage_sys_updated_time": "1672531200000",
      "mmr_sys_update_time": "1672531200000",
      "symbol": "BTC-USDCx",
      "updated_time": "1672531200000"
    }
  ]
}

Changes