Create Your Alerts
1
2
3
Message (the most critical part)
This is the most critical part. The message is the "code" that tells your service what to do (e.g., buy or sell) and how much.
Delete everything in the default message box.
Paste the Webhook Message for Trade Start Signal JSON you received from the 3Commas Configuration page. It should look similar to the following:
4
{ "secret": "******************************************************************************************************", "max_lag": "300", "timestamp": "{{timenow}}", "trigger_price": "{{close}}", "tv_exchange": "{{exchange}}", "tv_instrument": "{{ticker}}", "action": "{{strategy.order.action}}", "bot_uuid": "*******************************", "strategy_info": { "market_position": "{{strategy.market_position}}", "market_position_size": "{{strategy.market_position_size}}", "prev_market_position": "{{strategy.prev_market_position}}", "prev_market_position_size": "{{strategy.prev_market_position_size}}" }, "order": { "amount": "{{strategy.order.contracts}}", "currency_type": "base" }}5
7
Congratulations! Your bot is now live. When the strategy decides to enter or exit a trade, it will automatically send that alert to your webhook URL, which will then execute the trade on your exchange.
Last updated