Independent educational website - not an official exchange service

Reviewed guide | 2026-10-18

Setting up an OKX spot grid bot: choosing the price range, grid count and what happens outside the range

The spot grid in OKX's trading bots places a ladder of buy and sell limit orders for you. How to set the range and number of grids, read the fee impact, and decide what to do when price breaks out.

howtouseokx.com

OKX | the reader's region | the reader's funding currency | order execution and cost control

A spot grid bot on OKX does something you could do by hand: it places buy orders below the current price and sell orders above it, then replaces each filled order with its opposite. In a market that moves sideways, this collects small differences many times. In a market that trends hard in one direction, the bot either ends up holding the coin as it falls or sells out early as it rises. Knowing which of those outcomes you can live with is more important than finding perfect settings.

Where to find the bot and the manual setup

In the OKX app, open Trade and look for Trading bots, then choose Spot grid. You will usually see an AI or recommended parameters option next to a manual one. Choose manual at least once, even if you later use suggestions, because it forces you to look at each field. Pick the trading pair first; the bot can only work with what the order book of that pair offers, so liquid pairs behave more predictably than small ones.

Upper price, lower price and the number of grids

The lower and upper prices define the range in which the bot trades. Look at the chart over a period you think is representative and set a range wide enough to contain normal swings, not just the last few days. The grid count divides that range into steps. More grids mean smaller profit per step and more trades, fewer grids mean larger steps that fill less often. The setup screen shows an estimated profit per grid; if it is close to your trading fee for a buy plus a sell, the steps are too small to be worth it.

Read the fee side before starting

Every filled grid order pays a trading fee. Check your fee tier on the OKX fees page and multiply it out roughly: two fills per completed grid step, many steps per day in a busy market. The bot's displayed profit figures usually account for fees once trades happen, but estimates before you start are only estimates. Starting with a modest investment amount lets you see the real numbers in the bot's details page before scaling up.

Decide in advance what happens outside the range

If price drops below the lower limit, the bot has bought all the way down and holds the coin; if it rises above the upper limit, it has sold and holds the quote currency. Neither situation trades further until price returns. Look for optional settings such as a trigger price, take-profit or stop-loss for the bot, and decide whether you want them. Write down the price at which you will stop the bot manually, and check the running bot at least daily in the bot's order and details view.

Risk boundary: OKX Trading Guide

Digital assets are volatile and derivatives can amplify losses. This website has no login, wallet connection, deposit form or customer-support chat. A referral link only records attribution; it does not guarantee access, pricing, rewards, approval or investment results. Availability can differ by residence, legal entity and product, so no regional access is assumed from language or branding alone.

Scenario checkpoint

  • Use the manual setup at least once to see every field of the spot grid bot.
  • Set the range from a representative period of the chart, not only the last few days.
  • Compare the estimated profit per grid with your fee tier for one buy plus one sell.
  • Decide your stop price or bot stop-loss before launch and review the bot daily.
Risk boundary

Digital assets are volatile and derivatives can amplify losses. This website has no login, wallet connection, deposit form or customer-support chat.