Type/to search
Getting Started
Welcome to FMZ Quant Trading Platform
Quick Start
Key Security
Platform Basics
Account and Billing
Live Robot Billing and Top-up
Sub-accounts
Exchange
General Protocol
Local Credential Files
Exchange-Specific Notes
Securities and Futures
Crypto
Docker
Strategy Library
Live Trading
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Integrations

Both strategy interface parameters and strategy interactive controls have a "Component Configuration" option. It sets the UI control used for the parameter (or interactive control), as well as the minimum, maximum, group, filter and so on.

Components supported by each type:

  • Number (number)
    Input box (default), time picker, slider.
  • Boolean (true/false)
    Switch only (default).
  • String (string)
    Input box (default), text box, time picker, color picker, currency, trading symbol.
  • Dropdown (selected)
    Dropdown (default), segmented control, currency, trading symbol.
  • Encrypted string (string), strategy parameters only
    Encrypted input box only (default).
  • Button (button), interactive controls only
    A single button (default), with no input.

Group

Enter a label in the "Group" box of the component configuration to put several strategy parameters in the same group (replacing the platform's old "Strategy Grouping" feature). Interactive controls can be grouped the same way (replacing the old "Interactive Control Grouping" feature).

Filter

In the component configuration of a strategy parameter, the "Filter" box takes a condition expression that controls whether the parameter is available (replacing the platform's old "Parameter Dependency" feature).
The filter is empty by default, meaning no filtering. Expressions such as a > b, a == 1, a, !a and a >= 1 && a <= 10 can be used. The parameter is available when the condition is true.

  • With the filter a == 1, the parameter's availability depends on the value of parameter a: it is available when a equals 1, otherwise not.
  • With the filter a >= 1 && a <= 10, the parameter is available when a is greater than or equal to 1 and less than or equal to 10, otherwise not.
  • With the filter !a, the condition is "not a"; a can be a boolean or a number (!0 is true).