BitMEX / sample-market-maker

Sample BitMEX Market Making Bot
Apache License 2.0
1.7k stars 757 forks source link

Updated README with the fix on the error __on_error() takes 2 positional arguments but 3 were given #235

Open ermolushka opened 2 years ago

ermolushka commented 2 years ago

When I tried to do the setup from README, on different machines I kept on getting error __on_error() takes 2 positional arguments but 3 were given. I resolved it by installing websocket-client with pip install -U websocket-client

llugo commented 1 year ago

Getting a slightly different error message, i guess it has nothing to do with websocket?

TypeError: __on_open() takes 1 positional argument but 2 were given

kmarv commented 1 year ago

When I tried to do the setup from README, on different machines I kept on getting error __on_error() takes 2 positional arguments but 3 were given. I resolved it by installing websocket-client with pip install -U websocket-client

still getting the same error