TT CORE SDK 2.0.1.1
TT CORE SDK documentation
|
Interface for listening to time and sales subscription events. More...
#include <prices.h>
Public Member Functions | |
virtual | ~ITimeSalesEventHandler (void) noexcept=default |
virtual void | OnTimeSalesUpdate (const uint64_t subId, const InstrumentPtr &instrument, const TimeSales &ts)=0 |
Callback indicating. | |
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 time and sales 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 indicating.
Callback fired when the unsubscribe request is complete and it is safe to.