Page 1: Basic Installation and Environment Setup

1. Basic Hummingbot Installation and Environment Setup

Hummingbot is an open-source, high-frequency trading bot for cryptocurrencies. We recommend installation via Docker for a consistent environment.

1.1. Docker Installation and Basic Configuration

It is best to run Hummingbot via Docker for a uniform environment. First, install Docker appropriate for your operating system.

# Download and run the Hummingbot Docker image on Linux/Mac
docker pull hummingbot/hummingbot
docker run -it --rm --name hummingbot_instance hummingbot/hummingbot

1.2. Setting Up the Hummingbot Execution Environment

On first run, you must specify a local volume where the bot's configuration files and data will be stored. This is essential to persist settings across reboots.

# Example: Mount a volume to a local directory
docker run -it -v /path/to/hummingbot_files:/home/hummingbot/conf/ hummingbot/hummingbot

Key Concept: The -v option links a local directory with the internal path of the Docker container, ensuring persistence of configuration files.