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.
- Log in to Bybit
- Click your profile icon → API
- Click Create New Key
- Select System-generated API Keys
Configure API Settings
| Setting | Value |
|---|---|
| Name | SignalBee Trading |
| API Key Permissions | Read-Write |
| Linked IP | Optional (leave blank or add SignalBee IPs) |
Required Permissions
Enable these permissions:
| Permission | Enable? |
|---|---|
| Spot Trading | ✅ Yes |
| Contract - Unified Trading | ✅ Yes (for futures) |
| Withdraw | ❌ Never |
- Complete 2FA verification
- 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.
- Log in to SignalBee
- Go to Exchanges in the sidebar
- Click Add Exchange → Select Bybit
- Paste your API Key and API Secret
- Click Save and Test Connection
- 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.
- In SignalBee, go to Webhooks
- Click Create Webhook
- Select your Bybit exchange connection
- Copy your webhook URL
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 trade amounts
- Enable Trading when ready
Bybit Ticker Format
Bybit uses standard concatenated format:
| Type | Format | Example |
|---|---|---|
| Spot | BASEUSDT | BTCUSDT, ETHUSDT |
| Perpetual | BASEUSDT | BTCUSDT, ETHUSDT |
Same ticker format works for both spot and perpetual trading.
Step 5: Set Up Your TradingView Alert
Connect TradingView to SignalBee.
- Open TradingView and load your strategy
- Click Alert (clock icon)
- 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 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.
- In TradingView, click Test on your alert
- In SignalBee, check Signals page
- Verify Orders shows the executed trade
- Confirm in Bybit trade history
Bybit-Specific Notes
Spot vs Perpetual Trading
Bybit offers both:
| Type | Use Case | Wallet |
|---|---|---|
| Spot | Buy/sell crypto directly | Spot Wallet |
| Perpetual | Trade with leverage | Unified Trading Account |
Ensure funds are in the correct wallet for your trading type.
Trading Fees
| Type | Maker | Taker |
|---|---|---|
| Spot | 0.10% | 0.10% |
| Perpetual | 0.02% | 0.055% |
Perpetual trading has lower fees than spot.
Minimum Order Sizes
| Pair | Spot Min | Perpetual Min |
|---|---|---|
| BTCUSDT | 0.000048 BTC | 0.001 BTC |
| ETHUSDT | 0.0006 ETH | 0.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
| Issue | Solution |
|---|---|
| Invalid API key | Verify key is active and not expired |
| No permission | Enable Spot Trading or Unified Trading permission |
| Insufficient balance | Check funds are in correct wallet (Spot vs Unified) |
| Order too small | Increase quantity to meet minimums |
Summary
You've connected TradingView to Bybit in 6 steps:
- ✅ Created Bybit API key with trading permissions
- ✅ Connected Bybit to SignalBee
- ✅ Created a SignalBee webhook
- ✅ Configured trading settings and whitelist
- ✅ Set up TradingView alert with webhook
- ✅ Tested the complete flow
Your TradingView strategy now executes automatically on Bybit.
Need help? Contact support@signalbee.trade or visit our Help Center.