Account List Messages


TRADE_ACCOUNTS_REQUEST [s_TradeAccountsRequest structure] Client >> Server

This is a message from the Client to the Server to request all of the account identifiers for the logged in Username.

If there are no accounts available, then the Server needs to respond with at least one TRADE_ACCOUNT_RESPONSE message containing an empty Trade Account.

Field Name Field Description
[unsigned int16] Size

The standard message size field. Automatically set by constructor.

[unsigned int16] Type

The standard message type field. Automatically set by constructor.

[int32] RequestID

A unique request identifier for this request.

TRADE_ACCOUNT_RESPONSE [s_TradeAccountResponse structure] Server >> Client

This is a message from the Server to the Client in response to a TRADE_ACCOUNTS_REQUEST message, providing a single trade account. There is one message for each trade account.

Field Name Field Description
[unsigned int16] Size

The standard message size field. Automatically set by constructor.

[unsigned int16] Type

The standard message type field. Automatically set by constructor.

[int32] TotalNumberMessages

This indicates the total number of Account list messages when a batch of messages is being sent. If there is only one message being sent, this will be 1.

[int32] MessageNumber

This indicates the 1-based index of the Account list message when a batch of messages is being sent. If there is only one message being sent, this will be 1.

[char] TradeAccount

The trade account identifier.

In the case when there are no Trade Accounts available for the logged in Username, the Server will send a single TRADE_ACCOUNT_RESPONSE message to the Client and leave this field empty.

[int32] RequestID

The RequestID sent in the corresponding request by the Client.


*Last modified Friday, 12th August, 2016.