tkfieldtoid
SIX Financial Information field names to identification string
Syntax
D = tkfieldtoid(c,f,typ)
Description
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
.
Examples
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
See Also
tlkrs
| getdata
| history
| timeseries
| tkidtofield