Why Does OKX Futures Grid Close Positions at Market Price When Stopped?

 / 
OKX
 / 
1

You hit "Stop" on your grid strategy, and the system closes your position with a market order—the fill price lands several ticks below where you expected. This outcome is an intentional design choice, not a system fault.

OKX Exchange
A leading global cryptocurrency platform,suitable for both beginners and experienced traders.
New user benefit: 20% off trading fees upon registration!!

OKX futures grid strategies always close positions at market price when stopped. This is the standard stop flow: all pending orders are cancelled, any open position is closed at the current market price, and the funds are returned to your trading account.

Precondition: make sure your grid strategy actually holds an open position

Not every stop action triggers a market close.

Go to TradingStrategyFutures Grid, and find the strategy you want to stop.

Look at the "Position Held" column:

  • If it shows 0, stopping the strategy will not involve a market close—only pending orders are cancelled and funds are released.

  • If it shows an open position (long or short), stopping the strategy will trigger a market close.

Once you've confirmed that a position exists, the steps below apply to your situation.

Step 1: understand the close logic when a stop-profit or stop-loss condition is triggered

What to do: Confirm whether your strategy stopped because a take-profit or stop-loss parameter was hit.

The rule: The take-profit / stop-loss settings in a futures grid work like this: "When the market price reaches the specified level, the strategy will automatically stop and close the position at market price." In other words:

  • If you set a stop-profit or stop-loss price and the market reaches it, the system automatically stops the strategy and closes the position with a market order.

  • You will see a market close execution record with the reason "Take-profit triggered" or "Stop-loss triggered".

When are you done with this step? Check the stop reason in your strategy history. If it says "Take profit triggered" or "Stop loss triggered", the market close is the normal result of this mechanism.

Step 2: understand the close logic when you manually stop the strategy

What to do: Confirm that you manually clicked the stop button while the strategy held an open position.

The rule: After a manual stop, the system will cancel all pending orders and sell your cryptocurrency at the market price. The proceeds from the sale will be returned to your trading account.

Here is the key question: why market price and not a limit price?

In a grid stop scenario, the strategy's core task is to "end operations quickly and release funds back to the account." A market order is used to guarantee immediate execution. If a limit order were used, the order might sit unfilled because the price may not match, and the strategy would not be able to truly terminate.

When are you done with this step? You accept that "stop equals market close" is the platform's standard design, not a bug.

Step 3: understand the close logic when the price moves outside the grid range

What to do: Confirm whether your strategy stopped because the price left the range you set.

The rule: If the market price falls below or rises above the defined price range, you have the option to terminate the strategy. If you choose to terminate, all pending orders are cancelled and the position is closed at the current market price.

This is an additional choice: When the price leaves the range, the system does not close the position automatically—it only stops placing new orders. At this point, you have two ways to handle it:

  • Wait for the price to return to the range, and the strategy will resume automatically.

  • Manually stop the strategy → this triggers a market close.

When are you done with this step? If you clicked "Stop" after the price left the range, you essentially made an active choice to close the position at market price.

Step 4: confirm where the funds go and the timing after a market close

What to do: Verify where the funds go after the close and when they become available.

The rule: After the position is closed, the funds are returned to your trading account. However, during the grid strategy's operation, the funds are "quarantined" from the trading account. After closing, the funds first return to the strategy sub-account, and are then released to the main trading account.

When are you done with this step? Go to AssetsTrading Account and check the balance of the relevant coin—it should have increased by the closing proceeds. If you don't see it, go to StrategyFutures GridHistory to see if the funds are still under "settling".

Common reasons things go wrong

  1. The market close price is far from what you expected—That's the nature of a market order: it fills at "the best available current price", not at a specific price you may want. During low liquidity or violent market swings, the market order fill price can deviate significantly from the last seen price. This is not the platform cheating you; it's the mechanism of a market order.

  2. Sell failure notification—If the risk control system determines that a market close could have an impact on the market, the execution may fail and you will need to handle the position manually.

Risk reminder

  • Market orders can suffer heavy slippage when liquidity is thin. If your grid position is large, consider stopping the strategy during relatively stable market hours.

  • Funds are quarantined from your trading account while the futures grid is running. After stopping, the closing proceeds need time to settle. During this period, your account's available balance may show as zero, which can cause unnecessary panic—the money is actually in the settlement flow. Wait a few minutes and refresh.

How to confirm you understand the outcome correctly

After stopping the strategy, go to TradingFutures Trading and check whether your position for the relevant coin is back to zero. Then go to AssetsTrading Account and confirm the returned amount.

If the position is gone and the funds have arrived, the operation is complete. If the position is still there, the stop action may have failed (for example, a network lag prevented it from taking effect), and you'll need to do it again.

If the returned amount differs from your expectation—remember, the closing price of a market order is not the "last execution price" you calculated from your grid; it's the actual market fill price at the moment of closing. Go to your History and look at the system's "average fill price"—that's your answer.

OKX Exchange
A leading global cryptocurrency platform,suitable for both beginners and experienced traders.
New user benefit: 20% off trading fees upon registration!!

FAQ

Q: Can I switch to a limit close when stopping a futures grid?

No. The stop logic of OKX futures grids is fixed: cancel orders + market close all held positions. If you don't want a market order, the only way is to manually close your position with a limit order on the futures trading page before you stop the grid strategy. At that point, the held position will be zero, and stopping the strategy will not trigger a market close.

Q: Does the take-profit / stop-loss trigger use a market or limit order?

Market. When the trigger condition for a futures grid take-profit or stop-loss is met, the strategy stops and closes the position at market price. This is different from the "take-profit / stop-loss orders" in regular futures trading—where you can set the order price (limit or market). Inside a grid strategy, take-profit and stop-loss follow grid logic, not regular order logic.