TraderWAI
PlatformsAIsDocsBlogPricing
Sign inStart free
TraderWAI › Brokers and prop firms › OKX
Broker

How to connect Grok to your OKX account

With TraderWAI, Grok 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 Grok in 2 minutes — free

1. Add TraderWAI to Grok

Works on grok.com and in the Grok app with Grok's custom connectors. If «Custom» doesn't appear in Connectors, your Grok plan doesn't include it: use Claude for free instead (one click).

  1. Open Grok and go to Connectors (grok.com/connectors, or Settings → Connectors in the app).
  2. Click «New Connector» and choose «Custom». If it doesn't appear, your Grok plan doesn't include it: use Claude for free (one click).
  3. Name: TraderWAI. Server URL: https://mcp.traderwai.com
  4. Save and sign in with Google to authorize access (if you don't have a TraderWAI account yet, it is created at this step).
  5. In a new chat, ask Grok to use TraderWAI, e.g. «Show me the EUR/USD H1 chart».
Open Grok connectors

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: Grok + OKX →

The platforms each firm offers can change; check which one your account uses in your OKX dashboard.

3. Ask Grok

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 Grok 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 Grok: 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.

Start free

Related guides

  • Broker MCP server: connect Claude or ChatGPT to your broker (Exness, FTMO, Pepperstone…)
  • Which brokers can you connect to ChatGPT, Claude or Grok? (2026)

Other AIs with OKX

  • How to connect Claude to your OKX account
  • How to connect ChatGPT 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
All about OKX and TraderWAI

TraderWAI is independent software and is not affiliated with OKX. Trading involves risk; TraderWAI does not provide investment advice.

TraderWAI

Connect any AI to your broker, with you in control.

Product
  • Platforms
  • AIs
  • Pricing
  • Docs
  • Status
  • Sign in
Resources
  • Connection guides
  • Broker guides
  • Best MCP servers for trading
  • Strategy backtests
  • Markets today
  • FAQ
  • Blog
  • Telegram community: questions & ideas
Company
  • Investors
  • Contact
  • Brokers and prop firms
Legal
  • Privacy
  • Terms

Trading leveraged products such as CFDs, forex and futures carries a high risk of losing money. TraderWAI is a technology tool: it does not provide investment advice and does not manage funds. The AI's analyses and proposals are not recommendations; you decide every order.

© 2026 TraderWAI · FLEXIN AGILE LTD