Configure TradingView webhook alerts for Bitget

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

Step 1

Add strategy and create TradingView alert

Attach your Pine strategy and create an alert for order events on a Bitget symbol.

Strategy
TradingView strategy on chart
Create alert
TradingView alert dialog
Step 2

Set webhook URL and JSON message

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

Message
TradingView alert message
Webhook
TradingView webhook notification
Step 3

Recreate alerts after strategy changes

Recreate TradingView alerts whenever strategy parameters change so routing stays aligned.

JSON

TradingView alert message template

{
  "bitget_api_key": "PUT YOUR BITGET API KEY HERE",
  "bitget_secret": "PUT YOUR BITGET SECRET HERE",
  "bitget_passphrase": "PUT YOUR PASSPHRASE HERE",
  "real_order": "Yes / No",
  "order_market": "Spot / Futures",
  "order_type": "Market / Limit",
  "margin_mode": "isolated / crossed",
  "exchange": "bitget",
  "ticker": "{{ticker}}",
  "time": "{{timenow}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "order_action": "{{strategy.order.action}}",
  "order_price": "{{strategy.order.price}}",
  "market_position": "{{strategy.market_position}}",
  "prev_market_position": "{{strategy.prev_market_position}}"
}