Backtest Lab Docs

State Machines

Understand how state machines work and why they are useful for representing trading strategies. This section introduces the fundamental concepts of states and transitions, then explores how Backtest Lab uses them to build strategies that follow sequences of trading decisions and perform actions as they progress.