Description Usage Arguments Value See Also Examples
Provided with a set of Bloomberg index tickers and a time period, queries Bloomberg for the corresponding index historical market data.
1 | BBG_index_market(tickers, start, end, verbose = T, ...)
|
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. |
... |
optional parameters to pass to the bdh function from the
Rblpapi package used
for the query ( |
An S4 object of class IndexMarket.
The fields dataset in the BBGsymbols package (finRes suite) for details on the Bloomnerg fields used here.
Helper datasets in the fewISOs and GICS packages (finRes suite).
1 2 3 4 5 6 7 | ## Not run:
BBG_index_market(tickers = c("NEIXCTA Index", "BARCCTA Index"),
start = "2000-01-01", end = as.character(Sys.Date()))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.