Hello Team,
I have syntax below that gets data at exactly 6PM (df) and latest tick of EUR= (df2)
I'd like to get the percentage between the two output.
I tried df3 =((df2-df)/df*100) but it is not working.
Also, how can I set a specific timezone?
import refinitiv.data as rd
rd.open_session()
df = rd.get_history(
universe = ['EUR='],fields=['BID'],interval="tick",end="2024-11-19T19:00:00",count=1
)
df2 = rd.get_history(
universe = ['EUR='],fields=['BID'],interval="tick", count=1
)
df3 =((df2-df)/df*100)
display(df,df2,df3)
Thank you!