Tutorials

Welcome to the tutorials for NautilusTrader!

This section offers a guided learning experience with a series of comprehensive step-by-step walkthroughs. Each tutorial targets specific features or workflows, allowing you to learn by doing. From basic tasks to more advanced operations, these tutorials cater to a wide range of skill levels.

Tip

Make sure you are following the tutorial docs which match the version of NautilusTrader you are running:

  • Latest - These docs are built from the HEAD of the master branch and work with the latest stable release.

  • Develop - These docs are built from the HEAD of the develop branch and work with bleeding edge and experimental changes/features currently in development.

Backtesting

Backtesting involves running simulated trading systems on historical data. The backtesting tutorials will begin with the general basics, then become more specific.

Which API level?

For more information on which API level to choose, refer to the Backtesting guide.

Backtest (low-level API)

This tutorial runs through how to load raw data (external to Nautilus) using data loaders and wranglers, and then use this data with a BacktestEngine to run a single backtest.

Backtest (high-level API)

This tutorial runs through how to load raw data (external to Nautilus) into the data catalog, and then use this data with a BacktestNode to run a single backtest.