# c9s/bbgo

The modern cryptocurrency trading bot framework written in Go.

Repository: https://github.com/c9s/bbgo
Canonical: https://ross.abutalabs.com/products/bbgo
Homepage: https://bbgo.finance
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: trading, trading-bot, cryptocurrency, binance, bitcoin, crypto
Last push: 2026-08-26T14:05:08+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 67, longevity 100
- inputs: {"age_days": 2158, "days_push": 7, "days_rel": 141, "gap_med": 46.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1657, forks 381 (observed 2026-08-28T04:05:18.120924+00:00)

## What it is
BBGO is an open-source cryptocurrency trading bot framework written in Go, supporting multiple exchanges like Binance and MAX through a common exchange abstraction layer. It includes built-in strategies (grid trading, market making), a kline-based back-testing engine, technical indicators, and YAML-based configuration.

## Use cases
- run a crypto grid trading bot on binance
- backtest a trading strategy against historical klines
- build a custom crypto trading strategy in Go
- connect to multiple crypto exchanges in one process
- implement TWAP order execution
- calculate PnL for crypto trades
- get telegram notifications for trade fills
- optimize strategy parameters automatically

## When to choose
- you want an open-source, extensible crypto trading bot framework in Go
- you need multi-exchange support with a unified API
- you want built-in back-testing and parameter optimization
- you prefer transparent grid trading over black-box bots

## When to avoid
- you need a no-code GUI trading bot
- you trade only traditional equities or forex
- you need DEX support today (still on the roadmap)
- you require a permissive license (AGPL-3.0)

## Facets
- artifact type: framework
- maturity: active
- function: trading, sdk, streaming, scheduling, configuration-management, developer-tools
- domain: fintech
- platform: go, windows, cross-platform
- tags: crypto-trading-bot, grid-trading, market-making, backtesting, binance, exchange-api, technical-indicators, algo-trading, cryptocurrency, trading, automation, linux, macos, docker

## Member repositories
- c9s/bbgo (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.120924+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:45.843535+00:00, confidence not recorded.
  - readme: https://github.com/c9s/bbgo (fetched 2026-08-28T04:05:18.120924+00:00, sha b26bb64eaddf)
  - homepage: https://bbgo.finance (fetched 2026-08-29T11:17:18.205503+00:00, sha 8b8503d55fed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
