How to connect ChatGPT to your OKX account
With TraderWAI, ChatGPT can read live charts, check your OKX account and prepare orders with stop loss and take profit that you approve. Setup takes a few minutes.
Connect OKX to ChatGPT in 2 minutes — free1. Add TraderWAI to ChatGPT
Works on every ChatGPT plan, including Free. Add it from chatgpt.com in your browser (easiest on a computer).
- Open chatgpt.com/plugins (left menu → «Plugins»).
- Click «Add» (top right) → «Add custom MCP server».
- Name: TraderWAI. Server URL: https://mcp.traderwai.com. Authentication: OAuth (leave the advanced settings as they are).
- Tick «I understand and want to continue» and click «Create as plugin».
- Click «Connect TraderWAI», sign in with Google (the same account) and accept.
- In any chat, type @ and pick TraderWAI, or just ask: «Show me the EURUSD H1 chart». ChatGPT asks you to confirm before placing orders.
2. Connect your OKX account
In TraderWAI, add your OKX account with the platform it uses:
OKX
In OKX go to Profile → API → Create API key, with «Read» and «Trade» permissions (never «Withdraw»), restricted to IP 187.7.69.7, and paste the key, the secret and the passphrase you chose. Pick your OKX region (global, EEA or US). For a demo, create the key in OKX Demo Trading. USDT perpetuals (beta).
OKX works on the free plan: unlimited charts and analysis, and 5 order executions per day.
Detailed guide: ChatGPT + OKX →The platforms each firm offers can change; check which one your account uses in your OKX dashboard.
3. Ask ChatGPT
Try one of these in a new chat:
- «Show me the gold H1 chart and tell me where the key levels are.»
- «What positions do I have open and how much am I risking?»
- «Prepare a buy limit on EUR/USD at yesterday's low with a 20-pip stop and a 2R target. I'll approve it.»
OKX and TraderWAI: what to know
- TraderWAI connects to OKX USDT perpetual swaps through its official API (beta): create an API key with «Read» and «Trade» (never «Withdraw»), set its passphrase, restrict it to IP 187.7.69.7 and choose your region (global, EEA or US). OKX accounts work on TraderWAI's free plan.
- OKX has free Demo Trading: create the API key in Demo Trading and connect it as a demo account to try your AI first.
- Besides crypto, OKX lists gold, silver, oil and some US stocks as USDT perpetuals, and your AI can trade them too, long or short. Your OKX account must be in Futures or margin mode (not Spot mode); OKX spot isn't connected.
What ChatGPT can do with your OKX account
- Read live charts in any timeframe, with the indicators you ask for.
- Check your balance, open positions and pending orders.
- Backtest a strategy idea on historical data before risking anything.
- Prepare market, limit and stop orders with stop loss and take profit that you approve.
- Leave conditional orders that TraderWAI watches every minute.
- Respect your risk limits: maximum daily loss and drawdown, risk per trade, size and number of trades.
OKX and ChatGPT: questions
Can I connect Claude or ChatGPT to OKX?
Yes. Add TraderWAI to Claude or ChatGPT (free plans work) and connect your OKX account with an API key, its secret and passphrase, live or Demo Trading. Your AI can then read charts, check your positions and prepare orders with stop loss and take profit that you approve.
Related guides
Other AIs with OKX
- How to connect Claude to your OKX account
- How to connect Grok to your OKX account
- How to connect Grok Bot to your OKX account
- How to connect Gemini to your OKX account
- How to connect Perplexity to your OKX account
- How to connect Cursor to your OKX account
TraderWAI is independent software and is not affiliated with OKX. Trading involves risk; TraderWAI does not provide investment advice.