SignalBee
All Guides
Binance10 minutes

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.

  1. Log in to Binance
  2. Click your profile icon → API Management
  3. Click Create API → Select System-generated
  4. Label it: SignalBee Trading
  5. Complete 2FA verification
  6. Copy your API Key and Secret Key immediately (Secret Key is only shown once)

Configure Permissions

Enable only these permissions:

PermissionEnable?
Enable Reading✅ Yes
Enable Spot & Margin Trading✅ Yes
Enable WithdrawalsNever

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.

  1. Log in to SignalBee
  2. Go to Exchanges in the sidebar
  3. Click Add Exchange → Select Binance
  4. Paste your API Key and Secret Key
  5. Click Save and Test Connection
  6. 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.

  1. In SignalBee, go to Webhooks
  2. Click Create Webhook
  3. Select your Binance exchange connection
  4. 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.

  1. Go to Configuration in SignalBee
  2. Whitelist pairs you want to trade (e.g., BTCUSDT, ETHUSDT)
  3. Set Max order size to limit individual trade amounts
  4. 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.

  1. Open TradingView and load your strategy
  2. Click Alert (clock icon) or right-click the chart → Add Alert
  3. Configure your alert conditions
  4. In Notifications, enable Webhook URL
  5. Paste your SignalBee webhook URL
  6. In the Message field, enter your signal JSON:
{
  "action": "buy",
  "ticker": "BTCUSDT",
  "quantity_type": "percentage",
  "quantity": "50"
}

Signal Format Reference

FieldRequiredValues
actionYesbuy, sell, or close
tickerYesTrading pair (e.g., BTCUSDT)
quantity_typeYespercentage or fixed
quantityYesAmount 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.

  1. In TradingView, click Test on your alert to send a test webhook
  2. In SignalBee, go to Signals to see if the signal was received
  3. Check Orders to confirm the trade executed on Binance
  4. 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

IssueSolution
Signal not receivedVerify webhook URL is correct, check TradingView has Pro subscription
Signal rejectedCheck pair is whitelisted, trading is enabled, order doesn't exceed max size
Order failedVerify sufficient balance, check Binance API permissions
401 UnauthorizedWebhook 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:

  1. ✅ Created Binance API key with trading permissions
  2. ✅ Connected Binance to SignalBee
  3. ✅ Created a SignalBee webhook
  4. ✅ Configured trading settings and whitelisted pairs
  5. ✅ Set up TradingView alert with webhook URL
  6. ✅ 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.