latestOpenAPI 3.1.02026-08-22181751733.6 KB

67f9f562c2c6

tradingSession

Initialize Brokerage Session

After retrieving the access token and subsequent Live Session Token, customers can initialize their brokerage session with the ssodh/init endpoint.

post/iserver/auth/ssodh/init

Request body

publishboolean

publish brokerage session token at the same time when brokerage session initialized. If set false, then session token should be published before calling init. Setting true is preferred way.

competeboolean

Determines if other brokerage sessions should be disconnected to prioritize this connection.

Response

An array of objects detailing contract information.

authenticatedboolean

Returns whether your brokerage session is authenticated or not.

establishedboolean

Returns whether your brokerage session is fully established and ready to handle requests. Set to true when the login message is received from underlying brokerage infrastructure, indicating authentication is complete and account information is loaded.

competingboolean

Returns whether you have a competing brokerage session in another connection.

connectedboolean

Returns whether you are connected to the gateway or not.

messagestring

A message about your authenticate status if any.

MACstring

Device MAC information.

hardware_infostring

Client Portal use only.

failstring

Returns the reason for failing to retrieve authentication status.