coinbasepro-python
coinbasepro-python copied to clipboard
documentation | ws client example
The example WebsocketClient Methods doesn't include self.channels
so copy-pasting the example doesn't work out of the box.
self.channels = ['ticker']
I think you meant to have that set in the on_open
This also applies to the main code at the tail of websocket_client.py