var enter_long_msg = "Enter Long"
var exit_long_msg = "Exit Long"
algorithm_id = "" // Given on creation of algorithm on Mercor
secret = "" // Given on creation of algorithm on Mercor
slippage = "0.0002" // 0.002 which corresponds to 0.2%
relative_amount = "0.1" // 0-1, 1 = 100%
// Remember to add the webhook - https://app.mercor.finance/API_reroute
if secret != "" and algorithm_id != ""
enter_long_msg := '{"order_type":"' + order_type_buy + '","algorithm_id":"' + algorithm_id + '","secret":"' + secret + '","slippage":"' + slippage + '","relative_amount":"' + relative_amount + '"}'
exit_long_msg := '{"order_type":"' + order_type_sell + '","algorithm_id":"' + algorithm_id + '","secret":"' + secret + '","slippage":"' + slippage + '","relative_amount":"' + relative_amount + '"}'