1- wget setup_gateway.py
:
wget -qO- https://gist.githubusercontent.com/Chubek/5137a0b75a76d5f9f38d1e768d56d591/raw/c4b8c8c25e6991f01367d9ed5a5fa2be7627d83d/setup_gateway.py > setup_gateway.py
2- Preprocess it with m4
, using your credentials and pass it to python
:
# For example
m4 -DEXCHANGE=binance -DAPI_KEY=4242 -DAPI_SECRET=2424 setup_gateway.py | python
python
here is the python
in the bin
directory of your Conda env. You must activate it:
conda activate python
Keep in mind that you must install and set up Hummingbot first (with the provided install
and compile
scripts).
Another way to run them is:
make build
make install
make compile
This must be done in the directory of the source file.