This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


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);

Introduced in R2011b

Was this topic helpful?