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

storethat_equity_market(file, tickers, start, end, verbose)

Arguments

file

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

tickers

a chatacter vector. Specifies the equity Bloomberg 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 EquityMarket.

See also

Examples

if (FALSE) { storethat_equity_market(tickers = c("BP/ LN Equity", "WEIR LN Equity"), start = "2000-01-01", end = as.character(Sys.Date())) }