Background: AMM & IL
Last updated
Last updated
Automated Market Making (AMM) is one of the key mechanisms in the decentralized finance (DeFi) field. By serving as liquidity providers in decentralized exchanges (DEX), investors may earn protocol incentives: swap fees and liquidity mining rewards.
However, there will be no profit without risks. The nightmare of serving as a liquidity provider would be Impermanent Loss (IL). As its name, IL is the temporary loss because the price deviates from its entry price. IL is generally defined as the capital discrepancy between serving as a liquidity provider and simply holding assets at hand. IL is impermanent because IL will disappear when the price of paired assets returns to its entry price. Nevertheless, most of the cryptocurrencies fluctuate all the time, so there will be IL almost everywhen.
Furthermore, IL exists whether the price of assets rise or fall as we can see in the following chart:
The impermanent loss would cause liquidity providers to lose more when the price falls, and gain less when the price rises.
IL is determined by the degree of price change as the formula below:
r = rate of price change. r = 1 means there is no price change, which IL = 0.
Given that IL being the biggest enemy of liquidity providers, scientists have been working on solving this issue for a long while. Potential solutions including longing or shorting the assets to hedging its fluctuation did not work perfectly by far.
Since we cannot predict future price change, the degree of IL would remain uncertain to us. Where there is uncertainty, there lies room for gambling. A potential hedging approach would be purchasing options with some premium in exchange for a risk-controlled future. The options are synthetic, tokenized hedge positions of impermanent loss. We call it impermanent gain.