OESwitchAccountRequest

Note

For a more in depth documentation, you should check the comments from the protobuf file.

Purpose

Used for handle switching between accounts of the same order entry user.

Fields

The mandatory fields for the oe switch account request are:

  • accountId - id of new account, to which you need to switch.

  • isLiveTrading - determine, is live trading mode now, or not.


Request example

const OESwitchAccountRequest = {
  accountId: "17014",
  isLiveTrading: true
}

Responses

Valid

The server will respond with a OESwitchAccountResponse.


Error

If some error happens: connection with OE not established, or account id is invalid, server will send response with type ServerErrorMessage.