public method O2GRequestFactory.createRefreshTableRequest

Brief

Creates a request to get the latest snapshot of the specified table and subscribe to further updates. Do not use this method for Orders table; use createRefreshTableRequestByAccount instead.

Declaration
C#
O2GRequest  createRefreshTableRequest (O2GTableType table)

Parameters
table

The identifier of the table.

Details

In response to the request, the table snapshot will be send 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 type

Response type

The reader to parse the response

Offers

GetOffers

O2GOffersTableResponseReader

Accounts

GetAccounts

O2GAccountsTableResponseReader

Trades

GetTrades

O2GTradesTableResponseReader

ClosedTrades

GetClosedTrades

O2GClosedTradesTableResponseReader

Messages

GetMessages

O2GMessagesTableResponseReader

Declared in O2GRequestFactory

back