Defines the interface through which the Handler notifies subscribers about detected changes in books. More...
Public Member Functions | |
| virtual void | onOrderBookReset (const OrderBook &book)=0 |
| Is called when book is reset for a given instrument. More... | |
| virtual void | onOrderBookChanged (MarketId marketId, const OrderBookChange &change)=0 |
| Is called when a change for a particular order book is reported. More... | |
Defines the interface through which the Handler notifies subscribers about detected changes in books.
|
pure virtual |
Is called when a change for a particular order book is reported.
The following messages affect the event:
| marketId | is a market ID for the order book |
| change | is a change in the order book |
|
pure virtual |
Is called when book is reset for a given instrument.
| book | is a 'up-to-date' book associated with given market. |