Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A simple Bitcoin trading bot written in Java.
| Date | Stars |
|---|---|
| 2026-07-24 | 864 |
| 2026-07-25 | 864 |
| 2026-07-28 | 864 |
| 2026-07-30 | 864 |
| 2026-08-06 | 864 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# BX-bot
[](https://github.com/gazbert/bxbot/actions/workflows/gradle.yml)
[](https://github.com/gazbert/bxbot/actions/workflows/maven.yml)
[](https://sonarcloud.io/dashboard?id=gazbert_bxbot)
[](CODE_OF_CONDUCT.md)
[](https://gitter.im/BX-bot/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## What is BX-bot?
<img src="./docs/bxbot-cropped.png" align="right" width="25%" />
[BX-bot (_Bex_)](https://github.com/gazbert/bxbot) is a simple Bitcoin trading bot written in Java for trading on cryptocurrency
[exchanges](https://bitcoin.org/en/exchanges).
The project contains the basic infrastructure to trade on a [cryptocurrency](https://coinmarketcap.com/) exchange...
except for the trading strategies - you'll need to write those yourself! A simple
[`ExampleScalpingStrategy`](./bxbot-strategies/src/main/java/com/gazbert/bxbot/strategies/ExampleScalpingStrategy.java)
is included to get you started with the Trading API - see [Ta4j](https://github.com/ta4j/ta4j) for more ideas.
Exchange Adapters for using [Bitstamp](https://www.bitstamp.net), [Bitfinex](https://www.bitfinex.com),
[Kraken](https://www.kraken.com), and [Gemini](https://gemini.com/) are included.
Feel free to improve these or contribute new adapters to the project; that would be
[shiny!](https://en.wikipedia.org/wiki/Firefly_(TV_series))
A [`TryModeExchangeAdapter`](./bxbot-exchanges/src/main/java/com/gazbert/bxbot/exchanges/TryModeExchangeAdapter.java) is
configured by default to delegate public API calls to Bitstamp, but it simulates the private
API (order management) calls; it's good for testing your initial setup and
[paper trading](https://www.investopedia.com/terms/p/papertrade.asp) without actually sending orders to the exchange.
The Trading API provides support for [limit orders](https://www.investopedia.com/terms/l/limitorder.asp)
traded at the [spot price](https://www.investopedia.com/terms/s/spotprice.asp).
If you're looking for something more sophisticated with a much richer Trading API, take a look at
[XChange](https://github.com/knowm/XChange).
**Warning:** Trading cryptocurrency carries significant financial risk; you could lose money. This software is provided 'as is'
and released under the [MIT license](https://opensource.org/licenses/MIT).
## Architecture

- **Trading Engine** - the execution unit. It provides a framework for integrating Exchange Adapters and executing
Trading Strategies.
- **Exchange Adapters** - the data stream unit. They provide access to a given exchange.
- **Trading Strategies** - the decision or strategy unit. This is where the trading decisions happen.
- **Trading API** - Trading Strategies use this API to make trades. Exchange Adapters implement this to provide access
to a given exchange.
- **Strategy API** - Trading Strategies implement this so the Trading Engine can execute them.
Trading Strategies and Exchange Adapters are injected by the Trading Engine on startup. The bot uses a simple
[YAML](https://en.wikipedia.org/wiki/YAML) backed dependency injection framework to achieve this; the long term goal is
to convert it into a fully configurable [Spring Boot](https://spring.io/projects/spring-boot) app.
The bot was designed to fail hard and fast if any unexpected errors occur in the Exchange Adapters or Trading Strategies:
it will log the error, send an email alert (if configured), and then shut downExcerpt of 36,149 characters
Read on GitHub956
2
2
2
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:a628e8a06fd57945, topic:trading, readme:financial, desc:trading bot