Hello, how do I get historical ticks using Python eikon package?
For example, the Excel way to get real-time ticks is =TR(E3:E1001,"TR.InstrumentDescription;PRIMACT_1;SEC_ACT_1;CF_TIME;GV6_TEXT;CF_BID;CF_ASK","UPDFRQ=STREAM CH=Fd RH=IN")
What about getting historical ticks in Python? I tried the following but with no luck.
import eikon as ek
ek.set_app_key('{my app key here}')
list_rics = ['775109BB6=', ]
list_fields = ['TR.InstrumentDescription', 'PRIMACT_1', 'SEC_ACT_1', 'CF_TIME', 'GV6_TEXT', 'CF_BID', 'CF_ASK']
sd = '2019-09-06T06:00:00'
ed = '2019-09-06T21:00:00'
df = ek.get_timeseries(list_rics, list_fields, start_date=sd, end_date=ed, interval='tick')
print(df)