A client is looking to retrieve the basis of the RIC "SM-ARGUPR-P1"
The Excel formula works:
=RHistory("SM-ARGUPR-P1","BASIS.Timestamp;BASIS.Value","INTERVAL:1D",,"TSREPEAT:YES CH:Fd",B2)
But the Python code only returns NA's:
Secs=['SM-ARGUPR-P1'] Fields=['BASIS.Value'] StartDate='01-01-2010' data=ek.get_timeseries(Secs,fields=Fields,start_date=StartDate,interval='daily')
Any suggestions please?
PS: I noticed we have field "GEN_VAL4" for BPV (basis point value). The latest value is 8 so maybe this field is related? Unfortunately I haven't been able to retrieve it's history.
@Joris.Hoendervangers, get_timeseries() only supports the default view (or the data that you see in excel when you do not set the view, such as .Value, instead of BASIS.Value), so there is no way to get this data using the python API.
Got it. Could we please raise it as an enhancement request?
Isn't there a workaround with the 'get_data()' function? (I've tried setting a start date & end date)
I checked all the fields showing for this RIC under Time Series Data category in Formula Builder in Eikon Excel, and none of them is populated. So, the short answer is at the moment get_data does not provide a workaround for retrieving timeseries for this RIC.
Got it. Thank you very much for checking Alex. Can this please be submitted to development as an enhancement request?
get_timeseries returns date that does not exist in Eikon and with NA for close price
How can I get bid and ask prices in a 1-min intervale from Python API for LCOc1 and LCOTc1?
Eikon API: Time Zone in Time Series
Eikon API time series request: single RIC (not in list) with lower case results in errors?