-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BitMEXWebsocket error #148
Comments
I second this. Happens as above on Ubuntu 18. |
I third this, having the same problem on windows 10. EDIT: I've now made some progress and can get it to run consistently on my windows 10 laptop in a janky way, I still can't get it to work on an ubuntu 16.04 ec2 instance however. I created a file in the directory above the working directory where I ran 'marketmaker setup', all the file is is import market_maker.market_maker I had an issue running it in anaconda prompt using a conda env that had everything installed in it, but running this file in anaconda prompt after deactivating the env is working. |
Exactly the same problem for me on OSX El Capitan version 10.11.6. |
Same issue on macOS High Sierra 10.13.6, and Windows 10 |
so it's just broken, and I assume nobody will/can fix ... |
Same issue in Ubuntu 16.04/18.04, was working before , triggered when i made some changes to my config parameters not related to the web-socket, issues persists even if i revert my changes |
Any updates on this issue? |
For what it's worth, if you take a look at https://github.com/BitMEX/api-connectors/blob/master/official-ws/python/bitmex_websocket.py you'll see that there is a positional argument for 'message' on line 107. Putting that into the ws_thread.py no longer gets the error above but now it's giving me the following error instead: Traceback (most recent call last): |
I've gotten it fully working now on windows 10 and ubuntu 16.04 using a conda enviroment with python 3.6. I'm pretty sure someone updated the pip installed version of the bitmex-market-maker, but I'm new to github so I'm not sure how to check. Also I'm pretty sure the issue causing this is a result of whatever bitmex websocket version is coming with the bitmex-market-maker pip install right now. Anyway, this is how I made it work. how to: |
The [XBTUSD] part is an optional parameter (hence the square brackets), meaning if you leave it out it will run with the default (which is XBTUSD) |
The missing part was 'pip install bitmex-ws' Thanks @wschneller ! |
Yeah this is it. This should be in the readme. Thanks! |
Im surprised they havent resolved this issue yet in 2 years. Makes me wonder if they are capable of anything big. 'pip install bitmex-ws' is the easy solution. |
I'm a new user trying to get Market Maker to work.
Have tried on both Ubuntu and Windows with Python v3.5 / 3.6 / 3.7 all with the same result:
...and then it repeats the missing positional argument line forever more.
My Google-fu is failing me. Anyone have any ideas?
The text was updated successfully, but these errors were encountered: