Black Friday: celý rok Hero za $903 s kódem BF30. To je $645 méně než měsíční platby. Končí 1. prosince.

What Is Slippage in Crypto (and Why It Quietly Eats Your Bot's Profits)

What Is Slippage in Crypto (and Why It Quietly Eats Your Bot's Profits)

Slippage is the gap between the price your order targets and the price it actually fills at. For a bot placing dozens of trades a day, that small gap adds up. It becomes a quiet, recurring drag on net profit.


What slippage actually is (and the one-line formula behind it)

When discussing what slippage in crypto is, traders often imagine a fee. It isn't one. Slippage is the difference between the price you expected and the price you got. No counterparty line-items it, no exchange skims it.

Three factors cause it, none controversial. First, market volatility, which moves the price between the moment you click and the moment your order fills. Second, low liquidity-few resting orders near the current price. Third, large order size relative to the available depth, where "depth" refers to the volume waiting at each price level. Slippage can occur within milliseconds, without warning, and affects any type of market participant.

Here is the formula that makes it concrete: Slippage % = ((Executed Price − Expected Price) / Expected Price) × 100. Example (hypothetical, for illustration only): if you expect 1 ETH at $3,000 and it fills at $3,041, that $41 is your slippage-($3,041 − $3,000) / $3,000 = 1.3667%, which rounds to about 1.37%.

Notice what happened there. Nobody charged you $41. The order simply had to reach further up the order book to find enough sellers, a mechanic traders call "eating the order book." The price moved, or the depth ran out. That's the whole story.

Slippage is not a fee anyone charges. It is the mechanical cost of demanding immediacy in a market without enough depth at your price.

So, misconception number one: slippage is not a hidden fee. If your fill came in worse than the screen quote, no one pocketed the difference. You asked for immediacy, and immediacy had a price.

Walking the order book: a hypothetical CEX example in numbers

On a centralized exchange (CEX), a market order doesn't fill at one tidy price. It consumes the best ask, then the next, then the next, until your full size is filled. The average price you actually pay-the volume-weighted fill-drifts away from the top of the book.

Here's a hypothetical order book to illustrate the mechanic (made-up numbers, not real market data): 0.5 ETH is offered at $3,000, another 0.5 ETH at $3,020, and 1 ETH at $3,060. You send a market order for 1 ETH. The first half fills at $3,000, the second half at $3,020. Your average fill is ($3,000 × 0.5 + $3,020 × 0.5) / 1 = $3,010-ten dollars of slippage on a quote you thought was $3,000. Run that through the formula: ($3,010 − $3,000) / $3,000 ≈ 0.33%.

Now, increase the size. Buy 2 ETH against that same book and you consume all three levels: $3,000 × 0.5 + $3,020 × 0.5 + $3,060 × 1 = $6,070, divided by 2 ETH = an average fill of $3,035. Against a $3,000 quote that is ($3,035 − $3,000) / $3,000 ≈ 1.17% of slippage. The larger the order relative to resting depth, the further it walks, and the worse the average fill gets. That's the mechanical answer to why a large order experiences more slippage. For a primer on how these levels stack up, our guide to order books, tickers, and candles lays out the plumbing, and the practical order-book data walkthrough goes deeper.

On a central exchange, slippage is the price of eating through more of the order book than the top level could satisfy.

This is also why new and low-cap coins often incur higher slippage. Their order books are thin. You're looking at a few hundred dollars of resting orders at each level instead of millions. A modest order walks a long way down a sparse book. We've written about how thin markets impact execution tools in our piece on why trailing stops fail on thin altcoins.

Misconception number two: limit orders do not eliminate slippage. A limit order caps the price you'll accept-the market can't fill you worse than your limit. But it trades price certainty for execution risk. If the book moves past your limit, your order simply doesn't fill. You avoided the bad price by not trading at all.

The DEX difference: sliding along the x·y=k curve

Decentralized exchanges (DEXs) built on automated market makers (AMMs) have no order book to walk. An AMM-a pool where trades price against a formula instead of a counterparty-sets price using the constant-product rule, x·y=k. Every trade moves the price along that curve.

The mechanic is unforgiving by design. A pool holds two assets whose quantities, multiplied together, stay constant. Buy one side and you shrink its reserve, which pushes its price up along the curve. The bigger your trade relative to pool size, the further along the curve you slide, absorbing more price impact.

On an AMM, there is no book to walk. Your trade slides the price along a mathematical curve, and the deeper the pool, the gentler the slide.

So, the CEX-versus-DEX contrast is really depth versus depth. On a CEX, slippage comes from order-book depth-how many limit orders sit near the top. On a DEX, it comes from pool depth-how much liquidity is locked in the pair. Both punish size relative to depth; they just measure depth differently.

DEXs add a wrinkle: Maximal Extractable Value (MEV). MEV is profit a block producer or bot captures by reordering transactions. Front-running means slipping an order ahead of yours. A sandwich attack brackets your trade with a buy before and a sell after, nudging your fill worse. MEV-resistant techniques, such as private transaction routing, exist; this article describes their existence and mechanism only.

That's where slippage tolerance becomes a critical consideration. Slippage tolerance is a dial with two mechanical outcomes: a higher tolerance allows the trade to fill but accepts a worse price and more exposure to sandwich attacks, while a lower tolerance risks the transaction failing in a volatile moment, which still costs gas. Tolerance is a trade-off, not a free lunch.

Why slippage quietly eats a bot's profits (the compounding problem)

Here is the angle every beginner guide misses. A bot placing many fills pays slippage every single time. One trade's slippage is trivial. A thousand trades' slippage is a line on your P&L.

For a bot, slippage is a tax applied to every fill-and across thousands of fills, a tax compounds.

Consider a strategy with a thin gross edge-say it aims to capture a fraction of a percent per trade. Now charge it a fraction of a percent of slippage per fill. In deep, calm markets, that charge is a rounding error. In volatile or low-liquidity conditions, it can swallow the edge whole. The strategy looks good on paper and bleeds in production.

Follow the mechanics and the pattern is plain: high-frequency strategies and low-cap assets are the most exposed to slippage drag, because they combine many fills with thinner order books. More fills mean more slippage events. Thinner books mean each event costs more. Stack those together and the drag is relentless.

This is where evaluating a strategy against historical conditions earns its keep. Backtesting on the strategy marketplace lets you examine historical execution costs-not as a promise of future returns, but as a way to see how sensitive your edge is to realistic fill prices. Volatility is the other half of the story. Our notes on managing risk in unstable markets cover the conditions that widen the gap, and a related guide on setting a stop-loss that survives volatility ties execution directly to those conditions.

An analogy from outside crypto: slippage is the casino's house edge

Slippage behaves like a casino's house edge: a small per-event cost that compounds at scale. On any single bet, the edge is a small percentage tilted toward the house. Over a million spins, that tilt is the whole business model.

The gambler feels the individual wins. The house profits from the aggregate. A bot operator who ignores per-fill slippage underestimates a structural drag on returns-though the actual impact depends on strategy, liquidity, and market conditions. They celebrate the trades that work while the quiet, structural drag does its arithmetic in the background.

"But slippage can be positive too," someone always says, "so it averages out." Positive slippage occurs on some fills-a sell you expected at $50 can fill at $52-but it cannot be targeted, scheduled, or relied upon as part of a strategy. The sign of slippage follows your P&L, not the candle color-a favorable fill is favorable whether price rose or fell. The problem is you can't target it. So it doesn't reliably offset the drag.

Positive slippage is a windfall, not a strategy-you cannot schedule good luck into a trading plan.

Misconception number three: setting a slippage tolerance does not eliminate slippage. It caps the worst fill you'll accept. Everything between your expected price and that cap is still slippage you'll pay when the market hands it to you.

What this means for a trader running a bot

You can't eliminate slippage. But a trader can decide in advance how much of it a bot is allowed to accept. A maximum-slippage setting caps the price deviation a fill will tolerate. Beyond that threshold, the order doesn't go through at that price. The appropriate tolerance depends on your own risk tolerance and market conditions, so treat what follows as a description of how the lever works, not as a recommended number.

You cannot eliminate slippage, but you decide in advance how much your bot accepts-and that decision is itself part of the strategy.

Three levers move the dial. Order type: a market order prioritizes speed and absorbs whatever the book gives, while a limit order caps price but risks not filling. Order size relative to depth: the bigger your size against resting liquidity, the further you walk. And asset liquidity: a deep major pair behaves nothing like a thin micro-cap.

On the execution side, bots can run limit orders with a user-defined maximum slippage setting that caps the accepted price deviation on a fill. This setting defines a ceiling-the fill lands somewhere between your expected price and that ceiling, and you experience whatever the market delivers inside that band. That's a feature description. You can read the full execution and order-type features and decide how they fit your own approach.

And "normal" slippage? It varies by liquidity and market conditions. A deep BTC pair in a calm hour might show a rounding error. A thin altcoin mid-spike might show several percent. There's no single acceptable number, and anyone who gives you one is guessing. The honest approach is to measure your own fills against your own expected prices-and let that number, not a borrowed benchmark, shape how much deviation your bot is set to accept.

FAQ

Why did my order fill at a different price than what I saw on screen?

The price you saw was the top of the order book or a quote, not a guarantee of depth. A market order fills against successive price levels until your size is complete, so your average fill drifts from the quote. In fast markets, the price can also move in the milliseconds between your click and your fill.

How much slippage is normal or acceptable?

It varies by liquidity and conditions-there's no universal number. Deep, high-volume pairs in calm markets produce slippage small enough to ignore. Thin or low-cap assets in volatile moments can produce several percent. Rather than rely on a benchmark, measure the gap between your expected and executed prices on your own trades.

How does slippage affect my bot's profitability, especially with high-frequency trades?

Slippage is incurred on every fill, so a bot that trades often experiences it repeatedly. A strategy with a thin per-trade edge can see that edge consumed when per-fill slippage accumulates across thousands of trades-most severely in volatile or low-liquidity conditions. Backtesting shows how a strategy would have performed under past conditions; it does not predict future results, but it does help you understand those execution costs before committing capital.

Can I actually benefit from positive slippage?

Positive slippage occurs-a sell expected at $50 can fill at $52, and the sign follows your P&L rather than the direction of the candle. But it cannot be targeted or relied upon. Treat it as an occasional windfall, not a line item you plan your returns around.

Methodology: Every mechanic here is drawn from general, vendor-neutral market knowledge-the expected-versus-executed definition, the ((Executed − Expected) / Expected) × 100 formula, order-book walking on centralized exchanges, and constant-product (x·y=k) price impact on AMMs. The worked ETH example (expect 1 ETH at $3,000, fill at $3,041 ≈ 1.37%) and the order-book walk-through are illustrative, hypothetical calculations, not real market data. No proprietary dataset was produced for this piece, and no external figures are attributed; confirm any number against your own exchange data before treating it as sourced.

This article is for educational purposes only and is not financial or investment advice. Cryptocurrency trading involves substantial risk, including the possible loss of your capital. Do your own research and never trade more than you can afford to lose.

Související Články

Apply scalping strategy
Bot Trading 101 | How To Apply a Scalping Strategy

18. 6. 2020 • 1 385 077 zobrazení • 4 min čtení

BTC vs USDT as quote currency
Cryptocurrencies | BTC vs. USDT As Quote Currency

12. 3. 2019 • 542 546 zobrazení • 3 min čtení

4 types of technical indicators
Technical Analysis 101 | What Are the 4 Types of Trading Indicators?

21. 12. 2018 • 346 930 zobrazení • 6 min čtení

Bot Trading 101 | The 9 Best Trading Bot Tips of 2023
Bot Trading 101 | The 9 Best Trading Bot Tips

17. 12. 2019 • 346 731 zobrazení • 7 min čtení