Closed maurohamz closed 1 year ago
Trying to set up a live feed as shown in the Jupyter example unsuccessfully:
async for snap in blp.live(['ESA Index', 'NQA Index'], max_cnt=2): print(snap)
Tried to define an async function like this:
async def live_data(): async for snap in blp.live(['ESA Index', 'NQA Index'], max_cnt=2): print(snap) def run_data(): loop = asyncio.get_event_loop() loop.run_until_complete(live_data()) loop.close() run_data()
Still doesn't work for me. any help appreciated.
your codes are working via recent xbbg.
Trying to set up a live feed as shown in the Jupyter example unsuccessfully:
Tried to define an async function like this:
Still doesn't work for me. any help appreciated.