Close All Trades

Close all trades for a trading account.

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

Trading account number (login ID)

Body Params

Request model for closing trades on an account

boolean
Defaults to true

Whether to close open positions (default: true)

boolean
Defaults to true

Whether to cancel pending orders (default: true)

Responses

400

Invalid request parameters

401

Invalid or missing API key

403

Access denied (CRM token company scope)

404

Account not found

429

Rate limit exceeded

500

Backend server error

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