Configure TradingView webhook alerts for KuCoin

Complete the webhook step for tradingview webhook automation and route structured alerts from TradingView to KuCoin through TradeAdapter.

Step 1

Use KuCoin symbols on TradingView

Confirm your chart uses a KuCoin symbol so alerts route correctly from TradingView to KuCoin.

KuCoin symbol
KuCoin symbol on TradingView
Step 2

Add strategy and create TradingView alert

Attach your Pine strategy, validate backtest results, then create an alert for buy/sell events.

Strategy setup
TradingView strategy setup
Alert setup
TradingView alert setup
Step 3

Set webhook URL and message payload

Use your TradeAdapter webhook URL and JSON payload for consistent real-time trade execution.

Message
TradingView alert message JSON
Webhook URL
TradingView webhook URL notification
Step 4

Recreate alerts after strategy changes

Recreate TradingView alerts whenever strategy parameters change so routing stays aligned with your latest logic.

JSON

TradingView alert message template

{
  "kucoin_api_key": "PUT YOUR KUCOIN API KEY HERE",
  "kucoin_secret": "PUT YOUR KUCOIN SECRET HERE",
  "kucoin_passphrase": "PUT YOUR KUCOIN PASSPHRASE HERE",
  "real_order": "Yes / No",
  "order_market": "Spot / Margin / Futures",
  "order_type": "Market / Limit",
  "futures_leverage": "2",
  "isolated_margin": "Yes / No",
  "exchange": "kucoin",
  "ticker": "{{ticker}}",
  "time": "{{timenow}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "order_action": "{{strategy.order.action}}",
  "order_price": "{{strategy.order.price}}"
}