Close All Positions for an Account

Closes (liquidates) all of the account's open long and short positions. The 207 response contains one result per position: body is the closing Order when status is 200, otherwise the error describing why that position was not closed.

Path Params
uuid
required

Account identifier.

Query Params
boolean

If true is specified, cancel all open orders before liquidating all positions.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json