API documentation
Client → serverAuthentication: Required
ClosePosition()
Parameters
instrument
string
Hub return type
Task
The invoke completes when the server accepts the request. Portfolio, trade, and status updates are pushed asynchronously on the client events below.