Skip to main content

Managing Transitions

Transitions define how your strategy moves between states. Each transition specifies a trigger (what causes it), an optional set of conditions (what must be true), and optional actions (what to do when it fires).

Opening the Transitions Manager

  1. In SMITH, click the gear icon to open the Strategy Toolbar.
  2. Select Manage Transitions.

The Transitions Manager gives you a centralized view of every transition in your strategy — both regular transitions (from a specific state) and global event handlers (from any state).

Transition Display

Each transition in the list shows:

  • Source state — where the transition starts (or "any state" for globals)
  • Target state — where the transition leads
  • Trigger type — an icon and label indicating what causes evaluation:
TriggerDescription
CandleFires on a new candle event from a candle data stream
EventFires on a custom event from an event data stream
AfterFires after a specified time delay
AlwaysEvaluates immediately on every state entry (no external trigger needed)
GlobalA global event handler — can fire from any state
  • Condition count — how many conditions are attached
  • Action count — how many actions are attached

Sorting and Grouping

Use the sort toggle at the top to change how transitions are organized:

ViewGroups By
CategoryTrigger type — Event Triggers, Time-Based, Immediate, No Trigger, Global Handlers
SourceSource state — all transitions leaving each state together
TargetTarget state — all transitions arriving at each state together
StreamData stream — grouped by which instrument/stream triggers them
A-ZAlphabetical by source then target state

Bulk Replace Event Source

The Replace Source button lets you change the event source across multiple transitions at once. This is useful when you want to switch a strategy from one data stream to another without editing each transition individually.

Editing and Deleting

  • Click Edit on any transition to modify its trigger, target, conditions, or actions
  • Click Delete to remove a transition (confirms before deleting)