Getting Started
Platform Basics
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Integrations
Live Trading Message Push
You can enable the message push feature on the Push Settings page.

- 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 addresshttp://abc.com/push.php?data={body}(only theGETmethod 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 theLog()function as well as other functions that output log information in the log area, such asexchange.CreateOrder(),exchange.CancelOrder(), etc.
By passing an additional parameter"@"to these functions (i.e., adding an extra parameter beyond the required ones), for exampleLog("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 correspondingLog!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.