Quickstart using Docker#
This guide assumes that docker and docker-compose are already installed on your system. (click here to download Docker)
The following commands will initialise the file structure used by the Engine. Run the commands in your terminal. You only need to do this once!
docker run -t --rm -v "$(pwd):/usr/src/engine/output" dematrading/engine:stable init <YOUR_DIRECTORY_NAME>
Once the above is done, you're ready to start the first backtest. This can be done by running the command below.
# Run your first backtest docker-compose run --rm dema-engine
Updating the Engine with docker-compose#
Updating is done by running the following command:
# Update the engine docker-compose pull