Hi @fredy.sarmiento, You can call the Eikon get_data call repeatedly, whenever you need the current real time price for an instrument. For 1 minute, this call can be placed in a one minute loop.
>>> while True: ... df,err = ek.get_data('EUR=', ['BID','ASK']) ... print(df) ... time.sleep(60) ... Instrument BID ASK 0 EUR= 1.108 1.1084 Instrument BID ASK 0 EUR= 1.108 1.1082
The new version of Python Data API (currently EAP) also allows subscribing to streaming data.
You will have to import the time module in python:
You can search/use the "Data Item Browser" within Eikon to see the list of fields available to you.
Awesome !! many thanks
My objective is to replicate and calculate some technical analysis indicators, or even better I am not sure if I can directly request technical Analysis indicators?