get_ticker_from_Bloomberg: Get ticker from Bloomberg.

Description Usage Arguments Value Author(s) See Also Examples

Description

Returns the selected tickers from Bloomberg

Usage

1
2
get_ticker_from_Bloomberg(tickers, field = "PX_LAST", block = 5,
  start = NULL, end = Sys.Date(), file = character(0))

Arguments

tickers

character Bloomberg tickers to fetch

field

character Bloomberg data field

block

integer number of calendar years of data to fetch at a time (if both start and end are NULL then data are fetched with this block size from as far back as possible to the latest date possible in blocks of size block)

start

character or Date. starting date of complete data block: if NULL signals to fetch data as far back as possible

end

character or Date end date of complete data block: if NULL signals to fetch data to the latest date possible

file

character filename (with extension) to save data

Value

zoo

Author(s)

Thomas P. Harte

See Also

blpGetData, blpConnect, RBloomberg

Examples

1
2
3
4
5
6
7
  ## Not run: 
 ## Not run:
 ## get_ticker_from.Bloomberg("INDU INDEX", field="PX_LAST")
 ## get_ticker_from.Bloomberg("INDU INDEX", start="2008-01-01")
 ## get_ticker_from.Bloomberg("INDU INDEX", start="2008-01-01", end="2008-10-31")
  
## End(Not run)

tharte/tutils documentation built on Feb. 11, 2020, 9:17 a.m.