BitMEX / sample-market-maker

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

can not run marketmaker #73

Closed gant2018 closed 6 years ago

gant2018 commented 6 years ago

when i start marketmaker XBTUSD i have following error. What to do ?

using python 2.7.10 and virtualenv

erik$marketmaker XBTUSD Traceback (most recent call last): File "/Users/erik/Documents/testmm/testmam/bin/marketmaker", line 11, in sys.exit(run()) File "/Users/erik/Documents/testmm/testmam/lib/python2.7/site-packages/market_maker/init.py", line 21, in run from market_maker import market_maker File "/Users/erik/Documents/testmm/testmam/lib/python2.7/site-packages/market_maker/market_maker.py", line 11, in from market_maker import bitmex File "/Users/erik/Documents/testmm/testmam/lib/python2.7/site-packages/market_maker/bitmex.py", line 12, in from market_maker.ws.ws_thread import BitMEXWebsocket File "/Users/erik/Documents/testmm/testmam/lib/python2.7/site-packages/market_maker/ws/ws_thread.py", line 10, in from market_maker.settings import settings File "/Users/erik/Documents/testmm/testmam/lib/python2.7/site-packages/market_maker/settings.py", line 25, in userSettings = import_path(os.path.join('.', 'settings')) File "/Users/erik/Documents/testmm/testmam/lib/python2.7/site-packages/market_maker/settings.py", line 20, in import_path importlib.reload(module) # Might be out of date AttributeError: 'module' object has no attribute 'reload'

Asteezy24 commented 6 years ago

I also have this issue.

ryanfox commented 6 years ago

Python 2 is not supported. Use Python 3.5 or newer.

HeshamMahrous commented 6 years ago

who wants to use python 3.5 if you want to run a proper AI bot !

webdev23 commented 6 years ago

Whoever took the idea to make python not backward compatible, just fucked up the INTERNET.