OnixS SGX Derivatives Handler for C++  2.17.0.0
Public Member Functions | Protected Member Functions | List of all members
TradeInfoListener Class Referenceabstract

Listen to deals on the Market. More...

Public Member Functions

virtual void onDeal (const TradeInfo &tradeInfo)=0
 Is called when a deal is performed.
 
virtual void onOwnDeal (const OwnTradeInfo &tradeInfo)=0
 Is called when a deal with own order is performed. More...
 

Protected Member Functions

virtual ~TradeInfoListener ()
 Disables public delete operator in the interface class.
 

Detailed Description

Listen to deals on the Market.

Callbacks are result of BD1 processing.

Member Function Documentation

virtual void onOwnDeal ( const OwnTradeInfo tradeInfo)
pure virtual

Is called when a deal with own order is performed.

This will duplicate information from onDeal() callback for own orders. Will work only when market- and trading-session being ran together.