I want to get the data that I would get in Excel by using the function and parameters that follow
=RHistory("BBVA1YDP=SM";"SMART RATIOS DP.Timestamp;SMART RATIOS DP.Value";"INTERVAL:1D";;"TSREPEAT:NO CH:Fd";"DATE")
In Python:
import eikon as ek
ek.set_app_id(id_reservas2)
### THE FOLLOWING WORKS FOR OTHER STARMINE SERIES###
bbva =
ek.get_timeseries(["BBVA1YDP=SM"],
fields=["CLOSE"],
start_date="2017-07-12")
bbva
### THIS FAILS ###
bbva =
ek.get_timeseries(["BBVA1YDP=SM"],
fields=["SMART
RATIOS DP.Timestamp",
"SMART
RATIOS DP.Value"],
start_date="2017-07-21")
bbva
### THIS ONLY ACCESES THE LAST DATA ###
ek.get_data(["BBVA1YDP=SM"],
fields="SEC_ACT_1")