How to Calculate Price Impact on Uniswap V3 and SushiSwap in Go?
I’m currently building a trading bot on the Ethereum network using Go. I’m retrieving data from Uniswap V3 and SushiSwap via their APIs, and I’m struggling with calculating the price impact correctly.