Markets
Spot and Swap.
Turn TradingView strategy alerts into real OKX orders on Spot and Swap — through the OKX API, with no code, no server of your own and no API keys in your alerts.
Spot and Swap.
Strategy alerts from your TradingView scripts, sent by webhook.
In your OKX profile open API and connections and create a key used for API trading: tick the Trade permission, choose Spot & Margin and, for perpetuals, Perpetual, set a passphrase and add the TradeAdapter IP address under Trusted IP addresses.
Swap only.
Swap only.
Swap only.
All supported OKX markets.
All supported OKX markets.
All supported OKX markets.
All supported OKX markets.
Create an OKX API key with the permissions and IP restriction TradeAdapter needs.
Save the key under My Brokers and create a Strategy: market, ticker, order type and quantity are set once there.
Connect TradingView alerts to OKX: your webhook URL and an alert message that names the Strategy — never an API key.