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

You can enable the message push feature on the Push Settings page.

Push Settings

  • Mobile (App)
    After enabling mobile App push, push messages sent by the live trading program will be delivered to the FMZ Quant mobile App.
  • Email
    To enable email push, you must first verify your email address. Once verified, you can receive push messages sent by the live trading program.
  • WebHook
    After enabling WebHook push, you can customize the push address, for example: http://abc.com/push.php?data={body}.
    When the live trading program sends a push message, the platform will send a request to the configured address http://abc.com/push.php?data={body} (only the GET method is supported), and the pushed message content will replace the {body} placeholder.

Pushing Messages in Strategies

  • JavaScript/TypeScript/Python/Rust Languages
    In the strategy code, you can use the Log() function as well as other functions that output log information in the log area, such as exchange.CreateOrder(), exchange.CancelOrder(), etc.
    By passing an additional parameter "@" to these functions (i.e., adding an extra parameter beyond the required ones), for example Log("This is a push message", "@"), the output log information will be pushed, and the platform will push the message according to the "Push Settings". In the Rust language, the corresponding Log! macro is used the same way: Log!("This is a push message", "@");.
  • PINE Language/My Language
    In the "Trading Library" parameters integrated into PINE Language/My Language strategies, you can enable trading log push, which will automatically push messages after a trading action is triggered.
  • Blockly Visual
    In the "Tools" section, select the Message Push module to push specified information.

Message push is subject to a frequency limit, with the following rule: within each 20-second cycle of live trading, only the last message is retained and pushed, while all other messages are filtered out and not pushed.