31
loading...
This website collects cookies to deliver better user experience
/opt/nobbi/hodloo
.sudo su
cd ~
pip install -r /opt/nobbi/hodloo/requirements.txt
config.py.example
to config.py
and change the variables. The variables are very well documented in the file itself hence I won't cover this here. For your reference the variables below:
# 3c
TC_API_KEY = ''
TC_API_SECRET = ''
BOT_ID_5 = '' # Bot to start deal for pair 5% under the base. Leave empty if not desired.
BOT_ID_10 = '' # Bot to start deal for pair 10% under the base. Leave empty if not desired.
BOT_ID_PANIC = '' # Bot to start a deal for a panic sell. Leave empty if not desired.
MODE = 'paper' # 'real' or 'paper'
TC_EXCLUDE_LEVERAGED_TOKENS = True # Set to false to trade leveraged tokens. Currently supports excluding Binance and Kucoin leveraged tokens.
TC_DENYLIST = ["USDN/USDT","USDC/USDT","USDJ/USDT","CEUR/USDT","SUSD/USDT"] # Pairs on this list will not be traded.
# Discord
DISCORD_NOTIFICATIONS = '' # Discord Webhook of channel for trade notifications. Leave empty if not desired.
DISCORD_ERRORS = '' # Discord Webhook of channel for script errors. Mandatory.
# Hodloo
HODLOO_URI = '' # Hodloo Websocket API. Request the info from Pete in the Hodloo Discussions Telegram channel as it is private.
HODLOO_EXCHANGES = ["Binance"] # Multiple exchanges -> ["Binance","Kucoin"] Note that only Binance and Kucoin are fully supported at the moment.
TC_EXCLUDE_LEVERAGED_TOKENS
and TC_DENYLIST
? By using these you don't need to click 1,000 times in 3Commas to build a blacklist. I prefer the term denylist btw, it's 2021 after all...python3 /opt/nobbi/hodloo/hodloo-to-3commas.py
sudo apt-get install supervisor
sudo service supervisor status
sudo service supervisor start
sudo service supervisor stop
sudo service supervisor restart
hodloo-to-3commas.py
script. The following example uses vi.sudo vi /etc/supervisor/conf.d/hodloo-to-3commas.conf
[program:hodloo-to-3commas]
command=python3 -u hodloo-to-3commas.py
directory=/opt/nobbi/hodloo
stdout_logfile=/opt/nobbi/hodloo/hodloo-to-3commas.log
redirect_stderr=true
autorestart=true
sudo supervisorctl
reread
add hodloo-to-3commas
status
sudo ps -axs | grep python
HODLOO_MIN_VOLUME
allows to filter coins based on a certain amount of volume. If the volume is below the variable's threshold, the coin will be ignored. See the variable description for an example.config.py
. It now supports passing the name of the config file as a parameter, which allows running multiple instances of the script with different config files. Examples below.# Old behavior where the script uses config.py as variable source (still supported btw)
> python hodloo-to-3commas.py
# Use kucoin.py file as variable source instead.
> python hodloo-to-3commas.py kucoin.py