How to connect ChatGPT to OKX
With TraderWAI, ChatGPT can read live charts, check your OKX account and prepare orders with stop loss and take profit that you approve. It takes about 2 minutes and you don't need to install anything on your computer.
OKX: Global crypto exchange with spot, futures and options.
Step 1: 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.
Step 2: connect your OKX account
In TraderWAI go to Settings → Broker accounts → Add account and choose 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.
Step 3: ask ChatGPT
Open a new chat and try, for example:
- «Show me the BTC/USDT 4H chart and the key support and resistance levels.»
- «What is my balance and which positions do I have open?»
- «If Bitcoin closes an H1 candle above yesterday's high, prepare a buy with the stop below that candle.»
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.
Questions
Is it free to connect ChatGPT to OKX?
Yes. The free plan includes unlimited charts and analysis and 5 order executions per day.
Does ChatGPT place orders on its own?
Only if you want it to. By default every order needs your approval. You can also allow automatic execution for specific symbols, always within the risk limits you set.
Is my OKX account safe?
Your credentials are encrypted (AES-256) and the key is kept on a separate server. TraderWAI only acts on your account as you instruct and never requests withdrawal permissions.
Does it work with demo accounts?
Yes, with demo and live OKX accounts. We recommend starting with a demo.
Related guides
Other AIs with OKX
ChatGPT with other platforms
- How to connect ChatGPT to MetaTrader 5
- How to connect ChatGPT to MetaTrader 4
- How to connect ChatGPT to TradeLocker
- How to connect ChatGPT to cTrader
- How to connect ChatGPT to Match-Trader
- How to connect ChatGPT to DXtrade
- How to connect ChatGPT to Capital.com
- How to connect ChatGPT to eToro
- How to connect ChatGPT to tastytrade
- How to connect ChatGPT to Binance
- How to connect ChatGPT to Bybit
- How to connect ChatGPT to Toobit
- How to connect ChatGPT to Kraken
Trading involves risk. TraderWAI is a technology tool: it does not provide investment advice and AI analysis is not a recommendation; you decide every order.