Step 1
Set TradingView webhook URL and message JSON
Use your TradeAdapter webhook URL and set a structured alert message so TradingView webhook alerts can route to Bybit through TradeAdapter.
Step 2
Map required Bybit message fields
Update API credentials and routing fields only. TradingView fills strategy placeholders automatically at alert time.
Step 3
Recreate alerts after strategy changes
Recreate TradingView alerts when strategy inputs change to keep real-time trade execution aligned with your current logic.
JSON
TradingView alert message template
{
"bybit_api_key": "PUT YOUR BYBIT API KEY HERE",
"bybit_api_secret": "PUT YOUR BYBIT API SECRET HERE",
"real_order": "Yes / No",
"order_market": "Spot / Margin / Futures / Copy",
"order_type": "Market / Limit",
"isolated_margin": "Yes / No",
"exchange": "bybit",
"ticker": "{{ticker}}",
"time": "{{timenow}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.order.action}}",
"order_price": "{{strategy.order.price}}"
}