Basic liquidity pools such as those used by Uniswap use a constant product market maker algorithm that makes sure that the product of the quantities of the 2 supplied tokens always remains the same. On top of that, because of the algorithm, a pool can always provide liquidity, no matter how large a trade is. The main reason for this is that the algorithm asymptotically increases the price of the token as the desired quantity increases. The math behind the constant product market maker is pretty interesting, but to make sure this article is not too long, I’ll save it for another time.
**
The main takeaway here is that the ratio of the tokens in the pool dictates the price, so if someone, let’s say, buys ETH from a DAI/ETH pool they reduce the supply of ETH and add the supply of DAI which results in an increase in the price of ETH and a decrease in the price of DAI.
**
How much the price moves depends on the size of the trade, in proportion to the size of the pool. The bigger the pool is in comparison to a trade, the lesser the price impact a.k.a slippage occurs, so large pools can accommodate bigger trades without moving the price too much.
May 3, 2021, 7:49 PM
I probably don't understand some things, could you provide some material that shows how it works in detail? I would be grateful
May 3, 2021, 8:06 PM
https://uniswap org/docs/v2/protocol-overview/how-uniswap-works/ this material explain how do automated liquidity works. (the link is without the dot betwen "uniswap" and "org")
May 3, 2021, 9:06 PM
Thank you so much, have a good day🔥
Links are allowed in here if you have been here longer than 24 hours
May 3, 2021, 9:08 PM
Guys, it's a good or bad idea to pair the liquidity of my token to a stable coin as like USDC/USDT?
*The initial pairing
May 3, 2021, 9:14 PM