coinbasepro-python
coinbasepro-python copied to clipboard
Fixed WebsocketClient 'Failed to subscribe'
While following the documentation on cbpro.Websocket's implementation, I came across the error:
{'type': 'error', 'message': 'Failed to subscribe', 'reason': 'No channels provided'}
In order to fix this error a parameter for self.channels is required.