Type/to search
Welcome to FMZ Quant Trading Platform
Programming Languages
JavaScript
TypeScript
Python
C++
MyLanguage
PINE Language
Blockly Visual Programming
Workflow
Key Security
Live Trading
Strategy Library
Docker
Deploy Docker
One-Click Docker Rental
Manual Deployment of Bot
Docker Operation Precautions
Global IP Address Specification
Command Line Parameters for Bot Program
Live Trading Data Migration
Docker Monitor
Exchange
Strategy Editor
Backtesting System
Strategy Entry Functions
Strategy Framework and API Functions
Template Library
Strategy Parameters
Interactive Controls
Options Trading
C++ Strategy Writing Guide
JavaScript Strategy Writing Guide
Web3
Built-in Libraries
Extended API Interface
MCP Service
Trading Terminal
Data Explorer
Alpha Factor Analysis Tool
General Protocol
Debugging Tool
Remote Editing
Import and Export of Complete Strategies
Multi-language Support
Live Trading and Strategy Grouping
Live Trading Display
Strategy Sharing and Renting
Live Trading Message Push
Common Causes of Live Trading Errors and Abnormal Exits
Exchange-Specific Notes

The "Component Configuration" option for strategy interface parameters is used to set controls corresponding to 5 parameter types on the platform, enhancing functionality and simplifying design.

Supported component types for the 5 interface parameters:

  • Number type parameters
    Supported component types: Input box control (default), Time picker control, Slider control.
  • Boolean (true/false) parameters
    Only supports switch control (default).
  • String parameters
    Supported component types: Input box control (default), Text box control, Time picker control, Color picker control, Currency selector, Trading code selector.
  • Dropdown (selected) parameters
    Supported component types: Dropdown control (default), Segmented control, Currency selector, Trading code selector.
  • Encrypted string parameters
    Only supports encrypted input box control (default).

In addition to setting the control types for interface parameters, you can also set grouping and filtering for interface parameters.

  • Grouping
    In the "Group" input box of component configuration, you can enter a label name to group several strategy interface parameters under the same group label (replacing the platform's old "Strategy Grouping" feature).
  • Filter
    In the "Filter" input box of component configuration, you can enter filter condition expressions to control whether interface parameters take effect (replacing the platform's old "Parameter Dependency" feature).
    The filter is empty by default, with no parameter condition filtering; you can set: a > b, a == 1, a, !a, a >= 1 && a <= 10, a > b, etc. When the filter condition is true, the current parameter is available.
    • When a parameter has filter a == 1 set, the availability of this parameter depends on the value of parameter a. When parameter a equals 1, this parameter is available; otherwise, it is unavailable.
    • When a parameter has filter a >= 1 && a <= 10 set, it means the filter condition is: a is greater than or equal to 1 and a is less than or equal to 10. When this condition is met, the parameter is available; otherwise, it is unavailable.
    • When a parameter has filter !a set, it means the filter condition is: not a; a can be a boolean value or a numeric value (!0 represents true).