Main Content


SIX Financial Information field names to identification string


D = tkfieldtoid(c,f,typ)


D = tkfieldtoid(c,f,typ) converts SIX Financial Information field names to their corresponding identification strings. c is the SIX Financial Information connection object, f is the field list, and typ denotes the field. Options for the field include market, 'market'; time and sales, 'tass'; and history, 'history'. market fields are used with getdata, tass fields are used with timeseries, and history fields are used with history.


Retrieve pricing data associated with specified identification strings:

% Connect to SIX Telekurs.
c = tlkrs('US12345','userapid01','userapid10')

% Convert field names to identification strings.
ids = tkfieldtoid(c,{'bid','ask','last'},'market');

% Retrieve data associated with the identification strings.
d = getdata(c,{'1758999,149,134','275027,148,184',ids);

Version History

Introduced in R2011b