Create your Cassandre project
If you don't have an existing spring boot project, you can use our maven archetype to generate one:
mvn archetype:generate -B \
-DarchetypeGroupId=tech.cassandre.trading.bot \
-DarchetypeArtifactId=cassandre-trading-bot-spring-boot-starter-basic-archetype \
-DarchetypeVersion=6.0.1 \
-DgroupId=com.mycompany.bot \
-DartifactId=my-trading-bot \
-Dversion=1.0-SNAPSHOT \
-Dpackage=com.mycompany.bot
The project will have the following structure and files:
my-trading-bot/
├── pom.xml
└── src
├── main
│ ├── java
│ │ └── com
│ │ └── mycompany
│ │ └── bot
│ │ ├── Application.java
│ │ ├── package-info.java
│ │ └── SimpleStrategy.java
│ └── resources
│ └── application.properties
└── test
├── java
│ └── com
│ └── mycompany
│ └── bot
│ └── SimpleStrategyTest.java
└── resources
├── application.properties
├── candles-for-backtesting-BTC-USDT.csv
├── user-main.tsv
├── user-savings.csv
└── user-trade.csv