Installed fresh python 3.11 / fresh eikon and getting below error and can't for the life of me solve it.
Code is simple streaming price pull :
sp = ek.StreamingPrices(instruments=["LCOc1"], fields=['CF_LAST'])
sp.open()
Important bit of error is:
await asyncio.wait(task_list, return_when=asyncio.ALL_COMPLETED)
File "C:\Users\x\.conda\envs\x\Lib\asyncio\tasks.py", line 415, in wait
raise TypeError("Passing coroutines is forbidden, use tasks explicitly.")
TypeError: Passing coroutines is forbidden, use tasks explicitly.
sys:1: RuntimeWarning: coroutine 'StreamingPrice.open_async' was never awaited