Beginner webinar (in Russian): wallets, exchanges, P2P and cashing out. Tentatively 30 January 2027 Details →

Iceberg order and TWAP: how to buy or sell a large amount without slippage

Updated: · 7 min read ·

An iceberg order splits one large order into small visible pieces so the rest stays hidden and does not scare the price. A TWAP order spreads the trade over a chosen time so you buy or sell at roughly the average price of that period. Both exist to reduce slippage on large trades. If you trade a few hundred or a few thousand dollars in BTC or ETH, you almost certainly do not need either.

Contents
  1. What slippage is and how the order book causes it
  2. Iceberg order explained
  3. TWAP order explained
  4. Iceberg vs TWAP: how they differ
  5. Which exchanges offer them
  6. Set up an iceberg or TWAP on OKX
  7. Do you need it? A quick check
  8. Common mistakes

The first time I needed this was on a thin altcoin: a market buy of a modest amount moved the price by a visible percentage, and I paid for it. On liquid pairs I have never used these tools. They solve one specific problem, and it helps to know whether you have it.

Iceberg order diagram: a large order split into small visible slices with the rest hidden in the order book
An iceberg shows a small slice and keeps the rest hidden.

What slippage is and how the order book causes it

The order book is a list of waiting orders: sellers at ascending prices on one side, buyers on the other. A market buy takes the cheapest sellers first, then the next level, then the next. If your size is larger than the first level, you fill at several prices, and your average price is worse than the one on the screen. That difference is slippage.

OKX

OKX has both an Iceberg bot and a TWAP bot in its Slicing bots group. If your country is supported and you have no account yet, sign up through this link: the referral code is filled in for you and bots unlock after verification.

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3

The code can only be entered during sign-up.

Made-up example: a market buy of 2 BTC eats three price levels
Ask levelPrice, USDTSize, BTCCost, USDT
1100,0000.550,000
2100,0500.550,025
3100,1501.0100,150
Totalaverage 100,087.52.0200,175

Hypothetical order book to show the mechanics. The screen price was 100,000, you paid on average 87.5 USDT more per BTC, about 0.09%, or 175 USDT in total. On a thin coin the same logic can cost several percent.

On BTC with a few hundred dollars you pay no real slippage, because the first level is deep. It appears when your order is large compared with the depth of the book, which is typical for small coins and for big sizes. A limit order avoids slippage but may not fill. TWAP and iceberg are a middle path for large sizes.

Iceberg order explained

An iceberg order splits a big order into many small limit orders. Only a few are visible in the order book at a time. When a visible slice fills, the next one appears. Like the part of an iceberg above water, the market sees a fraction of your real size. That helps in two ways: the price is not pushed by one huge order, and other traders do not front-run a size they cannot see.

On OKX the main settings are the amount per limit order, how many orders are visible, and the total amount. In advanced settings you can choose an order preference (quick execution, a balance of price and speed which is the default, or passive queuing), set a limit price, and pick a start condition: immediately, at a price, or on the RSI-14 indicator. It works on spot, perpetuals, futures, margin and options, in either direction.

TWAP order explained

TWAP stands for time-weighted average price. Instead of one order, the bot places a smaller one at regular intervals over a period you choose. If you want to buy 12,000 USDT of a coin over 4 hours, the bot might buy 50 USDT every minute. Your result tends toward the average price of those four hours, and no single order moves the market.

On OKX you pick the pair and direction, set the accepted slippage (a fixed amount or a percentage) under the price range, a price limit, the time interval between orders, the size of each order and the total amount. A TWAP bot does not predict anything: if the price trends up during the four hours, your average will be higher than the starting price.

Iceberg vs TWAP: how they differ

Iceberg and TWAP side by side
IcebergTWAP
IdeaHide the full size, show small slicesSpread the trade across time
Main controlSlice size and number of visible ordersDuration, interval and size per order
Price relationSlices are limit orders, within your limit price if you set oneFollows the market through the period
Best forLarge size at a target priceLarge size where the average price is fine
Main riskMay fill slowly or not at allPrice drifts while the bot works
Visible to others?Only the visible slicesSmall orders on the market over time

My own comparison of how the two are described in OKX and Bybit documentation.

Iceberg versus TWAP: hiding the order size versus spreading the order over time
Different tools for the same problem.

Which exchanges offer them

Iceberg and TWAP on exchanges (what I could verify)
ExchangeIcebergTWAPNotes
OKXYes, Iceberg botYes, TWAP botTrading bots, Slicing bots. Spot, perpetuals, futures and more for iceberg
BinanceNot verifiedYes, spot algo orders (TWAP and POV)Help states 100 USDC minimum, TWAP duration from 1 minute to 3 days, no extra fee beyond spot fees
BybitNot verifiedYes, spot and derivativesRunning time 5 minutes to 24 hours, interval 5 to 120 seconds, optional random size of plus or minus 20%
Bitget, GateNot verifiedNot verifiedI did not check an equivalent in their help, so I do not list one

From the OKX, Binance and Bybit help centers, November 2026. Binance's pages describe access differently (verified users in the help, VIP in one blog), so check your account. Which tools you see depends on your region.

The OKX tools are bots, so they live next to the other bots in the OKX bots guide. OKX bots carry no separate fee on top of normal trading fees. The Binance and Bybit tools are order types in the trading interface rather than bots in the marketplace. Check minimums, because they exist: Binance sets 100 USDC, and Bybit calculates a minimum from the number of sub-orders.

Set up an iceberg or TWAP on OKX

  1. Register and verifyOpen and verify an OKX account. The bots are not available before verification.
  2. Open Slicing botsIn the app go to Trade, Trading bots, and under Slicing bots choose Iceberg or TWAP.
  3. Choose the pair and directionSpot is the simplest. Pick buy or sell. For futures remember that leverage adds liquidation risk.
  4. Set the sizeIceberg: amount per limit order, number of visible orders, total amount. TWAP: total amount, size per order, time interval.
  5. Set the guard railsSet a limit price (iceberg) or the accepted slippage and price limit (TWAP) so the bot does not chase a runaway market.
  6. Start small and watchRun a small total first and check the strategy overview at the bottom of the screen and the details.

The setup takes a couple of minutes. The price limit and a small test run are the two steps that protect you.

Do you need it? A quick check

Interactive

Do I need TWAP or iceberg?

Tick what is true for you. The more boxes, the more an execution bot makes sense.

Common mistakes

  1. Using it on a tiny order. A few hundred dollars in BTC has no slippage worth fighting. You only add complexity.
  2. No price limit. A TWAP in a runaway market keeps buying higher. Set the limit.
  3. Interval too short or total too long. Many tiny orders on spot pile up fees, and a very long run exposes you to the trend.
  4. Expecting a guaranteed average. TWAP aims at the average of the period, it does not beat the market.
  5. Forgetting the balance. The funds must stay in the account throughout execution, otherwise the strategy stops or fills partly.

These tools fix execution, not direction. Use them for size, keep a price limit, and skip them for small trades.

Steps to run a TWAP or iceberg order on OKX: choose pair, set size, set price limit, test small
The short route on OKX.

If your aim is to grow a position gradually, a spot grid bot or recurring buy may fit better than slicing a large order. For trading by your own alerts, see the signal bot. Fee levels that affect small trades are on the OKX fees page.

OKX

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3
Bybit

New accounts via the link: tasks worth up to 250 USDT; 25% off spot fees paid in MNT.

Sign up on Bybit
Referral code: J8NKMG
TradingView
Open TradingView

Charts, indicators and alerts

FAQ

What is an iceberg order?
An order that is split into small limit orders so only a small part is visible in the order book. When a visible slice fills, the next appears. It hides the full size and reduces the price impact of a big order.
What is a TWAP order?
A time-weighted average price order: the bot places smaller orders at regular intervals over a chosen period, so your average price follows the market average of that period instead of one big fill moving the price.
What is the difference between iceberg and TWAP?
Iceberg hides the size and works at your limit price. TWAP spreads the trade over time and follows the market. Iceberg can fill slowly; TWAP can drift if the price trends.
Do OKX, Binance and Bybit have them?
OKX has an Iceberg bot and a TWAP bot. Binance has TWAP and POV algo orders on spot, and Bybit has TWAP for spot and derivatives. I did not verify an iceberg on Binance or Bybit, or either tool on Bitget and Gate.
Does a beginner need TWAP or iceberg?
Usually not. With a few hundred or a few thousand dollars on BTC or ETH, slippage is small. They matter with large size or thin coins.
How do I avoid slippage without these bots?
Use a limit order, trade liquid pairs, split a larger purchase into a few manual orders, and check the order book depth before sending a market order.
Sign up on OKX