coinbasepro-python
coinbasepro-python copied to clipboard
Websocket Client with Auth header is rejected by exchange with Signature Error
Websocket Client with Auth header is rejected by exchange with Signature Error when the channels = None.
This is the fix -
on class WebsocketClient(object):
_connect ()
if self.channels is None: message = timestamp + 'GET' + '/users/self' else: message = timestamp + 'GET' + '/users/self/verify'
@everyone Should we allow channels to be None?
If you read through the websocket subscription documentation on GDAX, it appears they expect you to subscribe to channels. Another possible solution would be to subscribe to all channels if None is returned to the wrapper.
Thoughts?