Ghost Automation

TradingView Alerts to Coinbase: Ghost Setup Guide

How to send TradingView alerts to Coinbase for automated crypto spot trading: API key connection, no coding required.

What You Need

Coinbase Advanced Trade account - Ghost connects to Coinbase Advanced Trade (formerly Coinbase Pro). A standard Coinbase account does not support API trading.
Coinbase API key name and private key - Generate an API key from Coinbase Advanced Trade settings. You need at least trade permission enabled on the key.
A paid TradingView plan - Webhooks require a paid plan. Essential, the entry tier, is enough.
Two-factor authentication on TradingView - TradingView only allows webhook alerts on accounts with 2FA enabled. Turn it on in your TradingView account settings before you create the alert.
Ghost subscription - QuantCrawler Elite or Ghost-only subscription with a Coinbase ticker configured.

Generate Your Coinbase API Key

1

Open API settings

Log in to Coinbase Advanced Trade and go to Settings > API.

2

Create a new key

Click "New API Key" and give it a name (e.g., "Ghost"). Select ECDSA as the signature algorithm; Ghost cannot connect with other key types.

3

Enable Trade permission

Enable Trade permission. Read-only permission is not sufficient.

4

Copy your credentials

Copy the API key name and the private key. The private key is shown only once. Paste both into Ghost's Coinbase connection screen (API Key Name and Private Key fields).

Connect Coinbase to Ghost

1

Open Broker Connections

Go to Ghost Dashboard > Broker Connections > Coinbase.

2

Paste your credentials

Paste your API key name and private key.

3

Verify connection

Ghost verifies the key can read your accounts and shows your portfolio balance when connected. Trade permission is confirmed when your first order is placed.

4

Credentials are encrypted

Your API key is encrypted at rest. Ghost does not expose it after connection.

JSON Payload Example (BTC-USD)

Paste this into the TradingView alert message field. Replace sl and tp with your actual levels. The {{close}} template variable is filled automatically by TradingView with the current bar price.

{ "action": "buy", "entry": {{close}}, "sl": 61000.00, "tp": 65000.00 }

Use "action": "sell" to sell, or "action": "close" to close the position.

Supported Assets on Coinbase via Ghost

SymbolAssetType
BTC-USDBitcoinSpot
ETH-USDEthereumSpot
SOL-USDSolanaSpot

Available assets depend on your account region and Coinbase listing status.

Frequently Asked Questions

What is the difference between Coinbase spot and perpetuals in Ghost?

Ghost trades Coinbase spot for now: spot orders buy or sell actual crypto assets (you own the coins). Coinbase perpetuals are temporarily unavailable in Ghost because Coinbase moved them off the Advanced Trade API on October 1, 2026.

Does Ghost work with Coinbase's standard (retail) app?

No. Ghost requires Coinbase Advanced Trade, which has a full API. The standard Coinbase consumer app does not support programmatic trading.

How do I know my Coinbase API key has the right permissions?

When you connect, Ghost only checks that the key can read your accounts, so a key without Trade permission can still connect. Trade permission is confirmed when Ghost places your first order. In Coinbase Advanced Trade settings, verify that your key has View and Trade enabled. Read-only keys cannot place orders.

Can I use Ghost for Coinbase perpetuals with leverage?

Not right now. Coinbase perpetuals are temporarily unavailable in Ghost because Coinbase moved them off the Advanced Trade API on October 1, 2026. Coinbase spot works.

What happens to my open Coinbase position if my TradingView alert fires a close signal?

Ghost sends a close order to Coinbase for the current position size on that ticker. For spot, it sells your holdings.

My Coinbase alerts stopped arriving in Ghost. Is my API key the problem?

Check the TradingView alert before the API key. Alerts on the Essential and Plus tiers expire on a timer; Premium is the first tier where an alert can run indefinitely. An expired alert sends no webhook, so Ghost logs nothing at all and the API key can be perfectly healthy. Restart the alert in TradingView.

Continue Learning

Risk Disclosure: Trading involves substantial risk of loss and is not suitable for all investors. This content is for educational purposes only and does not constitute financial advice.

Last updated: November 2026

© 2026 QuantCrawler. Not financial advice. Trading involves substantial risk of loss.