Get into trading with minimum fuss
Available as a Spring boot starter, Cassandre takes care of exchange connection, accounts, orders, trades, and positions, so you can focus on building your strategy.
Create your strategy in minutes
Just code when you want to create short/long positions, set the rules, and we take care of everything (buying, selling, rules management, orders, trades, and tickers).
Several exchanges supported
Cassandre uses XChange library to connect to multiple exchanges. We test each Cassandre releases with Kucoin, Coinbase & Binance to be sure it works for you.
We provide a dry mode to simulate a virtual exchange replying to your orders, so you can easily test your strategy. This way, you can simulate your gains/loss over a period of time.
We provide a spring boot starter to backtest your bot on historical data. With this, during tests, Cassandre will import your data and push them to your strategy.
Technical Analysis support
Cassandre provides a specific class (BasicTa4jCassandreStrategy) to help you build a strategy based on the open source technical analysis library ta4j.
As Easy as 1, 2, 3
# Create a simple project with our archetype mvn archetype:generate \ -DarchetypeGroupId=tech.cassandre.trading.bot \ -DarchetypeArtifactId=cassandre-trading-bot-spring-boot-starter-basic-archetype \ -DarchetypeVersion=5.0.7 \ -DgroupId=com.example \ -DartifactId=my-bot \ -Dversion=1.0-SNAPSHOT \ -Dpackage=com.example # Runs unit tests mvn -f my-bot/pom.xml test