Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

history

Request data from Reuters Time Series One

Syntax

d = history(c,s)
d = history(c,s,p)
d = history(c,s,f)
d = history(c,s,f,p)
d = history(c,s,d)
d = history(c,s,startdate,enddate)
d = history(c,s,startdate,enddate,p)
d = history(c,s,f,startdate,enddate)
d = history(c,s,f,startdate,enddate,p)

Description

d = history(c,s) returns all available daily historical data for the RIC, s, for the Reuters® session object c.

d = history(c,s,p) returns all available historical data for the RIC, s, for the Reuters session object c. p specifies the period of the data:

  • 'd' - daily (default)

  • 'w' - weekly

  • 'm' - monthly

    Note:   Reuters Time Series One will only return two years of daily data, five years of weekly data, or ten years of monthly data from the current date.

d = history(c,s,f) returns all available historical data for the RIC, s, and fields, f, for the Reuters session object c.

d = history(c,s,f,p) returns all available historical data for the RIC, s, and fields, f, for the Reuters session object c. p specifies the period of the data.

d = history(c,s,d) returns the historical data for the RIC, s, for the given date, d, for the Reuters session object c.

d = history(c,s,startdate,enddate) returns the daily historical data for the RIC, s, for the given date range defined by startdate and enddate.

d = history(c,s,startdate,enddate,p) returns the daily historical data for the RIC, s, for the given date range defined by startdate and enddate. p specifies the period of the data.

d = history(c,s,f,startdate,enddate) returns the daily historical data for the RIC, s, for the given date range defined by startdate and enddate.

d = history(c,s,f,startdate,enddate,p) returns the historical data for the RIC, s, and fields, f, for the given date range defined by startdate and enddate. p specifies the period of the data.

Examples

d = history(c,'WXYZ.O') returns a structure containing all available historical end of day daily data for the RIC 'WXYZ.O', for the Reuters session object c.

d = history(c,'WXYZ.O','close') returns a structure with the fields date and close containing all available historical end of day daily data for the RIC 'WXYZ.O'.

d = history(c,'WXYZ.O','close','m') returns all available monthly data.

d = history(c,'WXYZ.O','01-03-2009','02-24-2009') returns all available daily data for the date range 01-03-2009 to 02-24-2009. Note that only two years worth of daily data, five years worth of weekly data, and 10 years of monthly data from today's date is made available by Reuters.

d = history(c,'WXYZ.O',{'close','volume'},'01-03-2009','02-24-2009') returns all available daily data for the date range 01-03-2009 to 02-24-2009 for the fields date, close and volume.

d = history(c,'WXYZ.O',{'close','volume'},'01-03-2009','02-24-2009','w') returns all available weekly data for the date range 01-03-2009 to 02-24-2009 for the fields date, close and volume.

Related Examples

See Also

| |

Was this topic helpful?