BitMEX / sample-market-maker

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

Install as site-package #45

Closed JSterz84 closed 6 years ago

JSterz84 commented 6 years ago

Hi guys, is it possible to install the market-maker as site-package and import it from there? When I run pip install . from the folder I am not able to import the module. Or does it simply not work as pip site-package?

JMedon commented 6 years ago

Hi I have the same issue in my VPS, I installed package in virtualenv but when I run the code I receive error: "there is no module bitmex" and "ModuleNotFoundError: No module named 'market_maker.auth'; 'market_maker' is not a package"

ryanfox commented 6 years ago

The package is designed to be installed via python setup.py install.

If you need to install with pip, on the current dev branch you can install via pip install -e .

ryanfox commented 6 years ago

And now the package can be installed via pip install bitmex-market-maker.