R, eikonapir
I switched from many years as Bloomberg R user to Eikon, installed the R eikonapir library and used get_timeseries() to retrieve historical data mainly equity related.
My problem: Mapping of Bloomberg fields to Eikon. I use the Eikon Excel formula builder, but these fields don't seem to work. Example, in Excel Eikon shows for Closing Price the field TR.PriceClose but there is no data using (only using get_data() for last price).
get_timeseries(list("MSFT.O","VOD.L"),
list("TIMESTAMP","TR.PriceClose"),
"2020-01-01T00:00:00",
"2020-01-10T00:00:00")
Replacing TR.PriceClose with Close does work:
get_timeseries(list("MSFT.O","VOD.L"),
list("TIMESTAMP","CLOSE"),
"2020-01-01T15:04:05",
"2020-01-10T15:04:05")
Question: Does anyone has a reasonable R sample script downloading the usual items, like volume, 30 days ADV, shares outstanding, PE ratios
Many thanks!