Close all positions

Place closing orders for all open positions. Isn't guaranteed to close all positions, or close them immediately. Will attempt to place an IOC, then GTC closing order, so the execution might be delayed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Account identifier.

Query Params
int64

Instrument filter. If specified, only positions in this instrument will be closed.

string

Strategy ID

Headers
int32
required

Account number

string

developer-api-key

Responses

401

Unauthorized

403

Forbidden

404

Not Found

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