Skip to content

Instantly share code, notes, and snippets.

View boyan-soubachov's full-sized avatar

Boyan Soubachov boyan-soubachov

View GitHub Profile
import aiocometd
import asyncio
url = "https://tools.dxfeed.com/webservice/cometd"
async def main_loop():
async with aiocometd.Client(url) as client:
async for message in client:
print("message data: %s" % message)