Hi there, kids!I hear you are scared about that bear everyone is talking about. Will it wake up, will it get eaten by a bull? I don't know. But while we have nothing else to do, why not take the time to learn something new?So let's talk about impermanent loss before nap time.Imagine I have a dragon, and I want to trade it for a unicorn. Both magical creatures are the same price (because they're magic).I go to the toys store, but they don't want to buy back my dragon. So I need to find someone who is willing to exchange their unicorn for my dragon. I go to the flea market, and I find a merchant with 50 dragons and 50 unicorns in his stand. This is the liquidity pool.The merchant accept to give me a unicorn if I give him my dragon. But as the merchant has to make a living, he charges me a small fee, about 2.5% of the value of the trade, to accept my proposition. I gladly accept to pay the fee, and I go home with my new unicorn.But now, the merchant has a problem : he has 51 dragons and 49 unicorns. If more and more kids want to trade their dragons for unicorns, the imbalance will grow, and the merchant will eventually run out of unicorns.The merchant needs an equal amount of dragons and unicorns on it's stand to make good business. So he goes to a friend and offer to sell him 1 dragon for a discount - the dragon is worth $10, so the merchant will sell it for $9.95. The friend accept (because that's what friends are for), he turns around and sell the dragon at full price, netting a profit of $0.05. He then buys a unicorn on the internet for $10, then goes back to the merchant, and sell it to him for $10.05, netting another profit of $0.05 (this is called arbitrage). The friend has now made $0.10 of profits, the merchant has done $0.15 (the original 2.5% fee he charged me, minus the $0.10 loss from the trades with his friend.) Everybody is happy!That $0.10 loss is what is called impermanent loss. It's the cost of maintaining the balance between dragons and unicorns on the stand.Now, of course, if the merchant didn't charge me that 2.5% fee, he would be losing money. But he does charge a fee, so he ends up doing profits anyway.So why are people afraid of impermanent loss? Because if the price of one of the item explodes, and the other item does not, then the losses will be greater. If unicorns are now worth $20, the merchant will incur a greater loss when his friend helps him with the arbitrage. It sucks, and that's why some people don't want to be liquidity providers.But here is the thing : fees are almost always more then enough to cover for impermanent loss. In our example above, if the price of unicorn doubles and the price of dragons stay the same, impermanent loss will only amount to 5.72%. It doesn't take much volume for fees to cover this.There are a few caveats, tho. If you want to provide liquidity for shitcoins, you will absolutely get rekt if/when the shitcoins value goes to zero. That's why you should provide liquidity only with tokens you are comfortable holding long-term. Another good thing to keep in mind is that it is way less risky to provide liquidity for a pair that includes a stablecoin, because it's value will go unchanged. Some ETH/USDC pools were giving a whopping 200% APR for a few hours yesterday. Even if ETH shot up to a ridiculous price tag of $50 000 USD in six months, you will have made more money then if you simply hold.Another thing to keep in mind is that impermanent loss calculators give you the estimate difference between providing liquidity and hold-only... that is, if you were somehow able to perfectly time the bottom and top of the market. As we know it's impossible to time the market, those calculators really give you an absolute worst-case scenario.Oh, darn, time flies!It's now nap time, my young friends. Hope you enjoy my story... and I hope you will dream of dragons and unicorns.
Submitted January 24, 2022 at 06:36AM
No comments:
Post a Comment