entry_message(password, amount, leverage, order_name)
Make a Entry Message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
amount: (float) [Optional] amount. If not set, your strategy qty will be sent.
leverage: (int) [Optional] leverage. If not set, your leverage doesn't change.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
close_message(password, percent, order_name)
Make a close message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
percent: (string) [Required] what percentage of your quantity you want to close.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.