Open DukeOfRI opened 6 months ago
Seems like I found the problem. However, I cannot create a branch/PR.
The issue is solved by changing line 485 from:
callbacks['subscriptionBook'][market](ws, msg)
to:
callbacks['subscriptionBook'][market](self, msg)
And line 514 from:
callbacks['subscriptionBook'][market](ws, msg)
to:
callbacks['subscriptionBook'][market](self, msg)
I am trying to use the book subscription on the websocket. If I run the code that is in the example on the website, I get an error. I am referring to the python example here: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeBook/post
Python 3.12.1 python_bitvavo_api 1.4.1
Steps to reproduce:
I get the following traceback.