Skip to content
dgbit GitHub

// about

A framework that picks one exchange and means it.

Most open-source crypto trading frameworks try to support every exchange. dgbit does the opposite. The data fetcher, execution layer, and built-in strategies are all written against Bybit specifically, so the abstractions can be exact rather than lowest-common-denominator. That decision is the project's design center.

What dgbit is

dgbit is a Python algorithmic trading framework for cryptocurrency strategies on Bybit spot markets. It ships as a single repository containing the trading core, a backtester, a FastAPI REST service, an NNG-based service bus, and a Vue 3 dashboard. You can use any subset: import the library for backtests, run the API server for a control surface, or bring up the whole stack with docker-compose.

It's distributed on PyPI as pip install dgbit and as a Docker image at cryptuon/dgbit. The license is MIT.

The philosophy

Three principles drive the design:

What it ships

The README lists the concrete deliverables:

How to engage

If you want to use dgbit, the fastest path is pip install dgbit and the quickstart in the docs. Configure Bybit credentials in a .env file and keep BYBIT_TESTNET=true until you have backtested the strategy you actually want to run.

If you want to contribute, clone the repo, pip install -e ".[dev]", and run the test suite with pytest dgbit-api/tests/. The README points at a Contributing Guide on the docs site.

Maintainers

dgbit is a project of cryptuon. The README does not attribute a specific named maintainer set beyond the organization, so we won't either; PRs and issues land in the same place regardless.

A note on risk

The README's disclaimer applies to this site too: trading cryptocurrencies involves significant risk. dgbit is provided for educational and research purposes. Past performance does not guarantee future results. Test strategies with paper trading before risking real funds.