Welcome to FMZ Quant Trading Platform
Programming Languages
Key Security
Live Trading
Strategy Library
Docker
Exchange
Strategy Editor
Backtesting System
Backtesting System Modes
Impact of Backtest Data Granularity on Backtesting
Backtesting System Supports Multiple Programming Languages
Exchanges Supported by Backtesting System
Backtest System Parameter Optimization
Save Backtest Settings
Custom Data Source
Local Backtesting Engine
Backtest Page Shortcuts
Backtest Data Download
Backtest System Sharpe Ratio Algorithm
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
Logging Functions
| Function Name | Description |
|---|---|
| Log | Output logs, supports setting log text color, push notifications, and printing base64-encoded images |
| LogProfit | Output profit/loss data, print P&L values and draw profit curves based on the values |
| LogProfitReset | Clear all profit logs and profit charts output by the LogProfit function |
| LogStatus | Output information in the status bar, supports setting button controls and outputting tables in the status bar |
| EnableLog | Enable or disable logging for order information |
| Chart | Chart drawing function, based on Highcharts/Highstocks chart library |
| KLineChart | Pine language-style chart drawing function, used for custom drawing in a Pine-like manner during strategy execution |
| LogReset | Clear logs, supports retaining a specified number of recent log records through parameters |
| LogVacuum | Reclaim SQLite resources, reclaim storage space occupied by SQLite when deleting data after calling LogReset() function to clear logs |
| console.log | Output debug information in the "Debug Info" section of the live trading page |
| console.error | Output error information in the "Debug Info" section of the live trading page |