Push settings page, you can set the message push to be turned on.
http://abc.com/push.php?data={body}
.
When the bot program sends a push message, it sends a request (only supports GET
method) to the set address http://abc.com/push.php?data={body}
and the push message is replaced in the {body}
position.Push messages in strategy
Log()
function in the strategy code and functions that can output log information in the log area, such as: exchange.CreateOrder()
, exchange.CancelOrder()
, etc.
Pass an additional parameter "@"
to these functions (that is, add an additional parameter in addition to the necessary parameters), for example: Log("This is a pushed message", "@")
, then the output log information can be pushed, and the platform will push the message according to the “Push Settings”.There is a frequency limit for message push, and the specific restriction rules are as follows: within a 20-second period of live trading, only the last push message will be retained and pushed, and other messages will be filtered and not pushed.
Strategy Sharing & Renting Common Causes for Live Trading Error & Abnormal Exit