Slippage
Slippage is the difference between the quoted price and the executed price, caused by pool depth and by other transactions landing first.
/ quick answer
A DEX quote is an estimate at current state. By execution, the state may differ — hence a slippage tolerance. Set it too tight and the trade reverts (you still pay gas); set it too wide and sandwich bots can extract most of your value. Split large orders, use aggregators and avoid illiquid pools rather than raising tolerance.
What is Slippage?
A DEX quote is an estimate at current state. By execution, the state may differ — hence a slippage tolerance. Set it too tight and the trade reverts (you still pay gas); set it too wide and sandwich bots can extract most of your value. Split large orders, use aggregators and avoid illiquid pools rather than raising tolerance.
What is an example of Slippage?
A 0.3% tolerance failing on a volatile token, while a 15% tolerance invites a sandwich attack that costs far more than a failed trade.
Why does Slippage matter for AI and automation?
Slippage is the difference between the quoted price and the executed price, caused by pool depth and by other transactions landing first. It connects to the workflows, prompts and tool stacks linked on this page, so you can move from definition to execution without leaving Onexial.
/ continue exploring
Related concepts
The vocabulary this page depends on.
- →DEX
A DEX is an exchange implemented as smart contracts, where trades settle on-chain from your own wallet instead of an internal exchange ledger.
- →Liquidity Pool
A liquidity pool is a smart contract holding two or more assets that traders swap against, with prices set by the pool's formula rather than an order book.
- →DeFi
DeFi is financial infrastructure built as open smart contracts — lending, trading, staking and derivatives that anyone can use or compose.
- →Copy Trading
Copy trading mirrors another trader's or wallet's positions automatically, inheriting both their edge and their risk profile.
Related workflows
Turn this into a repeatable process.
- →AI Token Research Workflow
Screen a token in under 30 minutes: contract facts, liquidity structure, holder concentration and a written risk verdict.
- →DEX Trading Workflow
Execute an on-chain swap deliberately: research, liquidity check, route comparison, sized order, then position monitoring.
- →Compare DEX Prices And Routes
Find the genuinely best execution for a swap by comparing net output after slippage, fees and gas across venues and chains.
- →Monitor Liquidity
Watch the pools you depend on for exit liquidity, so a position becomes unexitable only in theory, not by surprise.
Related tool stacks
The tools that run it in production.
- →Crypto Trading Stack
Market data, charting, DEX access and a Web3 wallet — the minimum toolset for deliberate on-chain trade execution.
- →DeFi Execution Stack
Web3 wallet, DEX aggregator, DeFi protocols and a portfolio tracker — the toolset for actually deploying capital on-chain.
- →AI Trading Stack
Adds an AI analysis and risk-review layer on top of a trading stack, keeping approval and execution human.
Related prompts
Reusable prompts for this job.
- →Entry & Exit Framework Prompt
Forces every position to have a documented entry zone, invalidation, sizing and exit plan before capital is committed.
- →Trading Strategy Generation Prompt
Converts a market view into a written, testable strategy with entry rules, invalidation, sizing and explicit failure conditions.
- →DeFi Protocol Research Prompt
Decomposes a protocol's yield source, contract risk, oracle dependency and exit path into a written risk verdict.
- →Trading Assistant Agent Prompt
System prompt for an assistant that drafts trade plans, argues against them, and never executes.
Related use cases
How people apply it, and what came out.
- →Compare DEX Prices
Comparing net output instead of headline quotes recovered around 1.9% on a $180k swap by splitting it across two routes.
- →Automate Trading Alerts
Encoding invalidation levels as automated alerts removed screen-watching and caught two thesis breaks the trader would have slept through.
- →Use DeFi With A Web3 Wallet
A first-time DeFi user moved from an exchange to self-custody with a test-transfer routine and a 2% allocation cap, avoiding two protocol failures.
- →Build An AI Trading Assistant
An assistant that drafts and attacks its own trade plans raised plan completeness to 100% and rejected a fifth of setups on liquidity grounds.
Comparisons & alternatives
Pick between the options.
- →Manual Trading vs Automated Trading
Manual trading adapts to context; automation enforces consistency. Most durable setups automate monitoring and keep judgement human.
- →CEX vs DEX
Centralised exchanges optimise for liquidity, fiat access and convenience; DEXs optimise for custody, permissionless listing and on-chain transparency.
- →AI Agent vs Trading Bot
A trading bot executes fixed rules deterministically; an AI agent interprets context and decides which steps to take — powerful for research, risky for execution.
- →DeFi vs Traditional Finance
DeFi offers open access, composability and transparent rules; traditional finance offers legal recourse, insurance and stability.