Description Usage Arguments Value See Also Examples
Provided with a set of index Bloomberg tickers pulls qualitative information on the corresponding index(es) or retrieves it from an existing storethat SQLite database.
1 | pull_index_info(source = "Bloomberg", tickers, file = NULL, ...)
|
source |
a scalar character vector. Specifies the data source for the query: "Bloomberg" or "storethat". Defaults to "Bloomberg". |
tickers |
a chatacter vector. Specifies the futures active contract Bloomberg tickers to query data for. |
file |
a scalar chatacter vector. Optional parameter that specifies the target storethat SQLite database file to retrieve data from. |
... |
optional parameters to pass to the bdp function from the
Rblpapi package used
for the query ( |
An S4 object of class IndexInfo.
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 8 9 10 11 | ## Not run:
BBG_info <- pull_index_info(source = "Bloomberg", tickers = c("NEIXCTA Index", "BARCCTA Index"))
storethat_info <- pull_index_info(source = "storethat", file = "~/storethat.sqlite",
tickers = c("NEIXCTA Index", "BARCCTA Index"))
storethat_info <- pull_index_info(source = "storethat", tickers = c("NEIXCTA Index", "BARCCTA Index"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.