![]() |
Libannhoo_md_sdk
1.6.1
for index, tick(entrust and trade), and snapshot with solar flare
|
This is the main interface to use library libAHQuotes. More...
#include <ah_md_spi.h>
Public Member Functions | |
| IAHMdSpi () | |
| Constucts a IAHMdSpi. | |
| virtual | ~IAHMdSpi () |
| Frees the IAHMdSpi object. | |
| virtual void | OnIndexCB (AHIndex *index)=0 |
| Callback for AHIndex. More... | |
| virtual void | OnTickCB (AHTick *data, uint16_t type)=0 |
| Callback for AHEntrust or AHTrade. More... | |
| virtual void | OnSnapshotCB (AHSnapshot *snapshot)=0 |
| Callback for AHSnapshot. More... | |
This is the main interface to use library libAHQuotes.
User should implement four methods: OnIndexCB, OnEntrustAndTradeCB, and OnSnapshotCB
Definition at line 26 of file ah_md_spi.h.
|
pure virtual |
Callback for AHIndex.
| [in] | index | Index pointer |
Implemented in annhoo::SubscribeAndPrint, and annhoo::AHMdSpiInl.
|
pure virtual |
Callback for AHSnapshot.
| [in] | snapshot | snapshot pointer |
Implemented in annhoo::SubscribeAndPrint, and annhoo::AHMdSpiInl.
|
pure virtual |
Callback for AHEntrust or AHTrade.
| [in] | data | AHTick, member tag, 0: AHEntrust, 1: AHTrade |
Implemented in annhoo::SubscribeAndPrint, and annhoo::AHMdSpiInl.