slippage doc

This commit is contained in:
tim
2025-03-31 14:45:42 -04:00
parent 45b205eedc
commit 8eff3da973

View File

@@ -1,6 +1,6 @@
# Slippage
The term [slippage](https://en.wikipedia.org/wiki/Slippage_(finance)) refers to the difference between the price you expected, or the original market price, and the actual price you got when the trade was completed. The more volume you want to trade, the higher your slippage becomes.
The term [slippage](https://en.wikipedia.org/wiki/Slippage_(finance)) refers to the difference between the price you expected, or the original market price, and the actual price you got when the trade was completed. The more volume you want to trade, the worse price you get, which is slippage.
In DeFi, slippage can be mechanically caused by [MEV](https://ethereum.org/en/developers/docs/mev) actors within a single block, so proper slippage controls use either oracle prices or something like a time-weighted average price (TWAP) as the "true" price.
@@ -8,6 +8,8 @@ Dexorder uses the 10-second TWAP as reported by the Uniswap v3 price oracles. If
Slippage is set to 0.30% by default, and may not be lower than 0.01%.
Slippage control does not apply to limit orders that have designated an acceptable price. Limit orders can move the market as far as they want, up to their stated price limit. Slippage only applies to tranches that have not specified price limits, like DCA's or regular "buy now" market orders.
If an attempted execution hits the slippage control, then it fills partially and enters a brief cooldown period before attempting the trade again.
If your order is large enough to move the market and trigger slippage controls, consider using Dexorder's DCA or Dates tool to split up your order.