Close a Position

Close one open position in full at the current market price.

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

Ticket number of the position or order

Body Params

Close a position (full). comment is optional.

Responses

400

Rejected — market closed or the position is already closing

401

Invalid or missing API key

403

Access denied (credential scope)

404

Position not found

429

Rate limit exceeded

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