Hummingbot is an open source framework that helps you build automated trading strategies, or bots that run on cryptocurrency exchanges. A detailed description of the bot configuration and its capabilities can be found at https://docs.hummingbot.org/getting-started/
Installing Hummingbot on OpenCEX is possible in two ways:
cd /app/opencex || exit
git clone <https://github.com/Polygant/hummingbot.git> ./hmbot
cd ./hmbot
docker build -t hummingbot:latest -f Dockerfile .
cat << EOF >> /app/opencex/docker-compose.yml
hummingbot:
container_name: hummingbot
hostname: hummingbot
restart: always
image: hummingbot:latest
volumes:
- /app/opencex/hmbot/conf:/home/hummingbot/conf
- /app/opencex/hmbot/conf/connectors:/home/hummingbot/conf/connectors
- /app/opencex/hmbot/conf/strategies:/home/hummingbot/conf/strategies
- /app/opencex/hmbot/logs:/home/hummingbot/logs
- /app/opencex/hmbot/data:/home/hummingbot/data
- /app/opencex/hmbot/scripts:/home/hummingbot/scripts
networks:
- caddy
tty: true
stdin_open: true
EOF
cd /app/opencex/ && docker compose up -d
After installation using the above methods, the bot will be ready to work.
To run Hummingbot on your OpenCEX instance, you need to complete the following steps:
https://lh7-us.googleusercontent.com/ZWbvCGe5tEMMd2oiqW18uRDvd0rzjbobJWAD-tWgLSUDRTNqVPCraRGQof68wKa-rNNC-BfEv0Hs-e24ZMj5mA-pBZ1ge-vd5L6MpbejVqT1EpypDekdRxbz4TdJSjMwRJ3W-Pj7jCTl_5vX2OAlS_U