Upload a request file to query Bloomberg. A response file will be generated by Bloomberg.
The request file can be user-defined following the Bloomberg Data License documentation or generated with the
The response file needs to be downloaded (see
RblDownload) and parsed (see
RblParse) to import the data in R.
1 2 3 4 5
character string representing the request file according to Bloomberg Datalicense documentation. Can be generated with the
name assigned to the remote file. Only alphanumeric characters and underscores are allowed. Invalid characters are removed.
logical. Should R report extra information on progress?
A list with components
the request filename
the response filename
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
## Not run: # Run RblConnect first # Build a request file to download the daily closing prices of # EURO STOXX Index from 2005-01-01 to 2015-12-31. RblRequest <- RblRequestBuilder( header = c(FIRMNAME = RblUser(), PROGRAMNAME = 'gethistory', DATERANGE = '20050101|20151231'), fields = c('PX_LAST'), identifiers = c('SXXE Index') ) # Upload the request file req <- RblUpload(RblRequest) req ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.