timeSeriesRequest: make a timeseries request

Description Usage Arguments Details Value

Description

make a timeseries request

Usage

1
2
3
timeSeriesRequest(dwei = getDataStream(), DSCodes = "", Instrument = "",
  startDate = Sys.Date(), endDate = Sys.Date(), frequency = "D",
  sStockList, aTimeSeries, verbose = FALSE)

Arguments

dwei

- A Datastream Client Interface object created with getDataStream

DSCodes

- one or more codes to return, eg "MKS" or c("MKS","SAB")

Instrument

- the instrument or expression to return eg PCH#(XXXX,1M)

startDate

- the start date of the timeseries

endDate

- the end date of the timeseries

frequency

- the frequency of the request

sStockList

- variable that is returned with list of of the stocks

aTimeSeries

- variable that is returned with the set of timeseries

verbose

- whether to give messages during the request

Details

timeSeriesRequest Function that obtains a timeseries from Datastream parameters are

Value

whether the request has been successful in sStockList: a list a two element vector of the displayname and symbol for each timeseries in aTimeseries: a list of class xts with the requested timeseries information

#


CharlesCara/Datastream2R documentation built on May 6, 2019, 9:57 a.m.