public method O2GResponseReaderFactory.createTradesTableReader

Brief

Creates the reader for the Trades table response.

Declaration
C#
O2GTradesTableResponseReader  createTradesTableReader (O2GResponse response)

Parameters
response

The response must have the type GetTrades or TablesUpdates.

The reader keeps the reference to the response object, so if you don't need the response for any other purpose you can dispose it when the reader is created.

Details

The method returns an instance of the reader or null in case the response has wrong type or is broken.

The returned object must be disposed using the Dispose() method when it is not required anymore.

back