Configure TradingView webhook alerts for BingX

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

Step 1

Create TradingView alert on BingX symbol

Use a BingX swap symbol on your chart before creating the alert.

Chart
TradingView chart
Alert
TradingView alert
Step 2

Configure message and webhook URL

Paste JSON and webhook URL from your TradeAdapter profile for real-time trade execution.

Message
Alert message
Webhook
Webhook notification
JSON

TradingView alert message template

{
  "bingx_api_key": "PUT YOUR BINGX API KEY HERE",
  "bingx_secret": "PUT YOUR BINGX SECRET KEY HERE",
  "real_order": "Yes / No",
  "order_type": "Market / Limit",
  "order_market": "Swap",
  "exchange": "bingx",
  "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}}"
}