返回排行榜

hummingbot/hummingbot

Pythonhummingbot.org

Open source software that helps you create and deploy high-frequency crypto trading bots

cryptocurrencyarbitragecryptotradingdexbitcoindockerethereumbotcythonpythonalgotrading
Star 增长趋势
Star
19.2k
Forks
4.8k
周增长
Issues
85
5k10k15k
2019年4月2021年9月2024年2月2026年7月
制品库PyPIpip install hummingbot
README

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
  • Spotify Podcast - The Bot Pod: Weekly livestream and podcast by Hummingbot maintainers
  • 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

The easiest way to get started with Hummingbot is using Docker:

  • To install the Telegram Bot Condor, follow the instructions in the Condor docs site.

  • To install the CLI-based Hummingbot client, follow the instructions below.

Alternatively, if you are building new connectors/strategies or adding custom code, see the Install from Source section in the documentation.

Install Hummingbot with Docker

Install Docker Compose website.

Clone the repo and use the provided docker-compose.yml file:

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

# Run Setup & Deploy
make setup
make deploy

# Attach to the running instance
docker attach hummingbot

Install Hummingbot from Source

Clone the repo, install dependencies, and run Hummingbot directly from source:

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

# Install from source
make install

# Run Hummingbot
make run

Install Hummingbot + Gateway DEX Middleware

Gateway provides standardized connectors for interacting with automatic market maker (AMM) decentralized exchanges (DEXs) across different blockchain networks.

To run Hummingbot with Gateway, clone the repo and answer y when prompted after running make setup

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

# Answer `y` when prompted
Include Gateway? [y/N]

Then run:

make deploy

# Attach to the running instance
docker attach hummingbot

By default, Gateway will start in development mode with unencrypted HTTP endpoints. To run in production mode with encrypted HTTPS, use the DEV=false flag and run gateway generate-certs in Hummingbot to generate the certificates needed. See Development vs Production Modes for more information.


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

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.

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
Binance CLOB CEX Spot, Perpetual binance, binance_perpetual Sign up for Binance using Hummingbot's referral link for a 10% discount!
BitMart CLOB CEX Spot, Perpetual bitmart, bitmart_perpetual Sign up for BitMart using Hummingbot's referral link!
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!
dYdX CLOB DEX Perpetual dydx_v4_perpetual -
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!
HTX (Huobi) CLOB CEX Spot htx Sign up for HTX 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!
OKX CLOB CEX Spot, Perpetual okx, okx_perpetual Sign up for OKX using Hummingbot's referral link for a 20% discount!
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 -
AscendEx CLOB CEX Spot ascend_ex -
Backpack CLOB CEX Spot, Perpetual backpack, backpack_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 -
Cube CLOB CEX Spot cube -
Curve AMM DEX AMM curve -
Decibel CLOB CEX Perpetual decibel_perpetual -
Dexalot CLOB DEX Spot dexalot -
EVEDEX CLOB CEX Perpetual evedex_perpetual -
Foxbit CLOB CEX Spot foxbit -
GRVT CLOB CEX Perpetual grvt_perpetual -
Injective Helix CLOB DEX Spot, Perpetual injective_v2, injective_v2_perpetual -
Jupiter AMM DEX Router jupiter -
Kraken CLOB CEX Spot kraken -
Meteora AMM DEX CLMM meteora -
MEXC CLOB CEX Spot mexc -
NDAX CLOB CEX Spot ndax -
Pacifica CLOB CEX Perpetual pacifica_perpetual -
PancakeSwap AMM DEX AMM pancakeswap -
QuickSwap AMM DEX AMM quickswap -
Raydium AMM DEX AMM, CLMM raydium -
SushiSwap AMM DEX AMM sushiswap -
Trader Joe AMM DEX AMM traderjoe -
Uniswap AMM DEX Router, AMM, CLMM uniswap -
Vertex CLOB DEX Spot vertex -

Other Hummingbot Repos

  • Condor: Telegram Interface for Hummingbot
  • Hummingbot API: The central hub for running Hummingbot trading bots
  • Hummingbot MCP: Enables AI assistants like Claude and Gemini to interact with Hummingbot for automated cryptocurrency trading across multiple exchanges.
  • Quants Lab: Jupyter notebooks that enable you to fetch data and perform research using Hummingbot
  • Gateway: Typescript based API client for DEX connectors
  • Hummingbot Site: Official documentation for Hummingbot - we welcome contributions here too!

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.

To have your exchange connector or other pull request merged into the codebase, please submit a New Connector Proposal or Pull Request Proposal, following these guidelines. Note that you will need some amount of HBOT tokens in your Ethereum wallet to submit a proposal.

  • 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.
相关仓库
bitcoin/bitcoin

Bitcoin Core integration/staging tree

C++MIT Licensebitcoinc-plus-plus
bitcoincore.org/en/download
89.7k39.1k
freqtrade/freqtrade

Free, open source crypto trading bot

PythonPyPIGNU General Public License v3.0pythoncryptocurrencies
freqtrade.io
52.5k10.9k
ccxt/ccxt

A unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java

PythonPyPIMIT Licensealtcoinapi
docs.ccxt.com
43.4k8.7k
dogecoin/dogecoin

very currency

C++MIT Licensecryptocurrencydogecoin
15.2k3.1k
monero-project/monero

Monero: the secure, private, untraceable cryptocurrency

C++Otherc-plus-plusmonero
getmonero.org
10.7k3.5k
StockSharp/StockSharp

Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).

C#Othertrading-strategiestrading-robots
stocksharp.com
10.4k2.2k
xmrig/xmrig

RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark

CGNU General Public License v3.0moneroxmr
xmrig.com
10k3.8k
firmai/financial-machine-learning

A curated list of practical financial machine learning tools and applications.

PythonPyPIquantquantitative-finance
sov.ai
8.7k1.4k
polakowo/vectorbt

The backtesting engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.

PythonPyPIOtherbacktestingtrading
vectorbt.dev
8.4k1.1k
jesse-ai/jesse

An advanced crypto trading bot written in Python

JavaScriptnpmMIT Licensecryptocurrencytrading-bot
jesse.trade
8.2k1.2k
lightningnetwork/lnd

Lightning Network Daemon ⚡️

GoGo ModulesMIT Licensebitcoinlightning-network
8.2k2.3k
dvf/blockchain

A simple Blockchain in Python

C#MIT Licenseblockchaincryptocurrency
8k2.8k