coinbasepro-python icon indicating copy to clipboard operation
coinbasepro-python copied to clipboard

documentation | ws client example

Open nhomble opened this issue 4 years ago • 1 comments

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

nhomble avatar Jan 17 '21 21:01 nhomble

This also applies to the main code at the tail of websocket_client.py

nhomble avatar Jan 17 '21 21:01 nhomble