SignalBee
All Guides
Bybit10 minutes

How to Connect TradingView to Bybit for Automated Trading

Automate your TradingView strategy on Bybit in under 10 minutes. Bybit is one of the largest derivatives exchanges, offering both spot trading and perpetual futures with up to 100x leverage.

What You'll Need

Before starting, ensure you have:

  • TradingView Pro or higher - Webhooks require a paid TradingView subscription
  • Verified Bybit account - KYC verification completed
  • SignalBee account - Free to sign up at signalbee.trade
  • 5-10 minutes - Fast setup process

Step 1: Create Your Bybit API Key

First, create an API key on Bybit for SignalBee.

  1. Log in to Bybit
  2. Click your profile icon → API
  3. Click Create New Key
  4. Select System-generated API Keys

Configure API Settings

SettingValue
NameSignalBee Trading
API Key PermissionsRead-Write
Linked IPOptional (leave blank or add SignalBee IPs)

Required Permissions

Enable these permissions:

PermissionEnable?
Spot Trading✅ Yes
Contract - Unified Trading✅ Yes (for futures)
WithdrawNever
  1. Complete 2FA verification
  2. Copy your API Key and API Secret immediately

Important: The API Secret is shown only once. Save it securely.

Step 2: Connect Bybit to SignalBee

Link your Bybit API key to SignalBee.

  1. Log in to SignalBee
  2. Go to Exchanges in the sidebar
  3. Click Add Exchange → Select Bybit
  4. Paste your API Key and API Secret
  5. Click Save and Test Connection
  6. Verify you see ✅ "Connection successful"

Your Bybit balances should now appear in SignalBee.

Step 3: Create Your SignalBee Webhook

SignalBee provides a unique webhook URL for your alerts.

  1. In SignalBee, go to Webhooks
  2. Click Create Webhook
  3. Select your Bybit exchange connection
  4. Copy your webhook URL

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 trade amounts
  4. Enable Trading when ready

Bybit Ticker Format

Bybit uses standard concatenated format:

TypeFormatExample
SpotBASEUSDTBTCUSDT, ETHUSDT
PerpetualBASEUSDTBTCUSDT, ETHUSDT

Same ticker format works for both spot and perpetual trading.

Step 5: Set Up Your TradingView Alert

Connect TradingView to SignalBee.

  1. Open TradingView and load your strategy
  2. Click Alert (clock icon)
  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 USDT balance:

{"action": "buy", "ticker": "BTCUSDT", "quantity_type": "percentage", "quantity": "50"}

Sell 0.1 ETH:

{"action": "sell", "ticker": "ETHUSDT", "quantity_type": "fixed", "quantity": "0.1"}

Step 6: Test Your Setup

Verify everything works.

  1. In TradingView, click Test on your alert
  2. In SignalBee, check Signals page
  3. Verify Orders shows the executed trade
  4. Confirm in Bybit trade history

Bybit-Specific Notes

Spot vs Perpetual Trading

Bybit offers both:

TypeUse CaseWallet
SpotBuy/sell crypto directlySpot Wallet
PerpetualTrade with leverageUnified Trading Account

Ensure funds are in the correct wallet for your trading type.

Trading Fees

TypeMakerTaker
Spot0.10%0.10%
Perpetual0.02%0.055%

Perpetual trading has lower fees than spot.

Minimum Order Sizes

PairSpot MinPerpetual Min
BTCUSDT0.000048 BTC0.001 BTC
ETHUSDT0.0006 ETH0.01 ETH

Leverage (Perpetual Only)

If using perpetual futures:

  • Default leverage is 10x
  • Set leverage in Bybit before trading
  • SignalBee sends orders at your configured leverage

Troubleshooting

IssueSolution
Invalid API keyVerify key is active and not expired
No permissionEnable Spot Trading or Unified Trading permission
Insufficient balanceCheck funds are in correct wallet (Spot vs Unified)
Order too smallIncrease quantity to meet minimums

Summary

You've connected TradingView to Bybit in 6 steps:

  1. ✅ Created Bybit API key with trading permissions
  2. ✅ Connected Bybit to SignalBee
  3. ✅ Created a SignalBee webhook
  4. ✅ Configured trading settings and whitelist
  5. ✅ Set up TradingView alert with webhook
  6. ✅ Tested the complete flow

Your TradingView strategy now executes automatically on Bybit.


Need help? Contact support@signalbee.trade or visit our Help Center.