Interactive Controls
Strategies in JavaScript, Python, Rust and MyLanguage can have interactive controls, which send interaction commands to the strategy while it is running live. In JavaScript, Python and Rust strategies, the messages produced by interactive controls are read with the GetCommand function. The "Component Configuration" of interactive controls is the same as for strategy parameters (see Component Configuration).

With code in the strategy that handles interactive control messages, interactive controls in live trading can be used for (among other things):
- Manually closing the strategy's positions.
- Changing strategy parameters dynamically without restarting the live trading.
- Switching strategy logic.
- Printing debugging information or data to test a feature.
In this sectionRead the whole section
| Name | Description |
| Types of Interactive Controls | There are 5 types of interactive control. |
| Interactive Controls in Status Bar | Besides the controls designed in the "Strategy Interaction" section, a strategy can output interactive controls in its status bar. |