static public field O2GResponseType.GetClosedTrades
Brief
The constant represents the type of a response to a request for initial closed position information.
Details
If your application uses the IO2GTableManager
, the Closed Trades table is always loaded during the login process.
This information is kept in an IO2GClosedTradesTable
object.
If your application does not use the IO2GTableManager
, the initial closed position information needs to be requested.
Depending on the trading server settings, the Closed Trades table may or may not be loaded by the server automatically during the login process.
To determine whether the table is loaded or not and what follow-up action is required to obtain the O2GResponseType.GetClosedTrades
response,
use the returned value of the IO2GLoginRules
.isTableLoadedByDefault
method:
Returned Value |
Follow-up action |
|
Call the
The method returns an instance of the IO2GResponse class of the |
|
Create a request to get initial closed position information by using the
In this case, an instance of the |
To process the contents of a response object of the O2GResponseType.GetClosedTrades
type, use an instance of the IO2GClosedTradesTableResponseReader class.
Declared in O2GResponseType