TradingView → OKX
Connect TradingView to OKX
Turn your TradingView alerts into real OKX orders - automatically, the moment a signal fires. No screens to watch, no code to write.
Automate OKX in three steps
- 1
Create a OKX API key
In your OKX account, create an API key with trading enabled and withdrawals disabled (include the passphrase you set). Paste it into the Brokers page - we test it instantly and store it encrypted.
- 2
Create a webhook
Generate a private webhook URL and point it at your OKX account. Optionally set a default symbol and order size.
- 3
Paste the URL into TradingView
Open any TradingView alert, tick "Webhook URL", and paste the address. Every time the alert fires, the order lands on OKX.
Frequently asked questions
- Can I trade OKX from TradingView alerts?
- Yes. Webhook Trader connects TradingView alerts directly to OKX, placing a real order the moment your alert fires.
- Do I need to code to automate OKX trades?
- No. The whole setup is creating an API key, generating a webhook, and pasting the URL into a TradingView alert.
- Is my OKX API key safe?
- Your OKX key is stored encrypted and only decrypted for the instant it takes to place an order. Create it with trading permission only - never withdrawals.
Ready to automate OKX?
Every webhook starts with a free 7-day trial - no card required.
Start free trial