Position

Query user's closed profit and loss records

get/api/v1/position/closed-pnl

Request

Query parameters

sub_account_addressstring required
symbolstring
Example:BTC-USDCx
start_timestring date-time nullable
end_timestring date-time nullable
limitinteger nullable
cursorstring nullable

Response

Closed PnL

next_page_cursorstring required

Example response

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

Changes