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 intraday tick data


D = timeseries(c,s,t)
D = timeseries(c,s,{startdate,enddate})
D = timeseries(c,s,t,5)


D = timeseries(c,s,t) returns the raw tick data for the SIX Financial Information connection object c, the security s, and the date t. Every trade, best, and ask tick is returned for the given date or date range.

D = timeseries(c,s,{startdate,enddate}) returns the raw tick data for the security s, for the date range defined by startdate and enddate.

D = timeseries(c,s,t,5) returns the tick data for the security s, for the date t in intervals of 5 minutes, for the field f. Intraday tick data requested is returned in 5-minute intervals, with the columns representing:

  • First

  • High

  • Low

  • Last

  • Volume weighted average

  • Moving average


Retrieve SIX Financial Information intraday tick data for the past 2 days:

c = tlkrs('US12345','userapid01','userapid10')
d = timeseries(c,{'1758999,149,134'}, ...

Display the returned data:

d = 

    XRF: [1x1 struct]
     IL: [1x1 struct]
      I: [1x1 struct]
    TSL: [1x1 struct]
     TS: [1x1 struct]
      P: [1x1 struct]

d.I contains the instrument IDs, d.TS contains the date and time data, and d.P contains the pricing data.

Display the tick times:


ans = 


Display the field IDs:


ans = 


Convert these IDs to field names (Mid, Bid, Ask) with tkidtofield:

d.P.k = tkidtofield(c,d.P.k,'history')

Load the file @tlkrs/tkfields.mat for a listing of the field names and corresponding IDs.

Display the corresponding tick values:


ans = 


See Also

| |

Introduced in R2011b

Was this topic helpful?