Disclaimer: In compliance with MiCA requirements, unauthorized stablecoins are subject to certain restrictions for EEA users. For more information, please click here.
A webhook is a method that allows TradingView to communicate real-time data directly to Binance. Essentially, it lets specific conditions set on TradingView immediately trigger trading orders on Binance.
TradingView users can create alerts or execute trading strategies via webhook. When these alerts or strategies are triggered, a webhook message, containing trade specifics, such as the trading symbol, side, and quantity, will be dispatched to Binance. Upon receiving these, Binance will automate the trade execution.
Currently, only USDⓈ-M Futures users can access this feature. Binance supports both default and Portfolio Margin trading modes.
To access webhooks, you need a TradingView Pro, Pro+, or Premium account. The service is predominantly designed for USDⓈ-M default trading users.
Step 1: Create a webhook on Binance
1. Log in to your Binance account and go to the USDⓈ-M trading interface. Select your desired trading pair.
2. Go to the [Strategy] tab and choose [Webhook Signal Trading]. Click [Create Now].
3. Read the notes and click [Confirm and Proceed].
4. Create a name for your signal, choose a trading pair for which you wish to receive signals and confirm the order setting, then click [Create Signal].
Note:
5. You'll see your webhook URL and the alert message. Keep these handy as you'll need to enter them into the TradingView alert settings later.
6. Select [Strategy] and click [Run Webhook], then review and accept the Terms and Conditions.
Step 2: Configure TradingView
1. Log in to your TradingView account. You’ll need a TradingView Pro, Pro+, or Premium account to integrate with Binance.
Select a USDⓈ-M trading pair (e.g., ETHUSDT.P for ETH Futures perpetual contract) and click [Launch chart].
2. Import existing strategies under [Indicators] - [Technicals].
Alternatively, go to the [Strategy Tester] tab and select your desired strategy to customize.
3. Confirm your parameters and you’ll see the strategy under the [Overview] tab.
4. Click the [Add alert] icon to add an alert for your chosen strategy.
5. Under the [Settings] tab, name your alert and enter the message from your Binance webhook setup.
Please make sure the message matches the one in the Binance webhook.
Example Message Format: {"symbol":"{{ticker}}","side":"buy","qty":"1","price":"{{close}}","trigger_time":"{{timenow}}","signal_id":"175cbc02-79eb-44ef-ac67-d0d818c6f928","UID":"xxxxx"}
6. Under the [Notifications] tab, paste the Alert webhook URL you got from Binance. Click [Save].
7. Click [Run Webhook] to confirm.
8. You’ll see all alerts under the [Alerts] panel on the right of the TradingView interface. You can hover over an alert to view its details.
You may stop, edit, or remove alerts as needed.
Step 1: Create a webhook on Binance
1. Log in to your Binance account and go to the USDⓈ-M trading interface. Select your desired trading pair.
2. Go to the [Strategy] tab and choose [Webhook Signal Trading]. Click [Create Now].
3. Read the notes and click [Confirm and Proceed].
4. Create a name for your signal, and choose a trading pair for which you wish to receive signals, and confirm the order setting then. Click [Create Signal].
Note:
5. You'll see your webhook URL and the alert message. Keep these handy as you'll need to enter them into the TradingView alert settings later.
6. Select [Alert] and click [Run Webhook], then review and accept the Terms and Conditions.
Step 2: Configure TradingView
1. Log in to your TradingView account. You’ll need a TradingView Pro, Pro+, or Premium account to integrate with Binance.
2. Click the [Add Alert] icon to add an alert for your chosen strategy.
3. Under the [Settings] tab, name your alert and enter the message from your Binance webhook setup.
Please make sure the message matches the one in the Binance webhook.
Example Message Format: {"symbol":"{{ticker}}","side":"buy","qty":"1","price":"{{close}}","trigger_time":"{{timenow}}","signal_id":"175cbc02-79eb-44ef-ac67-d0d818c6f928","UID":"xxxxx"}
4. Under the [Notifications] tab, paste the Alert webhook URL you got from Binance. Click [Save].
5. Click [Run Webhook] to confirm.
6. You’ll see all alerts under the [Alerts] panel on the right of the TradingView interface. You can hover over an alert to view its details.
You may stop, edit, or remove alerts as needed.