Close All Positions

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.

Query Params
boolean

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

Responses

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