Content
@
0 reply
0 recast
0 reaction
fico
@fico23
is there a way to calculate 2% slippage on both tokens? like how many tokens0 we need to reach 2% slippage.
1 reply
0 recast
0 reaction
Haardik
@haardikkk
Given the current price P 2% slippage (depending on direction) will be hit when price is 1.02*P or 0.98*P Take the square root and convert to Q Notation to get the sqrtPriceLimitX96
1 reply
0 recast
1 reaction