Libannhoo_md_sdk  1.6.1
for index, tick(entrust and trade), and snapshot with solar flare
 All Classes Namespaces Files Functions Variables Pages
ah_md_api.h File Reference

annhoo market data quotes api. More...

#include <vector>
#include <string>

Go to the source code of this file.

Classes

class  annhoo::IAHMdApi
 This is the main interface to use library libAHQuotes. More...
 

Namespaces

 annhoo
 namespace for annhoo::IAHMdApi
 

Functions

const char * GetMdApiVersion ()
 Get version. More...
 
const char * GetMdApiVersionMore ()
 Get version. More...
 
void GetMdApiVersion2 (char *version, int size)
 Get version. More...
 
void GetMdApiVersionMore2 (char *version, int size)
 Get version. More...
 
annhoo::IAHMdApiNewMdApi (const char *config_path)
 Create a market data api. More...
 

Detailed Description

annhoo market data quotes api.

Definition in file ah_md_api.h.

Function Documentation

const char* GetMdApiVersion ( )

Get version.

Get current skd version, for instance 0.1.0

Returns
Current version infomation
void GetMdApiVersion2 ( char *  version,
int  size 
)

Get version.

Ger current skd version, for instance 0.1.0

Parameters
[in,out]versionCurrent version info
[in]sizeIn and out version size
const char* GetMdApiVersionMore ( )

Get version.

Get current skd more version, synopsis is version: 0.1.0 branch: main commit id: xxxxxxxxxxxxxx build time: yyyy-mm-dd HH:MM:SS

Returns
Vurrent version infomation
void GetMdApiVersionMore2 ( char *  version,
int  size 
)

Get version.

Get current skd more version, synopsis is version: 0.1.0 branch: main commit id: xxxxxxxxxxxxxx build time: yyyy-mm-dd HH:MM:SS

Parameters
[in,out]versionCurrent version info
[in]sizeIn and out version size
annhoo::IAHMdApi* NewMdApi ( const char *  config_path)

Create a market data api.

Parameters
[in]config_pathConfigure file which is yaml format
Returns
A IAHMdApi pointer which implement by user