Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Forkdelta example
import websockets
import asyncio
async def hello():
uri = 'wss://'
async with websockets.connect(uri,) as websocket:
# await websocket.send('getMarket')
await websocket.send('getMarket')
res = await websocket.recv()
print(f'< {res}')
if __name__ == '__main__':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment