行情 DLL functions

RTCQuoteAPI介面

CreateRTCQuoteAPI

创建RTCQuoteAPI

RTCQuoteAPI *CreateRTCQuoteAPI()

Release

不再使用本介面对象时,调用该函数删除对象

void Release()

Join

等待介面执行绪结束运行

int Join()

RegisterFront

连接TCore

LONG RegisterFront(char *strHostAddress, char *strSystemName, char *strServiceKey, int iConnectType)

Parameters

类型

说明

strHostAddress

char*

TCore位址

strSystemName

char*

TCore系统名称

strServiceKey

char*

连线TCore ID

iConnectType

int

固定带1

RegisterSpi

继承自callback介面类的实例

void RegisterSpi(RTCQuoteAPISpi *pSpi)

Parameters

pSpi

RTCQuoteAPISpi pointer

指向callback指标

SubscribeMarketData

订阅行情

int SubscribeMarketData(char *ppInstrumentID[], int nCount)

Parameters

类型

说明

ppInstrumentID

char*[]

要订阅的TCore symbol

nCount

int

订阅TCore symbol的数量

UnSubscribeMarketData

退订行情

int UnSubscribeMarketData(char *ppInstrumentID[], int nCount)

Parameters

类型

说明

ppInstrumentID

char*[]

要退订的TCore symbol

nCount

int

退订TCore symbol的数量

SubscribeGreeksData

订阅Greeks行情

int SubscribeGreeksData(char *ppInstrumentID[], int nCount)

Parameters

ppInstrumentID

char*[]

要订阅的TCore symbol

nCount

int

订阅TCore symbol的数量

UnSubscribeGreeksData

退订Greeks行情

int UnSubscribeGreekGreekcData(char *ppInstrumentID[], int nCount)

Parameters

ppInstrumentID

char*[]

要退订的TCore symbol

nCount

int

退订TCore symbol的数量

Last updated

Was this helpful?