Provided with a set of equity Bloomberg tickers and a time period, queries Bloomberg for the corresponding equity historical market data.
BBG_equity_market(tickers, start, end, verbose = T, ...)
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. |
... | optional parameters to pass to the bdh function from the
Rblpapi package used
for the query ( |
An S4 object of class EquityMarket.
if (FALSE) { BBG_equity_market(tickers = c("BP/ LN Equity", "WEIR LN Equity"), start = "2000-01-01", end = as.character(Sys.Date())) }