Using Interactive Controls to Manage Live Trading Strategies
Summary
This guide explains how interactive controls send commands to a running trading strategy. Controls can carry numbers, booleans, strings, dropdown selections, or button actions; strategy code retrieves the resulting messages and can use them to change parameters, switch logic, close positions, or request diagnostic output. The examples show how a symbol parameter can be updated while a strategy continues running.
The guide also covers configuring control components, grouping controls, and placing buttons with optional inputs in the status bar. It describes how input values are represented in commands and outlines settings such as ranges, selections, defaults, and conditional visibility. These features provide a way to operate a live strategy through its platform interface, but the document is an implementation reference rather than a discussion of trading performance or safeguards; users must define appropriate command handling in their own strategies.
Key ideas
- Interactive controls deliver commands to a running strategy without requiring a restart.
- Controls can pass numeric, boolean, text, dropdown, or button inputs.
- Strategy code can use received commands to update parameters, switch behavior, or trigger diagnostics.
- Status bar buttons can include one input or a grouped set of inputs.
- Component settings support options such as defaults, ranges, grouping, and conditional filtering.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.