TWAP bot: how to buy a large amount of crypto without moving the price
TopTradingBots editorial team · Published 12 Nov 2026 · Updated 12 Nov 2026 · Editorial policy
A TWAP bot splits one large buy or sell into many smaller orders spread evenly over a time window, so each slice takes only a little liquidity from the order book. It aims for a fill close to the time-weighted average price and less slippage. It is an execution tool, not a profit strategy, and it is pointless when your order already fits at the best price.
What is a TWAP bot?
A TWAP bot is software that breaks one large order into many small ones and sends them at regular intervals over a set period. TWAP stands for time-weighted average price, and the glossary sums it up as splitting a large order into equal slices over a time window. The goal is to finish near the average price of that window instead of pushing price up (or down) with one big order.
It is an execution tool, not a strategy that tries to profit. You decide what to buy and how much; the bot only decides how that order reaches the market. Our algorithmic trading guide covers where execution algorithms sit next to trend, arbitrage and market-making strategies.
Where TWAP and VWAP come from
TWAP is borrowed from stock and bond markets, where funds trade in sizes that would move prices on their own. The SEC’s 2020 staff report on algorithmic trading says many brokers offer algorithms that deliver a volume-weighted average price (VWAP), a time-weighted average price (TWAP), minimum implementation shortfall, or a set percentage of market volume.
The same report explains why. Institutions trade “in substantial size,” so implicit costs such as information leakage and “adverse market impact” can be significant. To reduce price impact, it says, large “parent” orders are divided by algorithms into many smaller “child” orders. A crypto TWAP bot is the retail version of that idea.
Why large orders move the price
Every exchange keeps an order book: a list of sell orders (asks) and buy orders (bids) at different prices. A market buy fills against the cheapest asks first. If your order is bigger than what sits at the best price, it keeps eating into higher asks until it is filled.
The difference between the price you saw and the average price you paid is slippage. How much you get depends on order book depth: how much size waits near the current price. A deep book on a major pair absorbs a big order with little slippage. A thin book on a small token can move several levels with an order that does not look large at all.
There is a second cost. A big order that appears all at once tells everyone a large buyer is present. The SEC report calls this information leakage, and it is why some tools also hide size, which is what iceberg orders do.
How a TWAP bot slices an order: a worked example
Example (made-up numbers): you want to buy 30,000 tokens of a thinly traded coin. The order book shows these asks:
| Ask price | Tokens available |
|---|---|
| $1.00 | 10,000 |
| $1.01 | 10,000 |
| $1.03 | 10,000 |
One market order. You buy all three levels: 10,000 × $1.00 + 10,000 × $1.01 + 10,000 × $1.03 = $30,400. Your average is about $1.013, or roughly 1.3% above the $1.00 you saw. That extra $400 is slippage, before fees.
A TWAP bot over two hours. You set the total to 30,000 tokens, the duration to two hours, and a slice every 10 minutes. The bot sends 12 orders of 2,500 tokens. Each slice fits inside the $1.00 level. If other sellers refill the book between slices and price stays flat, you pay close to $30,000.
The “if” matters. The bot cannot control the market for those two hours. If price drifts up 2% for reasons that have nothing to do with you, later slices cost more and the TWAP result can be worse than the single order. That is the trade: less impact in exchange for timing risk. A price limit, which OKX’s TWAP bot offers, caps how high the bot will pay but can leave part of the order unfilled.
TWAP vs VWAP: what is the difference?
Both are benchmarks and the algorithms built to hit them.
| TWAP | VWAP | |
|---|---|---|
| How slices are sized | Equal slices at equal time intervals | Larger slices when trading volume is usually high, smaller when it is low |
| Data needed | Just the clock | A forecast of the volume pattern through the day |
| Benchmark | Average price over the window | Average price weighted by volume |
| Where you find it | Crypto exchanges’ bot menus | Mostly broker algorithms in stocks |
VWAP hides better in busy hours, because your slices are a steady share of what everyone else trades. TWAP is simpler and predictable. None of the crypto platforms in our data lists a VWAP bot; the ones that offer order slicing list TWAP and, on OKX, iceberg.
What is an iceberg order bot?
An iceberg order shows only the tip of the order on the book. OKX describes its iceberg bot as splitting a large order into smaller limit orders “designed to mask large orders and limit the impact of price slippage” (OKX).
You set three things: the amount per order, the number of orders visible at once, and the total amount. Optional settings include an order preference (quick execution, price-speed balance or passive queuing), a limit price, and a start condition (instant, a price trigger or an RSI trigger).
The difference from TWAP is the pace. An iceberg refills as its visible orders fill, so it moves as fast as other traders take the other side. A TWAP releases slices on a clock whatever the book is doing. Passive iceberg orders that rest on the book may also pay the lower maker fee, where an exchange charges one.
Which exchanges offer a TWAP or iceberg bot?
From our platform data:
| Platform | Order-slicing tools | Notes |
|---|---|---|
| Crypto.com | TWAP bot (spot), TWAP bot (perpetuals) | No extra bot fee; perpetual version blocked in all eight countries we track |
| OKX | TWAP, Iceberg | Listed under slicing bots; the bot menu varies by regional entity |
| Pionex | TWAP | One of nine strategy families; Pionex’s terms exclude the US, UK, Canada and Singapore |
| Binance | TWAP | Listed in our data; we have not published a Binance review yet |
Crypto.com. Its help page says TWAP executes “a large-volume order by splitting it up into equal parts across a fixed interval.” You pick the pair, side, limit or market order type, quantity in the base currency, duration and start time. You cannot edit a running bot except its name; to change settings you stop it and create a new one, because a TWAP bot “is generally active for a very short period of time.” Coins already bought stay in your wallet if you stop early. There is no extra bot fee, but spot fees are high in our data: 0.25% maker and 0.50% taker at Level 1 without CRO. See our Crypto.com bots page for the full menu.
OKX. Its TWAP help page lists a price range (constant or percentage) to set acceptable slippage, a price limit, a time interval, an order size per slice and a total amount. OKX’s bots are free in our data, but its regional entities limit what you can use. In the UK, for example, OKX says users can typically access only spot trading. Check the OKX bots page for your region.
When is a TWAP bot pointless?
Most retail orders do not need one. Open the order book before you start:
- Your order fits at the best price. If the size waiting at the best ask is larger than your order, a single limit order fills at that price. There is nothing to slice.
- The pair is very liquid. On major pairs at major exchanges, the book is usually deep enough that a few hundred or a few thousand dollars barely moves it.
- Fees dominate. Fees scale with volume, so slicing does not lower them. A 0.50% taker fee costs more than the slippage a small order on a deep book causes. Our bot fee calculator shows the fee side.
- You need the fill now. A TWAP that runs for hours leaves you exposed to the market for hours. If news is breaking, speed may matter more than impact.
- You actually want to invest gradually. Buying a fixed amount every week is dollar-cost averaging, a different tool for a different goal; see our DCA bot guide.
A TWAP bot earns its place when your order is large relative to the depth near the current price: a thin altcoin pair, a big position exit, or a size that would visibly walk the book. In those cases, comparing the cost of one market order with a sliced order, using the real book, is a five-minute check worth doing.
How to set up a TWAP bot sensibly
- Measure the book first. Note how much size sits within 0.5% and 1% of the current price, and size each slice well below that.
- Pick a window you can live with. Longer windows mean smaller slices but more time for price to move.
- Use a price limit. It stops the bot from chasing a sudden spike, at the cost of a possible partial fill.
- Prefer limit slices on thin pairs. Market slices guarantee a fill, not a price.
- Watch it. These bots run for a short time; check the average fill against the price when you started.
For how TWAP fits among grid, DCA, martingale and other bot types, see trading bot strategies.
FAQ
Is a TWAP bot the same as a DCA bot?
No. Both buy in pieces, but a DCA bot is an investing plan that buys a fixed amount on a schedule for weeks or months. A TWAP bot finishes one large order in minutes or hours, and its only goal is a better average fill. Crypto.com says its TWAP bot is generally active for a very short period of time.
Does a TWAP bot make money?
No, not by itself. It does not decide whether to buy or sell; it only changes how an order you already decided on reaches the market. If price trends against you during the window, you still pay more than you would have at the start.
Does a TWAP bot reduce trading fees?
Usually not. Exchange fees are a percentage of traded volume, so ten slices of 1,000 USDT pay roughly the same as one order of 10,000 USDT at the same fee rate. Crypto.com says its TWAP bot charges no extra bot fee and pays the same fee as a limit order on spot.
What is the difference between a TWAP bot and an iceberg order bot?
A TWAP bot releases slices on a clock. An iceberg bot keeps a few limit orders visible on the book and refills them as they fill, so size, not time, drives the pace. OKX offers both under its slicing bots.
Can I run a TWAP bot on futures?
Some exchanges allow it. Crypto.com lists a TWAP bot for perpetuals, but derivatives are restricted in all eight countries we track, so only the spot TWAP bot is available there.
Sources
- U.S. SEC — Staff Report on Algorithmic Trading in U.S. Capital Markets (August 5, 2020) ↗checked 12 Nov 2026
- Crypto.com — TWAP Trading Bot (Help Center) ↗checked 12 Nov 2026
- OKX — How do I use the TWAP trading bot? ↗checked 12 Nov 2026
- OKX — How to use the iceberg trading bot ↗checked 12 Nov 2026
Related guides
- Online trading platforms: how to choose the right one for how you trade
- Crypto arbitrage bots: how they work, where the profit comes from, and why it shrinks
- Grid bot settings: how to choose range, number of grids and spacing
- Grid vs DCA bot: which one fits your market, fees and budget
Not financial advice. Trading bots do not remove market risk.