TRADINGVIEW WEBHOOK AUTOMATION

TradingView to OKX EU automation

Turn TradingView strategy alerts into real OKX EU orders on Spot and Swap — through the OKX EU API, with no code, no server of your own and no API keys in your alerts.

WHAT IS SUPPORTED

OKX EU with TradeAdapter

Markets

Spot and Swap.

TradingView alerts

Strategy alerts from your TradingView scripts, sent by webhook.

API key

Use the separate OKX EU connection for an account registered on my.okx.com. Save its API key, secret and passphrase with Read and Trade permissions for the intended markets. Accounts on the global entity use the separate OKX connection instead.

ORDER MANAGEMENT

What you can automate on OKX EU

Stop loss / Take profit

Swap only.

Take profit ladder

Swap only.

Trailing stop

Swap only.

Position close

All supported OKX EU markets.

TradingView sync

All supported OKX EU markets.

Percent-of-balance sizing

All supported OKX EU markets.

Execution tracking

All supported OKX EU markets.

HOW IT WORKS

Connect TradingView to OKX EU in three steps

Save it under My Brokers

Save the key under My Brokers and create a Strategy: market, ticker, order type and quantity are set once there.

In API v4, TradingView sends only your Strategy identifier to the webhook, and TradeAdapter resolves the matching live or demo credentials saved under My Brokers. Test on a practice account when supported — see the TradingView webhook setup guide.

FAQ

TradingView to OKX EU questions

Yes. TradeAdapter receives your TradingView alert by webhook and places the order on OKX EU through its API. It supports strategy alerts on OKX EU Spot and Swap.

Spot and Swap. The symbols available in each market are listed in the TradeAdapter documentation.

Use the separate OKX EU connection for an account registered on my.okx.com. Save its API key, secret and passphrase with Read and Trade permissions for the intended markets. Accounts on the global entity use the separate OKX connection instead.

No. You save the OKX EU API key once under My Brokers and create a Strategy there with the market, ticker, order type and quantity. The TradingView alert only names that Strategy, so no key travels in an alert.

No. TradingView sends the alert from its servers and TradeAdapter places the order on OKX EU, so your browser and computer can be closed. You need a TradingView plan that includes webhook alerts.

Keys belong to the entity that issued them. Use OKX EU for the European account and the matching key, secret and passphrase; use the global OKX connection for a global account.

The connection check uses the simulated-trading header on the European API host, but TradeAdapter demo orders for Spot and Swap are local dry-runs. This path has not been exercised against a European account, so do not treat the dry-run as a verified broker execution.

TradeAdapter sets swap leverage before entry when the order explicitly supplies futures_leverage. If that value is omitted, the account leverage is left unchanged. Check the saved Strategy and account settings before live execution.