OKX Trading Bot, Without the Code
Build a strategy from menus, give it a budget, test it on paper, then let it trade spot or futures on your own OKX account.
OKX offers spot, perpetual swaps and a unified account that lets margin move between them. Its API is one of the more complete ones around, which makes it a solid home for automated strategies.
TradeFIQ connects to OKX spot and OKX perpetual swaps. You bring an API key with trading permission; TradeFIQ sizes every trade from the budget you gave that automation, never from your whole OKX balance.
What you can automate on OKX
- Spot or futures. Each OKX connection trades one market; add both if you use both.
- Indicator strategies without code. RSI, MACD, moving average crossovers, Bollinger Bands, Stochastic, ADX, Supertrend, Ichimoku, Smart Money Concepts, candlestick patterns and more, combined with rules like "crosses above" or "is below".
- Your schedule. Every 15 minutes, hourly, daily at 9am or once a week, in your own timezone.
- Risk rules on every trade. Stop-loss, take-profit and trailing stops, set once in a risk profile and reused.
- A hard budget. Give an automation $200 of a $5,000 balance and it trades with $200. That's the most it can lose.
How to connect OKX to TradeFIQ
- On OKX, go to Profile → API keys → Create V5 API key.
- Give the key trading permission for the market you want (spot or futures). Leave withdrawals off.OKX will ask you to set a passphrase; note it down.
- In TradeFIQ, open Settings → Exchanges → Add exchange, choose OKX, pick spot or futures and paste the key and secret and passphrase.
- TradeFIQ checks the key with OKX straight away, so a typo shows up now rather than at your first trade.
OKX tips for automated trading
- OKX asks you to set a passphrase when you create the key. Keep it: TradeFIQ needs the key, the secret and that passphrase.
- Give the key the Trade permission only. Leave Withdraw unticked.
- OKX's demo trading uses separate keys. For practice, TradeFIQ's own paper trading runs on live OKX prices with no second key needed.
Why automate OKX with TradeFIQ
Most bots on OKX get one setting wrong in the same way: they can see the whole balance. TradeFIQ gives every automation its own capital budget, sizes trades from it, and closes a position before it can lose more than the budget allows. If the budget runs out, the automation stops and tells you why.
Changed your mind about a stop-loss while a trade is open? Edit the running trade's rules without closing the position. Not sure a strategy works yet? Run it with paper money on live prices or backtest it first, then switch the same automation to live.
Trading on more than one exchange? The same strategies work on all 9 we support, including Binance, Bybit, KuCoin, Kraken and more. See all supported exchanges.
Frequently asked questions
Is it safe to connect OKX to a trading bot?
TradeFIQ only needs an API key with trading permission. Never enable withdrawals: without that permission, no one using the key can move funds off your OKX account. Your API secret is encrypted at rest, and you can delete the key on OKX at any time to cut access instantly.
Can I trade futures on OKX with TradeFIQ?
Yes. Each OKX connection is either spot or futures (perpetual swaps). Add one of each if you want both, and pick which one an automation trades on.
Do I need to code to build a OKX trading bot?
No. Strategies are built from menus: pick indicators, set entry and exit rules, choose stop-loss and take-profit, and set a schedule. No scripts, no Pine, no Python.
Can I test a OKX strategy without risking money?
Yes. Paper trading runs the same automation on live market prices with paper money, and backtesting replays it on historical data. Switch to live with one tap when you trust it.
How much of my OKX balance will the bot use?
Only what you give it. Every automation has its own capital budget, sizes each trade from it, and is stopped if it's ever used up. The rest of your OKX balance is never touched.
Try it with paper money first
Free to start. No card, no exchange account needed until you go live.
Start free with paper trading