Home

Awesome

Managing Bot Cycles

This repository contains the sample folder structure to organize bot configurations and scripts to run your all your bots at once.

For your context, this structure is only for bots running Pure Market Making strategy, for other strategy, please modify line 30 and 31 in init_and_run_bots.sh script to point to correct config file name and strategy.

.
└── bot-configurations/
    ├── asd-eth-usdt_files/
    │   ├── hummingbot_conf/
    │   └── hummingbot_scripts/
    ├── bin-bnb-busd_files/
    ├── kucoin-btc-usdt_files/
    ├── bots_to_run
    ├── init_and_run_bots.sh
    ├── readme.md
    ├── remove_bots.sh
    └── start.sh

How To Use This

The purpose of this folder structure and scripts is to make it easier to manage multiple bots and launch them all at once on your computer or server.

In order to do that, you need to do two things:

  1. Organize your bot configurations into folders and manage it from there.
  2. Manage the launch of your bot by using bots_to_run file and init_and_run_bots.sh script.

Configuration Folders

For each of your bot or token pair, you should put your configuration as follow:

asd-eth-usdt/
├── hummingbot_conf/
│   ├── conf_fee_overrides.yml
│   ├── conf_global.yml
│   ├── conf_pure_mm_asd-eth-usdt.yml
│   ├── hummingbot_logs.yml
│   └── ... // Any encrypted keys
└── hummingbot_scripts/
    └── some_scripts.py

Launching Bots

To launch bot you will need to specify what bot to run in bots_to_run file, for example, this is the current content of the file:

asd-eth-usdt
bin-bnb-busd

This means only 2 bots (ETH/USDT and BNB/BUSD) will be launched.

After specifying bots in bots_to_run file, you can run init_and_run_bots.sh script to launch your bots:

bash init_and_run_bots.sh

The script will do the following steps:

Utility Scripts