Hello everyone, I have the following short code in which I acquire local returns:
import eikon as ek #import Eikon module
ek.set_app_id('someID') #setting AppID
df = ek.get_data('B1FJ0C0','TR.TotalReturn', {'SDate': '2017-02-03'})
print(df)
print (df[0])
The outcome goes as follows:
What I desire is to acquire just the numeric value of the return, I don't want to know about the instrument or any other field/value, just the value of the Total Return.
Does anybody know how? I'd be happy to know.
Thanks!