Over the course of
@The_BlockBot beta testing, I saw some novice questions from testers that prompted this explainer series. We'll begin with Slippage:
What is Slippage?.
Slippage is a deviation from your expected output amount of tokens.
Why slippage?.
In between the time it takes from the submission of your trade transaction to the blockchain to its execution on the Blockchain, the token's price could have changed in that time, which in turn reflects on the amount of tokens you'll actually receive. The longer it takes for your transaction to be included in a block (executed)—you can fasten this process by rewarding validators with a competitive priority fee, the more price could potentially change in any direction. An explainer on transaction priority fee and how to take advantage of it as a trader is coming soon.
What is Slippage Tolerance?.
Your slippage tolerance —aptly named— defines the max allowable deviation (slip) from the expected output you're willing to accept. A slippage tolerance of 5% means you're willing to accept a MAXIMUM of 5% LESS tokens from the expected output (4% less tokens? Fine, 3% less tokens? Fine, 2% less tokens? Fine, 1% less tokens? Fine, 0% less tokens? Perfect ). In an ideal world, you should receive 100% of the expected amount but the real world is different. A 5% slippage tolerance means you're willing to accept 95%, 96%, 97%, 98%, 99% or 100% (obviously) of the expected tokens but you won't accept 94% to 0% of the expected amount—the dEX smart contract will revert with an `Insufficient output amount` error in that case.
We'll be adding shorter explanations of some trading concepts somewhere in BlockBot soon. See you in the next explainer.