NautilusTrader
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.

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:
  • 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.

On this page