public method O2GSession.getTableManagerByAccount

Brief

Gets an instance of the table manager for a specific account.

Declaration
Java
O2GTableManager  getTableManagerByAccount (String accountID)

Parameters
accountID

The unique identification number of an account. The value is unique within the database where the account is stored. For example, MINIDEMO or U100D1. The uniqueness of the account itself is assured by the combination of the database ID and the value of this parameter.

Note: In the field labeled "Account", the FX Trading Station displays the returned value of the O2GAccountRow.getAccountName method (for example, 00286255). It is not equal to the value of this parameter (for example, 286255).

Details

The method returns O2GTableManager which allows access to trading tables for specific account.
getTableManagerByAccount makes sense for users with more than one account.
It is useful for getting Orders, Trades, Closed Trades, and Summary tables for a specific account.
The method must be called after the login.

Declared in O2GSession

back