Let us assume that there is an arbitrage opportunity in uniswap v3 pools.Now I want to take a flash loan to make a swap in uniswap v3 pools.My doubt is how can I calculate the optimal amount in for the arbitrage opportunity in pools.So that I can take the needed amount as flash loan.I know how it was calculated for uniswap v3 https://www.youtube.com/watch?v=9EKksG-fF1k&t=224s.

  • Because Uniswap v3 pools liquidity is not uniformly distributed, you cannot calculate the optimal arbitrage amount by not having pulling out all liquidity tick data first. Mar 17 at 10:40
  • hello @MikkoOhtamaa .Can you explain more clearly or the steps that I have to follow to calculate the amount in
    – kumar
    Mar 17 at 15:16
  • Sorry, just here to comment that you might have a false expectation how it works. Mar 17 at 17:40


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.