When I run the following script:
import eikon as ek
ek.set_app_key('')
df, err = ek.get_data(
instruments = ['GAZP.MM'],
fields = ['TR.CLOSEPRICE(Frq=D,SDate=2021-12-01,EDate=2021-12-19,Curn=USD).date','TR.CLOSEPRICE(Frq=D,SDate=2021-12-01,EDate=2021-12-19,Curn=USD)' ]
)
display(df)
I get the following error:
TypeError: An asyncio.Future, a coroutine or an awaitable is required
I launch the script in Spyder, Anaconda.