ActiveTick Feed C++ API SDK
2.0.0
|
#include <ActiveTickStreamListener.h>
Public Member Functions | |
ACTIVETICKSERVERAPI_API | ActiveTickStreamListener (uint64_t session, bool processAllUpdates=false) |
virtual ACTIVETICKSERVERAPI_API | ~ActiveTickStreamListener (void) |
Protected Member Functions | |
virtual ACTIVETICKSERVERAPI_API void | OnATStreamTradeUpdate (LPATQUOTESTREAM_TRADE_UPDATE pUpdate) |
virtual ACTIVETICKSERVERAPI_API void | OnATStreamQuoteUpdate (LPATQUOTESTREAM_QUOTE_UPDATE pUpdate) |
virtual ACTIVETICKSERVERAPI_API void | OnATStreamRefreshUpdate (LPATQUOTESTREAM_REFRESH_UPDATE pUpdate) |
virtual ACTIVETICKSERVERAPI_API void | OnATStreamTopMarketMoversUpdate (LPATMARKET_MOVERS_STREAM_UPDATE pUpdate) |
Friends | |
class | ActiveTickServerRequestor |
class | ServerConnection |
class | StreamQueue |
class | StreamSubscriptions |
ACTIVETICKSERVERAPI_API bool | ATInitAPI () |
ACTIVETICKSERVERAPI_API bool | ATShutdownAPI () |
ActiveTickStreamListener class. This class is used as generic listener for all ActiveTick's API streams. Extend this class and override its virtual functions to easily receive streaming notifications.
ACTIVETICKSERVERAPI_API ActiveTickStreamListener::ActiveTickStreamListener | ( | uint64_t | session, |
bool | processAllUpdates = false |
||
) |
ActiveTickStreamListener constructor.
session | Session handle created by ATCreateSession function. |
processAllUpdates | If set to false, each notification will be checked against all subscribed symbols. |
|
virtual |
ActiveTickStreamListener destructor.
|
inlineprotectedvirtual |
Virtual method which is called by ActiveTick API when quote message is received for subscribed symbol.
pUpdate | Pointer to ATQUOTESTREAM_QUOTE_UPDATE containing quote notification data. |
|
inlineprotectedvirtual |
Virtual method which is called by ActiveTick API when refresh message is received for subscribed symbol.
pUpdate | Pointer to ATQUOTESTREAM_REFRESH_UPDATE containing refresh notification data. |
|
inlineprotectedvirtual |
Virtual method which is called by ActiveTick API when market movers message is received for subscribed symbol.
pUpdate | Pointer to ATMARKET_MOVERS_STREAM_UPDATE containing market movers notification data. |
|
inlineprotectedvirtual |
Virtual method which is called by ActiveTick API when trade message is received for subscribed symbol.
pUpdate | Pointer to ATQUOTESTREAM_TRADE_UPDATE containing trade notification data. |
|
friend |
|
friend |
Initialize ActiveTick's API. This function must be called before any other can be function called.
|
friend |
Shut down ActiveTick's API and releases all resources.
|
friend |
|
friend |
|
friend |