Tutorials
Tutorials
Step-by-step walkthroughs demonstrating specific features and workflows.
Each tutorial is generated from a Jupyter notebook located in the docs tutorials directory. These notebooks serve as valuable learning aids and let you execute the code interactively.
- Make sure you are using the tutorial docs that match your NautilusTrader version:
- Latest: These docs are built from the HEAD of the
masterbranch and work with the latest stable release. See https://nautilustrader.io/docs/latest/tutorials/. - Nightly: These docs are built from the HEAD of the
nightlybranch and work with bleeding-edge and experimental features. See https://nautilustrader.io/docs/nightly/tutorials/.
Running in docker
Alternatively, a self-contained dockerized Jupyter notebook server is available for download, which requires no setup or installation. This is the fastest way to get up and running to try out NautilusTrader. Note that deleting the container will also delete any data.
- To get started, install docker:
- Go to Docker installation guide and follow the instructions.
- From a terminal, download the latest image:
docker pull ghcr.io/nautechsystems/jupyterlab:nightly --platform linux/amd64
- Run the docker container, exposing the Jupyter port:
docker run -p 8888:8888 ghcr.io/nautechsystems/jupyterlab:nightly
- When the container starts, a URL with an access token will be printed in the terminal. Copy that URL and open it in your browser, for example:
Examples use log_level="ERROR" because Nautilus logging exceeds Jupyter's stdout rate limit,
causing notebooks to hang at lower log levels.