Using the Alpaca trading API to create a bot automatically placing stock and crypto orders according to given strategies.
To run this project, you will need to add the following environment variables to src/main/resources/application-local.properties:
Alpaca API keys:
ALPACA_API_KEY_IDALPACA_API_SECRET_KEY
MongoDB connection:
spring.data.mongodb.urispring.data.mongodb.database
Once you have set the environment variables, you can build the project using Maven
mvn clean installGo to the target directory
cd targetRun the .jar file
java -jar alpaca-bot-[version].jar