How to Connect TradingView to Binance for Automated Trading
Automate your TradingView strategy on Binance in under 10 minutes. This guide shows you exactly how to set up automatic trade execution so your TradingView alerts place orders on Binance instantly, 24/7.
What You'll Need
Before starting, ensure you have:
- TradingView Pro or higher - Webhooks require a paid TradingView subscription
- Verified Binance account - Identity verification (KYC) completed
- SignalBee account - Free to sign up at signalbee.trade
- 5-10 minutes - That's all it takes
Step 1: Create Your Binance API Key
First, create an API key on Binance that allows SignalBee to place trades on your behalf.
- Log in to Binance
- Click your profile icon → API Management
- Click Create API → Select System-generated
- Label it:
SignalBee Trading - Complete 2FA verification
- Copy your API Key and Secret Key immediately (Secret Key is only shown once)
Configure Permissions
Enable only these permissions:
| Permission | Enable? |
|---|---|
| Enable Reading | ✅ Yes |
| Enable Spot & Margin Trading | ✅ Yes |
| Enable Withdrawals | ❌ Never |
Security: Never enable withdrawal permissions. SignalBee doesn't need them, and disabling them protects your funds even if your keys are compromised.
Step 2: Connect Binance to SignalBee
Now link your Binance API key to SignalBee.
- Log in to SignalBee
- Go to Exchanges in the sidebar
- Click Add Exchange → Select Binance
- Paste your API Key and Secret Key
- Click Save and Test Connection
- Verify you see ✅ "Connection successful"
Your Binance balances should now appear in SignalBee.
Step 3: Create Your SignalBee Webhook
SignalBee provides a unique webhook URL that receives your TradingView alerts.
- In SignalBee, go to Webhooks
- Click Create Webhook
- Select your Binance exchange connection
- Copy your webhook URL (format:
https://signalbee.trade/webhook/[user_id]/[secret])
Keep this URL private. Anyone with your webhook URL can send signals to your account.
Step 4: Configure Your Trading Settings
Set up safety limits before enabling trading.
- Go to Configuration in SignalBee
- Whitelist pairs you want to trade (e.g., BTCUSDT, ETHUSDT)
- Set Max order size to limit individual trade amounts
- Enable Trading when ready
Only whitelisted pairs will execute. Signals for other pairs are rejected for safety.
Step 5: Set Up Your TradingView Alert
Now connect TradingView to SignalBee.
- Open TradingView and load your strategy
- Click Alert (clock icon) or right-click the chart → Add Alert
- Configure your alert conditions
- In Notifications, enable Webhook URL
- Paste your SignalBee webhook URL
- In the Message field, enter your signal JSON:
{
"action": "buy",
"ticker": "BTCUSDT",
"quantity_type": "percentage",
"quantity": "50"
}
Signal Format Reference
| Field | Required | Values |
|---|---|---|
action | Yes | buy, sell, or close |
ticker | Yes | Trading pair (e.g., BTCUSDT) |
quantity_type | Yes | percentage or fixed |
quantity | Yes | Amount to trade |
Example signals:
Buy 50% of available USDT balance:
{"action": "buy", "ticker": "BTCUSDT", "quantity_type": "percentage", "quantity": "50"}
Sell 0.01 BTC:
{"action": "sell", "ticker": "BTCUSDT", "quantity_type": "fixed", "quantity": "0.01"}
Step 6: Test Your Setup
Verify everything works before going live.
- In TradingView, click Test on your alert to send a test webhook
- In SignalBee, go to Signals to see if the signal was received
- Check Orders to confirm the trade executed on Binance
- Verify the order in your Binance order history
If the test succeeds, your automation is live! TradingView alerts will now automatically execute trades on Binance.
Troubleshooting
| Issue | Solution |
|---|---|
| Signal not received | Verify webhook URL is correct, check TradingView has Pro subscription |
| Signal rejected | Check pair is whitelisted, trading is enabled, order doesn't exceed max size |
| Order failed | Verify sufficient balance, check Binance API permissions |
| 401 Unauthorized | Webhook URL secret doesn't match - regenerate webhook |
What's Next?
- Add more pairs to your whitelist as you expand your strategy
- Monitor performance in SignalBee's Signals and Orders pages
- Set up alerts for multiple strategies using the same webhook
- Enable futures if you trade perpetuals (requires additional Binance API permission)
Summary
You've connected TradingView to Binance in 6 steps:
- ✅ Created Binance API key with trading permissions
- ✅ Connected Binance to SignalBee
- ✅ Created a SignalBee webhook
- ✅ Configured trading settings and whitelisted pairs
- ✅ Set up TradingView alert with webhook URL
- ✅ Tested the complete flow
Your TradingView strategy now executes automatically on Binance, 24/7, even while you sleep.
Need help? Contact support@signalbee.trade or visit our Help Center.