Prerequisites
- Coinbase account with the required trading access enabled.
- AlgoWay account with access to the Webhooks dashboard.
- TradingView plan that supports webhook alerts.
Step 1 — Create Coinbase API Key
Open the Coinbase API key creation screen and set an API key nickname, for example AlgoWay.
Choose the portfolio you want to use, for example Primary.
Enable these permissions:
- View (read-only)
- Trade (execute trades on your behalf)
Leave Transfer (initiate transfer of funds) disabled.
In IP whitelist, add the AlgoWay server IP shown in the dashboard, for example 103.241.67.174, then click Create & download.
Step 2 — Add Webhook in AlgoWay
In AlgoWay Dashboard open Add Trial Webhook or Add Main Webhook.
Required fields
- Source: TradingView
- Platform: Coinbase
- Quantity Multiplier: as needed, for example Absolute 1
- Market Type: Futures/Perpetual
- Margin Mode: Cross or your selected mode
- Trade Type: Reverse/Netting, Hedge, or your preferred mode
- Account Type: Live
- API Key Name: the Coinbase API key name
- Private Key: the Coinbase private key
Step 3 — Test Webhook in AlgoWay
Open Webhook Logs in AlgoWay and click Test Webhook.
Fill the test form with:
- Symbol
- Quantity
- Action = Buy or Sell
- Close Side if needed for hedge mode
You can also use optional fields such as SL Price, TP Price, Stop Loss, Take Profit, and Trailing Pips.
Click Send and verify that the test request is accepted.
Step 4 — Copy Webhook URL
Open Dashboard → Your Webhooks in AlgoWay.
Click the webhook UUID or the copy action to copy your full AlgoWay webhook URL.
Step 5 — TradingView JSON Payload
Message (JSON)
Use the following JSON in the TradingView alert message:
{
"platform_name": "coinbase",
"ticker": "{{ticker}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.market_position}}",
"price": "{{close}}"
}
{{ticker}}, {{strategy.order.contracts}}, {{strategy.market_position}}, and {{close}} when the alert is triggered.
Step 6 — Create TradingView Alert
Create or edit your TradingView strategy alert on the chart you want to automate.
In Notifications enable Webhook URL and paste the AlgoWay Coinbase webhook link from Step 4.
Click Apply, then Create to save the alert.
Verification & Logs
- Trigger a small test alert first.
- Open Webhook Logs in AlgoWay and verify the incoming JSON and the Coinbase response.
- Check your Coinbase account to confirm that the order or position was processed correctly.
FAQ / Notes
- API fields: this setup uses API Key Name and Private Key.
- Permissions: keep View and Trade enabled.
- Transfer permission: keep it disabled for this integration.
- IP Restriction: whitelist the AlgoWay IP shown in your dashboard.
- Webhook URL: each webhook is unique and tied to your AlgoWay entry.
- Security: if the private key was exposed, delete the key and generate a new one.