Defines an interface through which the Handler notifies subscribers about 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... | |
virtual void | onDealDetails (const DetailedDealInfo &info)=0 |
Is called when deal details retrived from the Exchange. | |
Defines an interface through which the Handler notifies subscribers about deals on the market.
|
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 with market and trading session being run together.