API documentation
Client → serverAuthentication: Required
SwitchAccount()
Parameters
account
string
Request payload example
{
"accountId": 1001
}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.