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

Variable (naming example)DescriptionTypeDefault Value (description)Component Configuration (description)Remarks
pNumDescription of parameter pNumNumeric (number)Example: Set default value to 100, floating point type in C++ strategiesUsed to set the interface control bound to the current parameter: component type, minimum value, maximum value, grouping, filters, etc.Remarks for parameter pNum, the value of pNum is numeric type
pBoolDescription of parameter pBoolBoolean (true/false)Use switch control to set default value, optional control not supportedSame as aboveRemarks for parameter pBool, the value of pBool is boolean type
pStrDescription of parameter pStrString (string)Example: Set default value to abcSame as aboveRemarks for parameter pStr, the value of pStr is string type
pComboxDescription of parameter pComboxDropdown (selected)Set one or more options from the optionsSame as aboveRemarks for parameter pCombox, the value of pCombox may have various forms
pSecretStrDescription of parameter pSecretStrEncrypted string (string)Example: Set default value to xyzSame as aboveRemarks for parameter pSecretStr, the value of pSecretStr is string type

Interface parameters are configured in the strategy parameters area below the code editor on the strategy editing page. Please note the following:

  1. In the default value option of parameter settings, the "Optional" control is optional by default. You can change the state of this control to set the current parameter as required. After setting a parameter as required, if the parameter is not set during backtesting or live trading, backtesting cannot be performed or live trading cannot be started.
  2. Variable names for interface parameters in strategy code should not use reserved words (keywords) of the current programming language.
  3. In the backtesting or live trading interface, hovering the mouse over the control bound to a parameter will display the parameter's remarks.
  4. The "Description" of a parameter is the display name of the control bound to the parameter.
  5. The "Variable" of a parameter refers to those in the table above: pNum, pBool, pStr, pCombox, pSecretStr. They exist as global variables in the strategy code, so the values of strategy parameters can be modified in the code.
  6. For "Encrypted string" and "String" type parameters, no quotes are needed when entering default values; all input is treated as strings. "Encrypted string" parameters are used the same way as "String" parameters, but encrypted strings are transmitted encrypted and not sent in plain text.
  7. If a "String" type parameter is set to "Optional", when no parameter is filled in the control bound to the parameter, the value of the parameter variable is empty string;
    Similarly, the value of a "Numeric" parameter is null;
    Similarly, the value of a "Dropdown" parameter is null;
    Similarly, the value of an "Encrypted string" parameter is null.
  8. For dropdown type interface parameters (e.g., variable name pCombox), when "Support multiple selection" is not enabled in "Component Configuration", the value of pCombox is the index or specific data of the currently selected option (when data is bound to options).
    If "Support multiple selection" is enabled, the value of pCombox is an array containing the indices or specific data of all currently selected options (when data is bound to options).