TCore Python API 行情

quote_connect

行情连线

def quote_connect(self,port):

quote_logout

行情断线

def quote_logout(self,SessionKey):

subquote

订阅行情

def subquote(self,SessionKey,Param):

unsubquote

解阅行情

def unsubquote(self,SessionKey,Param):

sub_history

回补历史

def sub_history(self,SessionKey,Param):

get_history

分页取得历史资料

def get_history(self,SessionKey,Param):

QueryInstrumentInfo

查询合约

def QueryInstrumentInfo(self, SessionKey, symbol):

QueryAllInstrumentInfo

查询全部合约

def QueryAllInstrumentInfo(self, SessionKey, type):

QuotePong

Pong回复以维持连线

def QuotePong(self, SessionKey):

Last updated