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

  • Strategy static syntax errors

    Syntax error in editor

    Such errors are relatively obvious and can usually be seen as error markers in the strategy editing page, which can be discovered and corrected during backtesting.

  • Strategy runtime errors
    The most common situation is using function return values directly without validity checking.

  • Excessive memory usage
    Storing too much content in global variables that cannot be garbage collected, resulting in excessive memory usage.

  • Improper use of exchange.Go function for concurrent requests
    When using the asynchronous exchange.Go function, not properly using wait to wait for coroutines to finish, resulting in too many coroutines.

  • Function recursive calls
    Function recursive calls with too deep nesting levels, exceeding the coroutine stack size limit.

  • API business errors, network request errors, etc.
    Such errors will display relevant exchange object names, function names, error-related messages and reasons. These errors will not cause live trading to stop abnormally (such errors are usually the cause, but not the direct reason; the direct reason is usually program exceptions caused by using API return values directly without validity checking).

  • Platform underlying errors
    Common ones include Decrypt: Secret key decrypt failed error, which will prevent live trading from starting. The error is caused by changing the FMZ Quant Trading Platform account password, causing all configured API KEYs to become invalid. You need to reconfigure the API KEY and restart the docker to resolve it.

  • Python strategy encryption issues
    When renting out Python strategies, errors caused by incompatibility between the Python version used for platform strategy encryption and the Python version at runtime: ValueError: bad marshal data (unknown type code). This can be resolved by upgrading or installing the Python environment to any of the supported versions: Python 2.7, Python 3.5, or Python 3.6.

  • interrupt error
    This error occurs when the program is performing an operation (such as accessing exchange APIs) and the user clicks the Stop Live Trading button on the live trading page, interrupting the current operation. This error has no substantial impact and is merely a log record.

FAQ Summary.