ScriptsJul 19, 2026·3 min read

Hummingbot — Open Source High-Frequency Crypto Trading Bot

A Python framework for building and running automated market-making and arbitrage trading strategies across centralized and decentralized exchanges.

Agent ready

Ready-to-run agent install

This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Hummingbot Overview
Direct install command
npx -y tokrepo@latest install 26e031d5-832b-11f1-9bc6-00163e2b0d79 --target codex

Run after dry-run confirms the install plan.

Introduction

Hummingbot is an open-source Python framework that lets traders build and deploy automated market-making, arbitrage, and directional strategies on crypto exchanges. It connects to 40+ centralized and decentralized exchanges through a unified interface, making algorithmic trading accessible without writing exchange-specific code.

What Hummingbot Does

  • Provides pre-built strategy templates for market making, arbitrage, and grid trading
  • Connects to 40+ exchanges via a modular connector architecture
  • Supports both paper trading and live execution with real funds
  • Includes a backtesting framework to validate strategies against historical data
  • Offers a TUI-based command interface for managing bots interactively

Architecture Overview

Hummingbot uses an event-driven architecture with a central clock that ticks every second, triggering strategy logic. Each exchange connector maintains its own order book and handles WebSocket feeds independently. Strategies subscribe to market events (trades, order updates, balance changes) and emit order actions through a unified gateway. The framework is single-process, async-based, using asyncio for concurrent exchange communication.

Self-Hosting & Configuration

  • Deploy via Docker or install from source with conda on Linux/macOS
  • Configure exchange API keys through the interactive setup wizard or YAML files
  • Set strategy parameters (spread, order size, inventory limits) per config file
  • Use the conf/ directory for credentials and scripts/ for custom strategies
  • Supports password-encrypted config storage for security

Key Features

  • Modular connector system lets you add new exchanges without changing core logic
  • Script-based strategies allow rapid prototyping in a single Python file
  • Real-time PnL tracking and trade history logging
  • Telegram integration for remote bot monitoring and commands
  • Community-maintained connectors cover major DEXs including Uniswap and dYdX

Comparison with Similar Tools

  • Freqtrade — more focused on directional/swing trading; Hummingbot excels at market making
  • CCXT — a lower-level exchange library; Hummingbot adds strategy logic and execution engine on top
  • Jesse — strong backtesting focus; Hummingbot prioritizes live execution and HFT patterns
  • Zenbot — discontinued; Hummingbot is actively maintained with regular releases

FAQ

Q: Do I need coding skills to use Hummingbot? A: Basic strategies can be configured via YAML without code. Custom strategies require Python knowledge.

Q: Is Hummingbot profitable out of the box? A: No trading bot guarantees profits. Hummingbot provides tools; profitability depends on strategy design and market conditions.

Q: Which exchanges have the best support? A: Binance, Gate.io, and KuCoin have the most mature connectors with full feature coverage.

Q: Can I run multiple bots simultaneously? A: Yes, each instance runs independently. Use Docker Compose or separate processes for multi-bot setups.

Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets