Slippage and failed copy trades

Slippage and failed copy trades

Slippage is the difference between the price or token amount you expect when submitting a trade and the result you actually receive when the trade is executed on-chain.

Slippage is common in on-chain trading because prices can change between the moment you submit a transaction and the moment it is confirmed.

A simple example

You expect a 1 SOL buy to receive 1,000 tokens. With a 5% slippage tolerance, the trade will generally accept no fewer than 950 tokens.

If the available amount falls below that minimum before execution, the transaction will fail instead of filling outside your limit. Setting a 5% tolerance does not mean you will automatically lose 5%; it only defines the maximum price movement you are willing to accept.

How is the percentage calculated?

For a trade quoted by token amount, the simplified calculation is:

Minimum tokens accepted = Expected tokens × (1 − Slippage tolerance)

If a trade is expected to receive 1,000 tokens, the table below shows the minimum output you are willing to accept. It does not predict the amount you will actually receive. The actual output may be higher than this minimum.

Slippage toleranceMinimum acceptable output (not the actual output)What it means
1%990Your minimum acceptable output is 99% of the quoted amount
5%950Your minimum acceptable output is 95% of the quoted amount
10%900Your minimum acceptable output is 90% of the quoted amount
50%500Your minimum acceptable output is half of the quoted amount
99%10Your minimum acceptable output is 1% of the quoted amount
100%0Your minimum acceptable output is 0, meaning there is no minimum-output protection

These examples illustrate the meaning of the percentage. Actual results can also be affected by protocol rules, rounding, token mechanics, and transaction execution.

SOL slippage (Solana copy and sniper buys)

Copy-trading and sniper buys let you choose either % or SOL. SOL mode requires an amount of at least 0.1 SOL, with at most 9 decimal places and no default amount. It does not apply to sells, manual trades or other chains.

For example, 0.5 SOL means: after the leader fills, do not follow if roughly more than another 0.5 SOL buys ahead of you. The executor uses the pool state after the leader’s fill to calculate the output your order would receive after that additional buy amount, and uses it as the minimum output. This is a price limit, not a running sum of trades; intervening sells can free up price room. A different pool uses its current state, and delayed buys use the state at execution time.

For sniper buys, the base is the pool right after the token’s creation transaction, including the dev’s first buy: 0.5 SOL means do not buy if roughly more than another 0.5 SOL buys ahead of you after the token is created.

SOL mode replaces buy-side percentage slippage. Both stored percentage lanes remain intact and take effect again when you switch back to %. In SOL mode, price strategy only controls how unknown fees are handled; it does not add a percentage output floor. If the quote already misses the SOL floor before sending, the executor rejects with follow_sol_slippage_exceeded (the same code for copy and sniper buys). Later price changes can still cause on-chain slippage failure. You can raise SOL slippage or return to percentage mode; neither guarantees a fill.

Why does slippage happen?

Common causes include:

  • Fast price movement: The token price changes while your transaction is waiting to be confirmed.
  • Low liquidity: A pool with limited liquidity can move sharply even on a relatively small trade.
  • Large order size: A trade that is large relative to the pool can move the price by itself.
  • Network and execution delay: Congestion or slower confirmation gives the market more time to move.

Low vs. high slippage tolerance

SettingBenefitTrade-off
Lower toleranceBetter protection against an unexpectedly bad execution priceThe trade is more likely to fail when the market moves quickly
Higher toleranceThe trade is more likely to execute in volatile or thin marketsYou may accept a worse price and face greater MEV or sandwich-attack risk

The slippage tolerance is a limit, not a target. For example, a trade with a 10% tolerance may still execute with only 1% actual slippage.

Slippage, price impact, and fees

These terms are related but not identical:

  • Slippage is the difference between the expected and actual execution result.
  • Price impact is the price movement caused by the size of your own trade relative to the pool’s liquidity. It can contribute to slippage.
  • Token buy/sell taxes and DEX trading fees: On APM, these are included in the slippage calculation and consume part of the configured slippage tolerance.
  • Network execution fees, such as gas and priority fees, are paid separately and do not consume the slippage tolerance.

How taxes and DEX fees affect slippage on APM

Suppose the slippage tolerance is 10%, while the token tax and DEX trading fee together account for approximately 6%. Those costs have already consumed about 6 percentage points of the tolerance, leaving only about 4 percentage points for other price movement. If the total effect exceeds the configured tolerance, the transaction may fail.

What a high percentage means

A higher slippage setting does not improve the execution price. It lowers the minimum amount the transaction is allowed to receive. At 99%, the minimum is only 1% of the quoted amount; at 100%, the minimum is 0.

Pump.fun note

Pump.fun uses one-sided slippage. When buying, leave enough SOL to cover the permitted price movement. For example, a 1 SOL buy with 20% slippage may require at least 1.2 SOL in available balance. If the balance is insufficient, APM may reduce the slippage setting so the transaction can still be submitted.

Buys larger than the curve’s remaining capacity: Pump.fun buys (except Pump Mayhem and cashback coins) are placed for the full amount. Once the curve is bought out, the rest of the amount keeps filling in the same transaction at the migration pool’s opening price, at a higher average price than the curve portion. The minimum output for both percentage and SOL slippage covers both portions together; if it is not met, the whole transaction fails. Pump Mayhem, cashback coins and other launch curves (Raydium LaunchLab, Meteora DBC) still reduce the buy amount to the curve’s remaining capacity.

Robinhood Circus: buys larger than the curve’s remaining capacity are also placed for the full amount. Once the curve is bought out, the token migrates to a Uniswap V4 pool and the rest of the amount keeps filling in the new pool in the same transaction, after a 1% migration-pool fee, at a higher average price than the curve portion. The slippage minimum output covers both portions together; if it is not met, the whole transaction fails. Older Circus tokens that migrate to a Uniswap V3 pool, and the other launch curves on BSC and Robinhood, still reduce the buy amount to the curve’s remaining capacity.

Why can a copied trade differ from the leader’s trade?

Your configured slippage tolerance does not guarantee the leader’s execution price. The relevant reference depends on the price strategy and execution route; your order size and the market state can also differ. The minimum-output examples above assume a known quote, not a universal bound measured from the leader’s price.

For API copy configurations, advanced.leader_fill_buy_slippage selects the copy-buy price strategy: false is Speed first (the default) and true is Price protection. Speed first sends at once and never waits for the target’s fill. With slippage below 100%, if the target’s average fill is available without waiting:

Signed minimum received = max(existing basis × (1 − slippage), tokens your amount would buy at the target’s average fill price × (1 − slippage))

This can tighten the existing minimum, never lower it. The target’s price rise and your own impact then use up slippage. If the price has already moved past the bound, Speed first still sends. You pay network fees if the transaction is included on-chain and reverts. Price protection is unchanged: it may wait for the target’s fill (on Solana only when the target’s transaction cannot be fully read before it lands, or is expected to fail), and skips sending without that price or when its quote already misses the bound.

Revert-protected BNB Chain buys (copy buys, and snipe buys sent after the launch transaction is already on-chain): If the buy expires without being included or using its nonce, APM reports exceeded_slippage when replay at the calldata deadline confirms that the buy would receive less than its signed minimum. The expired buy incurs no gas charge. If replay cannot confirm a slippage failure, APM reports bundle_expired_unspent.

Copy sells always use maximum slippage (10000 bps, or 9999 bps where the route accepts no more), with no minimum received, regardless of your sell slippage, and never wait for the leader’s fill. The web no longer offers a sell-side price strategy on any chain. advanced.leader_fill_sell_slippage is deprecated: accepted but execution does not read it; configs stored as strategy tasks read back false. The deprecated top-level price_strategy field is also accepted but ignored by execution; configs stored as strategy tasks read back protected.

In copy-trading and sniper tasks, the sell slippage only bounds Dev Sell and Migration Sell. Flash Sell, take profit, stop loss, Trailing Stop, segmented take profit, sales triggered by a confirmed earlier buy from a listed wallet and the position close when a task stops with close-position are also sent at maximum slippage. See strategy settings.

EVM (BNB Chain / Robinhood): Speed first uses the target-fill bound when the local estimate covers the target’s whole trade, or its fill result is already known. If a pool the target’s trade uses is not loaded yet: on BNB Chain it is loaded first, which adds one internal read; on Robinhood the order does not wait for the load and goes out on the next rule, while the load finishes in the background for later orders. When the target’s fill is still unavailable, the bound uses the price implied by the target transaction’s own declared minimum received (or maximum paid, for an exact-output buy), less your slippage; the target’s actual fill is never worse than that price, so this bound can only be looser, never stricter. If the target transaction declares no such limit, the existing basis is unchanged: the full-amount estimate after the target’s fill, falling back to the quote at send time or pool state at execution. Those fallbacks may not bound a price move before the order lands. Fees and token taxes still count.

Solana: the target’s fill arrives with the on-chain event, so Speed first normally uses it without waiting. If the target and you use different quote tokens, the fill is converted using both tokens’ latest USD prices. Without the fill or conversion prices, Speed first keeps its original basis, your own quote at send time; it does not reject for missing prices. On Solana, Price protection usually adds no wait; when the target’s transaction cannot be fully read before it lands, or is expected to fail, it decides once that transaction lands. It counts the pool fees you also pay, and still sends nothing without the required fill or conversion prices, or when its quote already misses the bound.

Curve-migration continuation buys: both modes keep the target-fill bound when the buy continues on the new market after the curve migrates.

A failed-copy checklist

What you observeCheck nextWhat it does not prove
A task was saved, but no buy appearsRequested status and engine acknowledgement; then whether an eligible leader signal occurredSaving a task does not start a trade
API order has failure_stage=pre_tradereason_code, task filters and the signal detailsA rejected signal is not necessarily a slippage failure
API order has failure_stage=executionAvailable failure details, balance, fees and transaction informationRaising tolerance cannot resolve every execution failure
An order has status=broadcastWait for its subsequent status and inspect the chain transactionA transaction hash alone is not a confirmed fill
A confirmed fill differs from the leaderActual input/output, timing, fees, taxes and order sizeThe configured percentage is not the measured loss

Keep the chain, task ID, order ID and any transaction hash with a troubleshooting report. Do not include API tokens or private keys. If reason_code is null or unfamiliar, retain that uncertainty rather than classifying the failure as slippage.

For API integrations, the lifecycle tutorial separates configuration state, engine confirmation, orders and trades; the two history endpoints have different status vocabularies. For the visual workflow, inspect your APM tasks and the task records guide.

Should I keep increasing slippage until a trade succeeds?

Increasing tolerance permits a worse output; it does not improve the quote or fix task state and filter rules. Diagnose the failed stage first, then review whether the intended amount and maximum acceptable execution result still make sense. No single percentage is appropriate for all pools, tokens or execution routes.