Close Position
You can close a Position for a specific Trading Account using this endpoint. It is also possible to close multiple positions with one request.
Header Parameters
Authorizationstring
Body Parameters
systemUuidstring Required
The unique identifier for the system where the trading account is located; required to specify the system context.
loginstring Required
The login identifier for the Trading Account from which positions are to be closed; required.
closePositionsarray Required
Show child attributes
Response
200
Object
OK
Response Attributes
statusstring
The outcome of the request to close positions
Enum values:
OKREJECTEDPARTIAL_SUCCESSorderIdstring
A unique identifier for the transaction or order associated with the closure of the positions
Was this section helpful?
What made this section unhelpful for you?
Response
Was this section helpful?