Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Hummingbot


License Twitter Youtube Discord

Hummingbot is an open-source framework that helps you design and deploy automated trading strategies, or bots, that can run on many centralized or decentralized exchanges. Over the past year, Hummingbot users have generated over $34 billion in trading volume across 140+ unique trading venues.

The Hummingbot codebase is free and publicly available under the Apache 2.0 open-source license. Our mission is to democratize high-frequency trading by creating a global community of algorithmic traders and developers that share knowledge and contribute to the codebase.

  • Website and Docs: Official Hummingbot website and documentation
  • Installation: Install Hummingbot on various platforms
  • Discord: The main gathering spot for the global Hummingbot community
  • YouTube: Videos that teach you how to get the most out of Hummingbot
  • Twitter: Get the latest announcements about Hummingbot
  • Reported Volumes: Reported trading volumes across all Hummingbot instances
  • Newsletter: Get our newsletter whenever we ship a new release

Getting Started

Condor (AI harness)

Condor is the AI harness for building and running agentic strategies and bot instances. It connects LLM-powered decision-making to deterministic trade execution via the Hummingbot API, controlled through Telegram or its web dashboard. See condor.hummingbot.org to get started.

hbot CLI

The recommended way to run the Hummingbot client directly is the hbot command-line interface, installed from source. hbot runs, controls, and monitors a trading bot non-interactively: start/stop a bot, author and tune configs, and read trades, PnL, logs, and status — all scriptable, as compact Markdown with stable exit codes. See the hbot CLI guide for the full reference.

Requires uv and a C compiler (Xcode Command Line Tools on macOS, build-essential on Linux) — for the Cython extensions and for dependencies such as safe-pysha3 that lack prebuilt wheels on some platforms.

# Clone the repository
git clone https://github.com/hummingbot/hummingbot.git
cd hummingbot

# Create the venv, build extensions, and expose the `hbot` CLI
make install

# Activate the venv
source .venv/bin/activate
hbot --help

To use hbot outside the venv, run make link-cli to add it to your host PATH.

On first use, hbot prompts for a keystore password that encrypts your exchange API keys — set HBOT_PASSWORD or pass --password-stdin to run non-interactively (e.g. in scripts or agent workflows).

Then create a config and run the simple_pmm paper trading script — it simulates trading against live Binance market data, so no API keys are required:

hbot create simple_pmm --name conf_paper_bot.yml \
     --set exchange=binance_paper_trade --set trading_pair=BTC-USDT
hbot start conf_paper_bot.yml                          # run it (one bot per install)
hbot status                                            # check on it
hbot stop                                              # stop gracefully

To trade live, connect your exchange API keys and run a strategy controller like pmm_mister — a reusable V2 strategy whose settings can be tuned live while the bot runs:

hbot connect binance                                   # store API keys (encrypted)
hbot create pmm_mister --name conf_my_bot.yml \
     --set connector_name=binance --set trading_pair=BTC-USDT --set total_amount_quote=100
hbot start conf_my_bot.yml                             # run it (one bot per install)

Full command reference and ontology: hbot CLI guide.

Docker

Prefer containers? hbot works the same way — install Docker Compose, then:

git clone https://github.com/hummingbot/hummingbot.git
cd hummingbot
make setup            # answer `y` to "Include Gateway?" to add the DEX middleware
make deploy           # start the container (interactive client by default)
make link-cli         # put the `hbot` command on your host PATH (dispatches into the container)

hbot --help           # same commands as the source install above

make link-cli installs a small wrapper that runs hbot inside the container, so every command above is identical whether you installed from source or Docker. (Or skip it and use docker exec -it hummingbot hbot <command>.) To dedicate the container to hbot instead of the interactive client, uncomment command: tail -f /dev/null in docker-compose.yml before make deploy — see Running in Docker.

Interactive Client (TUI)

The classic full-screen client is the Docker default: make deploy, then docker attach hummingbot — or run it from source with make install && make run. With Gateway included it starts in development mode (unencrypted HTTP); for production HTTPS use the DEV=false flag and run gateway generate-certs. See Development vs Production Modes.


For comprehensive installation instructions and troubleshooting, visit our Installation documentation.

Strategies

Hummingbot offers several frameworks for building and running algorithmic trading strategies — see the Strategies docs for a full overview:

  • Scripts: Single-file Python strategies — the easiest way to build and customize your own bot. Example: simple_pmm.py, a basic market making script.
  • Controllers: Reusable V2 strategies whose configs can be backtested, deployed, and tuned live while running. Example: pmm_mister.py, a full-featured market making controller.
  • Executors: Self-contained building blocks that manage order lifecycles for common patterns — position, DCA, grid, arbitrage, XEMM, TWAP, and LP. Example: position_executor, which manages a directional position with triple-barrier risk controls.
  • V1 Strategies: Classic legacy strategies such as Pure Market Making, Avellaneda Market Making, and Cross-Exchange Market Making. Example: cross_exchange_market_making, which market makes on one exchange and hedges fills on another.

Exchange Connectors

Hummingbot connectors standardize REST and WebSocket API interfaces to different types of exchanges, enabling you to build sophisticated trading strategies that can be deployed across many exchanges with minimal changes.

Connector Types

We classify exchange connectors into three main categories:

  • CLOB CEX: Centralized exchanges with central limit order books that take custody of your funds. Connect via API keys.

    • Spot: Trading spot markets
    • Perpetual: Trading perpetual futures markets
  • CLOB DEX: Decentralized exchanges with on-chain central limit order books. Non-custodial, connect via wallet keys.

    • Spot: Trading spot markets on-chain
    • Perpetual: Trading perpetual futures on-chain
  • AMM DEX: Decentralized exchanges using Automated Market Maker protocols. Non-custodial, connect via Gateway middleware.

    • Router: DEX aggregators that find optimal swap routes
    • AMM: Traditional constant product (x*y=k) pools
    • CLMM: Concentrated Liquidity Market Maker pools with custom price ranges

Exchange Sponsors

We are grateful for the following exchanges that support the development and maintenance of Hummingbot via broker partnerships and sponsorships.

Exchange Type Sub-Type(s) Connector ID(s) Discount
Backpack CLOB CEX Spot, Perpetual backpack, backpack_perpetual Sign up for Backpack using Hummingbot's referral link!
Binance CLOB CEX Spot, Perpetual binance, binance_perpetual Sign up for Binance using Hummingbot's referral link for a 10% discount!
Bitget CLOB CEX Spot, Perpetual bitget, bitget_perpetual Sign up for Bitget using Hummingbot's referral link!
Derive CLOB DEX Spot, Perpetual derive, derive_perpetual Sign up for Derive using Hummingbot's referral link!
Gate.io CLOB CEX Spot, Perpetual gate_io, gate_io_perpetual Sign up for Gate.io using Hummingbot's referral link for a 20% discount!
Hyperliquid CLOB DEX Spot, Perpetual hyperliquid, hyperliquid_perpetual -
KuCoin CLOB CEX Spot, Perpetual kucoin, kucoin_perpetual Sign up for Kucoin using Hummingbot's referral link for a 20% discount!
Meteora AMM DEX CLMM meteora -
OKX CLOB CEX Spot, Perpetual okx, okx_perpetual Sign up for OKX using Hummingbot's referral link for a 20% discount!
Orca AMM DEX CLMM orca -
XRP Ledger CLOB DEX Spot xrpl -

Other Exchange Connectors

Currently, the master branch of Hummingbot also includes the following exchange connectors, which are maintained and updated through the Hummingbot Foundation governance process. See Governance for more information.

Exchange Type Sub-Type(s) Connector ID(s) Discount
0x Protocol AMM DEX Router 0x -
Aevo CLOB CEX Perpetual aevo_perpetual -
Architect CLOB CEX Perpetual architect_perpetual -
Balancer AMM DEX AMM balancer -
BingX CLOB CEX Spot bing_x -
Bitrue CLOB CEX Spot bitrue -
Bitstamp CLOB CEX Spot bitstamp -
BTC Markets CLOB CEX Spot btc_markets -
Bybit CLOB CEX Spot, Perpetual bybit, bybit_perpetual -
Coinbase CLOB CEX Spot coinbase_advanced_trade -
Curve AMM DEX AMM curve -
Decibel CLOB CEX Perpetual decibel_perpetual -
Dexalot CLOB DEX Spot dexalot -
DFlow AMM DEX Router dflow -
dYdX CLOB DEX Perpetual dydx_v4_perpetual -
EVEDEX CLOB CEX Perpetual evedex_perpetual -
Foxbit CLOB CEX Spot foxbit -
Gemini CLOB CEX Spot gemini -
GRVT CLOB CEX Perpetual grvt_perpetual -
HTX (Huobi) CLOB CEX Spot htx -
Injective Helix CLOB DEX Spot, Perpetual injective_v2, injective_v2_perpetual -
Jupiter AMM DEX Router jupiter -
Kraken CLOB CEX Spot kraken -
Lambdaplex CLOB DEX Spot lambdaplex -
Lighter CLOB DEX Spot, Perpetual lighter, lighter_perpetual -
MEXC CLOB CEX Spot mexc -
NDAX CLOB CEX Spot ndax -
OKX DEX AMM DEX Router okx -
Pacifica CLOB CEX Perpetual pacifica_perpetual -
PancakeSwap AMM DEX AMM pancakeswap -
Raydium AMM DEX AMM, CLMM raydium -
Titan AMM DEX Router titan -
Uniswap AMM DEX Router, AMM, CLMM uniswap -

Other Hummingbot Repos

  • Condor: AI harness for building and running agentic strategies and bot instances
  • Hummingbot API: The central hub for running Hummingbot trading bots
  • Gateway: Typescript based API client for DEX connectors
  • Hummingbot Site: Official documentation for Hummingbot - we welcome contributions here too!

Getting Help

If you encounter issues or have questions, here's how you can get assistance:

We pledge that we will not use the information/data you provide us for trading purposes nor share them with third parties.

Contributions

The Hummingbot architecture features modular components that can be maintained and extended by individual community members.

We welcome contributions from the community! Please review these guidelines before submitting a pull request.

If you represent an exchange that wants an official Hummingbot connector, see How to Add a Hummingbot Connector for the available integration options.

  • License: Hummingbot is open source and licensed under Apache 2.0.
  • Data collection: See Reporting for information on anonymous data collection and reporting in Hummingbot.

Metadata

Release files for hummingbot 20261120.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hummingbot 20261120.dev1
File Size Uploaded Provenance Actions
hummingbot-20261120.dev1.tar.gz 7.6 MB Without provenance Details for hummingbot-20261120.dev1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for hummingbot 20261120.dev1
File Actions
hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
hummingbot-20261120.dev1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for hummingbot-20261120.dev1-cp313-cp313-macosx_11_0_arm64.whl
hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
hummingbot-20261120.dev1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for hummingbot-20261120.dev1-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 140.2 MB

Release files / hummingbot-20261120.dev1.tar.gz

Download URL hummingbot-20261120.dev1.tar.gz
Size 7.6 MB
Tags Source
SHA-256 checksum
How to use checksums
dd4d4c222941a40a118f271a0b901af9cd4d46b06ffe2f1907eb64be34020d73
BLAKE2b-256 checksum
How to use checksums
caece7a43275ae2caafe7b7ff262dc1aa51177259491dbef9017383951e2119c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 27.5 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c00daf23345b547342a853b2ad9858b62db4797860c6835ecece49174c31ee1d
BLAKE2b-256 checksum
How to use checksums
b2c1b80c2ecdf0654ad6b1f7b9e9ea38575e8cea662c8f81cca749127df24356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL hummingbot-20261120.dev1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 27.1 MB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4c21637aaec7b061b558cd8c93a483f6055d163dc08b706edba580be083c9ca0
BLAKE2b-256 checksum
How to use checksums
f93ccb581ca9e77fb80ac18787e24ff26cd3d54e69798183e37485a4b37136b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / hummingbot-20261120.dev1-cp313-cp313-macosx_11_0_arm64.whl

Download URL hummingbot-20261120.dev1-cp313-cp313-macosx_11_0_arm64.whl
Size 11.0 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
325dabb34f0dfe7cce4c4f7314b9526689d4fe5d289be426f1540413f29b293d
BLAKE2b-256 checksum
How to use checksums
7ab79287032811157253ec933961c1627105fd830dd13f6d4c99ec3f41ade3d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 28.1 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b5d3e221a4a04bdf5f624fc76ab216d2a51f83b9f8c7037761b21f129403792e
BLAKE2b-256 checksum
How to use checksums
53c4ee851529bf3ef4e31e7958f479f58c9b45fc0b63a25d190cd9648d07ef35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL hummingbot-20261120.dev1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 27.8 MB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f7957389bce566e270dc57a8836e78201ef5a57d9a0d4c9e6898952759fce996
BLAKE2b-256 checksum
How to use checksums
f226d4dbba499707c485222d8630a8e8eb174b83c665bece7fe643859f321d90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / hummingbot-20261120.dev1-cp312-cp312-macosx_11_0_arm64.whl

Download URL hummingbot-20261120.dev1-cp312-cp312-macosx_11_0_arm64.whl
Size 11.0 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
353420e9cf4ac3f6274fa89275a27d9eca4576a02ef76d1f3a98202dec5b7989
BLAKE2b-256 checksum
How to use checksums
454dd0cee876b9671b0f6fa69a3330a370bd9f9e5dc22ee2386c664031f95f3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for hummingbot 20261120.dev1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page