Free, open source Python crypto trading bot supporting major exchanges, with backtesting, dry-run, FreqAI and Telegram/web UI control.
c9s/bbgo
A crypto trading bot framework in Go for building, backtesting and running trading strategies across multiple exchanges.
Open-source alternative to:3Commas
Cryptohopper
- Stars
- 1,676
- Forks
- 384
- Open issues
- 126
- Last commit
- 7 hours ago
Repolode describes open-source projects and does not give investment advice. Trading and investing can lose money: assess the risk yourself and follow the laws where you live before using this project.
What is it?
BBGO is a Go framework for automated cryptocurrency trading. It provides a unified exchange abstraction over several spot exchanges, including Binance, OKX, Kucoin, MAX, Bitget, Bybit, Coinbase and Bitfinex, along with market data and order streams over WebSocket.
The framework ships with a large set of built-in strategies, such as grid, market making, DCA, rebalancing and cross-exchange hedging, and a library of technical indicators with a pandas-like interface. Users can run these through YAML configuration, or write their own strategies in Go and compile them against the framework.
BBGO also includes a KLine-based backtesting engine, a parameter optimization tool, PnL tracking with MySQL or SQLite storage, Slack and Telegram notifications, and an optional React web dashboard.
Key features
- 01Unified API abstraction across multiple spot exchanges.
- 02Built-in strategies including grid, market making and DCA.
- 03KLine-based backtesting engine and parameter optimization tool.
- 04Large library of technical indicators with a pandas-like interface.
- 05PnL calculation with MySQL or SQLite trade storage.
- 06Slack and Telegram notifications, plus an optional React web dashboard.
Use cases
- Running a grid or market-making strategy on a supported exchange account.
- Backtesting a trading idea on historical KLine data before going live.
- Building a custom cross-exchange strategy in Go on top of the framework.
- Automating periodic buys or portfolio rebalancing across accounts.
Things to know
- Licensed under AGPL-3.0, a copyleft license that requires derivative network services to share their source code.
- Requires exchange API keys and secrets from each exchange you connect to.
- Requires Go SDK 1.25, and Windows is supported only through WSL.
Topics
FAQ
- What is bbgo?
- A crypto trading bot framework in Go for building, backtesting and running trading strategies across multiple exchanges. BBGO is a Go framework for automated cryptocurrency trading. It provides a unified exchange abstraction over several spot exchanges, including Binance, OKX, Kucoin, MAX, Bitget, Bybit, Coinbase and Bitfinex, along with market data and order streams over WebSocket.
- Is bbgo free to use? What license does it have?
- bbgo is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is bbgo still maintained?
- Actively maintained. The last commit to bbgo was on Nov 6, 2026.
- What can I use bbgo for?
- Running a grid or market-making strategy on a supported exchange account. Backtesting a trading idea on historical KLine data before going live. Building a custom cross-exchange strategy in Go on top of the framework. Automating periodic buys or portfolio rebalancing across accounts.
- Where can I get bbgo?
- The source code and installation instructions are on GitHub: https://github.com/c9s/bbgo
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A self-hosted Python framework for researching, backtesting, optimizing and live-trading your own crypto trading strategies.
Python framework for quantitative trading that covers strategy definition, vector and event-driven backtesting, result dashboards, and paper or live trading.
Open-source framework for designing, backtesting and deploying automated market-making and trading bots across many centralized and decentralized crypto exchanges.
Python framework for training ML models on historic crypto market data with feature engineering, then running them as an online service that sends trading signals.
Self-hosted AI quant research platform for turning trading ideas into Python strategies, backtests, paper trading, and live execution.