TT CORE SDK 2.0.1.1
TT CORE SDK documentation
|
Interface for listening to price subscription events. More...
#include <prices.h>
Public Member Functions | |
virtual | ~IPriceEventHandler (void) noexcept=default |
virtual void | OnPriceUpdate (const uint64_t subId, const InstrumentPtr &instrument, const PriceSnap &snap)=0 |
Callback delivering price updates. | |
virtual void | OnError (const uint64_t subId, const InstrumentPtr &instrument, const SubscriptionError code, const char *error)=0 |
Callback fired when an error occurs fulfilling a price subscription request. | |
virtual void | OnDisconnect (const uint64_t subId, const InstrumentPtr &instrument, const PriceEventType type)=0 |
Callback fired when an disconnection event happens. | |
virtual void | OnUnsubscribed (const uint64_t subId)=0 |
Callback fired when the unsubscribe request is complete and it is safe to. | |
Interface for listening to price subscription events.
|
pure virtual |
Callback fired when an disconnection event happens.
|
pure virtual |
Callback fired when an error occurs fulfilling a price subscription request.
|
pure virtual |
Callback delivering price updates.
Callback fired when the unsubscribe request is complete and it is safe to.