storethat_index_market: Retrieves index historical market data from a 'storethat'...

Description Usage Arguments Value See Also Examples

Description

Provided with a set of Bloomberg index tickers and a time period, retrieves the corresponding index historical market data previously stored in a storethat SQLite database.

Usage

1
storethat_index_market(file = NULL, tickers, start, end, verbose = T)

Arguments

file

a scalar chatacter vector. Specifies the target storethat SQLite database file.

tickers

a chatacter vector. Specifies the Bloomberg index tickers to query data for.

start

a scalar character vector. Specifies the starting date for the query in the following format: 'yyyy-mm-dd'.

end

a scalar character vector. Specifies the end date for the query in the following format: 'yyyy-mm-dd'.

verbose

a logical scalar vector. Should progression messages be printed? Defaults to TRUE.

Value

An S4 object of class IndexMarket.

See Also

Examples

1
2
3
4
5
6
7
## Not run: 

    storethat_index_market(tickers = c("NEIXCTA Index", "BARCCTA Index"),
      start = "2000-01-01", end = as.character(Sys.Date()))

  
## End(Not run)

bautheac/pullit documentation built on June 7, 2021, 12:11 p.m.