Skip to content

Strategy anatomy

This section explains how Structure models a strategy revision and how the parts fit together. It is meant to help you move from a trading idea to a concrete revision without needing to think in compiler or runtime terms.

At a high level, a strategy revision is made up of a few core ingredients:

  • The graph where you build its logic.
  • Which states it can be in.
  • What it remembers across evaluations.
  • Which updates cause it to evaluate.
  • Which reusable groups it depends on.
  • Strategy graph explains the strategy view and how the graph is organized.
  • Numeric types explains how numeric values behave in strategies and why some inputs must be entered as decimals.
  • State machines explains states, transitions, and the decision tree that moves the strategy between them.
  • Memory slots explains how a strategy stores values between evaluations.
  • Groups explains reusable grouped building blocks that can appear in the Structure UI.