public method IO2GRequestFactory.createRefreshTableRequest

Brief

Creates a request to get the latest snapshot of the specified table. Do not use this method for Orders table, use createRefreshTableRequestByAccount instead.

Declaration
C++
virtual IO2GRequest createRefreshTableRequest (O2GTable table) = 0

Parameters
table

The identifier of the table.

Details

In response to the request, the table snapshot will be sent and then TablesUpdates messages will be sent each time when the table data is changed on the server.

See the table below for the response types and proper readers for each type of the table:

Table

Response type

The reader to parse the response

Offers

GetOffers

IO2GOffersTableResponseReader

Accounts

GetAccounts

IO2GAccountsTableResponseReader

Trades

GetTrades

IO2GTradesTableResponseReader

Closed Trades

GetClosedTrades

IO2GClosedTradesTableResponseReader

Messages

GetMessages

IO2GMessagesTableResponseReader

Declared in IO2GRequestFactory

back