v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-2856132182.6 KB
Position

Get Closed PnL

Query user's closed profit and loss records

get/api/v1/position/closed-pnl

Query parameters

sub_account_addressstring required
symbolstring
Example:BTCUSDC
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": "BTCUSDC",
      "updated_time": "1672531200000"
    }
  ]
}