I've made a contract which basically do an arbitrage between two exchanges. What I couldn't understand it is that in AMM whenever the liquidity gets increased or decreased the price gets fluctuated. But that's not what's happening with any of the Exchange likewise
- asset A in Uniswap has a price of 1 ETH
- asset A in Uniswap purchased by 1,000,000 ETH
Uniswap got new 1,000,000 liquidity for an asset and it's price gets increased. but when i see this after investing 1,000,000 from flashloan it doesn't affect a price for even bit. How is this possible.
Does flashloans not added into the liquidity because the liquidity pool gets increased but it doesn't affect the price.