How to Connect TradingView to Coinbase for Automated Trading
Automate your TradingView strategy on Coinbase in about 15 minutes. Coinbase is the most popular exchange in the US, known for its regulatory compliance and institutional-grade security.
What You'll Need
Before starting, ensure you have:
- TradingView Pro or higher - Webhooks require a paid TradingView subscription
- Verified Coinbase account - Identity verification completed
- SignalBee account - Free to sign up at signalbee.trade
- 10-15 minutes - Coinbase uses a more secure API key format
Step 1: Create Your Coinbase API Key
Coinbase uses a modern API key format with enhanced security.
- Log in to Coinbase
- Go to Settings → API
- Click New API Key
- Select Trading under portfolio
Configure Permissions
For the API key settings:
| Setting | Value |
|---|---|
| Name | SignalBee Trading |
| Portfolio | Your trading portfolio |
| Permissions | ✅ Trade, ✅ View |
- Click Create API Key
- Complete 2FA verification
- Save your API Key Name and API Secret
Coinbase Note: Coinbase provides an API Key Name (also called Key ID) and an API Secret. Both are needed for SignalBee.
Step 2: Connect Coinbase to SignalBee
Link your Coinbase credentials to SignalBee.
- Log in to SignalBee
- Go to Exchanges in the sidebar
- Click Add Exchange → Select Coinbase
- Enter your API Key (Key Name/ID)
- Enter your API Secret
- Click Save and Test Connection
- Verify you see ✅ "Connection successful"
Your Coinbase balances should now appear in SignalBee.
Step 3: Create Your SignalBee Webhook
SignalBee provides a unique webhook URL for your TradingView alerts.
- In SignalBee, go to Webhooks
- Click Create Webhook
- Select your Coinbase 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., BTC-USD, ETH-USD)
- Set Max order size to limit trade amounts
- Enable Trading when ready
Coinbase Ticker Format
Coinbase uses hyphenated ticker format:
| Standard | Coinbase Format |
|---|---|
| BTCUSD | BTC-USD |
| ETHUSD | ETH-USD |
| SOLUSD | SOL-USD |
Use the Coinbase format in your whitelist and signals.
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": "BTC-USD",
"quantity_type": "percentage",
"quantity": "50"
}
Signal Format Reference
| Field | Required | Values |
|---|---|---|
action | Yes | buy, sell, or close |
ticker | Yes | Coinbase pair (e.g., BTC-USD) |
quantity_type | Yes | percentage or fixed |
quantity | Yes | Amount to trade |
Example signals:
Buy 30% of available USD balance:
{"action": "buy", "ticker": "BTC-USD", "quantity_type": "percentage", "quantity": "30"}
Sell 1.5 ETH:
{"action": "sell", "ticker": "ETH-USD", "quantity_type": "fixed", "quantity": "1.5"}
Step 6: Test Your Setup
Verify everything works before going live.
- In TradingView, click Test on your alert
- In SignalBee, check Signals page
- Verify Orders shows the executed trade
- Confirm in Coinbase trade history
Coinbase-Specific Notes
Trading Fees
Coinbase has tiered pricing:
| Volume (30d) | Taker Fee | Maker Fee |
|---|---|---|
| $0 - $10K | 0.60% | 0.40% |
| $10K - $50K | 0.40% | 0.25% |
| $50K+ | Lower tiers |
Tip: Use limit orders (maker) when possible for lower fees.
Minimum Order Sizes
| Pair | Minimum |
|---|---|
| BTC-USD | $1 USD value |
| ETH-USD | $1 USD value |
| Most pairs | $1 USD value |
Coinbase has relatively low minimums compared to other exchanges.
US Availability
Coinbase is available in all US states except:
- Hawaii (limited)
- Some features restricted in certain states
Check Coinbase's supported regions for your location.
Troubleshooting
| Issue | Solution |
|---|---|
| Invalid API key | Verify API Key Name matches exactly |
| Authentication failed | Regenerate API secret - it may have expired |
| Product not found | Use hyphenated format (BTC-USD, not BTCUSD) |
| Insufficient funds | Ensure USD balance is available |
Summary
You've connected TradingView to Coinbase in 6 steps:
- ✅ Created Coinbase API key with trading permissions
- ✅ Connected Coinbase to SignalBee
- ✅ Created a SignalBee webhook
- ✅ Configured settings with Coinbase ticker format
- ✅ Set up TradingView alert with webhook
- ✅ Tested the complete flow
Your TradingView strategy now executes automatically on Coinbase.
Need help? Contact support@signalbee.trade or visit our Help Center.