Impermanent Loss: The one topic every crypto website somehow explains incorrectly.

avatar
(Edited)

downtimewrongbroken.png

It's no secret that DEFI yield farms are becoming the 2017 ICOs to the 2021 bull market. Everyone seems to be jumping on the DEFI train. Whether it's on Ethereum with Uniswap, BSC on Pancakeswap, or wherever else, yield farming is definitely the latest craze.

But the thing about yield farming and liquidity pools is that your tokens are for sale. I repeat: your tokens are for sale. You are the house, and the traders are the gamblers. It should be no surprise that sometimes the gamblers will get lucky and win, yet new users constantly seem to find this surprising regardless of the facts and reality presented.

impermanent-loss2.png

Literally go to any website that attempts to explain "impermanent loss".

Search for the key word: "arbitrage".

Any website that attempts to explain impermanent loss using this keyword is automatically wrong, and most all of them do it. How is this even possible?

https://coinmarketcap.com/alexandria/glossary/impermanent-loss

This creates an irresistible opportunity for arbitrage, because the price of ETH in the liquidity pool now doesn’t reflect what’s going on in the real world. To ensure the ratio of DAI to ETH remains balanced, other traders will buy ETH at a discounted rate until there’s equilibrium again.

After arbitrage, a liquidity provider may end up with a greater amount of DAI and slightly less ETH. Impairment loss assesses the current value of their assets against what they would be worth if left sitting pretty in an exchange.

Coinmarketcap? WRONG!

https://finematics.com/impermanent-loss-explained/

If ETH goes up in value, the pool has to rely on arbitrageurs continually ensuring that the pool price reflects the real-world price to maintain the same value of both tokens in the pool. This basically leads to a situation where profit from the token that appreciated in value is taken away from the liquidity provider. At this point, if the LP decides to withdraw their liquidity, the impermanent loss becomes permanent.

finematics.com? WRONG!

https://blog.bancor.network/beginners-guide-to-getting-rekt-by-impermanent-loss-7c9510cb2f22

To understand how impermanent loss occurs, we first need to understand how AMM pricing works and the role arbitrageurs play.

In their raw form, AMMs are disconnected from external markets. If token prices change on external markets, an AMM doesn’t automatically adjust its prices. It requires an arbitrageur to come along and buy the underpriced asset or sell the overpriced asset until prices offered by the AMM match external markets.

During this process, the profit extracted by arbitrageurs is effectively removed from the pockets of liquidity providers, resulting in impermanent loss.

Bancor Network? WRONG!

This one is particularly egregious.
I invite you all to read the last line one more time:

During this process, the profit extracted by arbitrageurs is effectively removed from the pockets of liquidity providers, resulting in impermanent loss.

Think about this for a second. Profit is extracted by arbitrageurs from the liquidity providers? But then when the price returns to the same level that profit is somehow taken from the arbitrageurs back into the pockets of the liquidity providers? That's the most fucking ridiculous thing I've ever heard on a mathematical level. It is mathematically impossible.

The arbitrageur can make money in both directions. It's blatantly obvious that the money does not come from the LPs, but rather the users that created the price difference in the first place (traders). THAT'S THE DEFINITION OF ARBITRAGE. Liquidity providers don't create it, it's the takers that move markets. Not the makers. Seriously mindblowing.

https://blog.liquid.com/impermanent-loss

Let's say you have two types of assets (DAI/ETH pool) staked on an AMM. If the value of ETH jumps by 10 percent, it will create an arbitrage opportunity for traders. Arbiters can purchase ETH from the AMM at 10 percent cheaper prices than external markets. Arbiters will then be incentivized for selling equivalent DAI balancing the AMM.

LOL, WRONG AGAIN!

https://academy.binance.com/en/articles/impermanent-loss-explained

Let’s say that the price of ETH increases to 400 DAI. While this is happening, arbitrage traders will add DAI to the pool and remove ETH from it until the ratio reflects the current price.

Binance, try again. You're wrong.

https://www.gemini.com/cryptopedia/decentralized-finance-impermanent-loss-defi#section-mathematical-example

Arbitrageurs from outside of Uniswap come in and buy all the ETH in your pool until the price reaches 200 DAI and matches external exchanges

Gemini, bro.

Stop spreading misinformation.

https://medium.datadriveninvestor.com/impermanent-loss-in-defi-the-risks-involved-in-providing-liquidity-67c54fdf1cfc

This creates an arbitrage opportunity with a 10% increase in the price of P2 ETH. Traders called arbitrageurs can buy ETH at a lower price from the AMM, if it does not update. Arbitrageurs are also incentivized to balance the pool by selling DAI for ETH.

Medium... Jesus Christ!

Full stop.

whatisimpermanentlossgooglesearch.png

Look at how crazy this is!

I didn't not pad any of this data. I did not seek out websites that would prove my point. I typed in "What is impermanent loss" into Google and EVERY SINGLE link on the first page spits out incorrect information from all of the top authorities on the subject. Every single one. Go check.

C'mon @edicted, there is no way in hell that every single authority on the subject is wrong and somehow you're right. Get over yourself!

Yeah, that's what I thought too!

Do you know how long it took me to figure out impermanent loss? Hours. I was thinking to myself: "Wow, why am I such an idiot about this subject? Why is this taking me so long? It's not that complicated!" And I was right! Impermanent loss is not that complicated.

The reason why it took me hours to understand it is because every single website explains it incorrectly, and my brain figured out the inconsistencies and it confused the hell out of me. It took me hours to figure this stuff out because every single explanation is wrong. Every one.

Would you like some proof?

First, we must define the term arbitrage and fully understand what it means before we can proceed any further.

t1.png

Luckily, arbitrage is a pretty simple concept.

If Bitcoin was being sold at $33k on one exchange and $34k on another exchange, this would allow someone to buy BTC for $33k and then sell it for $34k. Eventually, liquidity of both markets would meet somewhere in the middle. Assuming both exchanges had similar liquidity the new BTC price would be $33.5k on both exchanges after all the arbitrage had occurred.

The point here is that arbitrage requires two or more markets that list the same fungible asset, but there is a difference is price (caused by traders/takers) that can be used to turn an instant profit with very little risk.


volatile.jpg

All we have to do is ask ourselves one question:

What if there is only one market?

If there is only one market, then arbitrage is 100% impossible to employ due to the definition of equalizing the liquidity on 2 or more markets. This is all the proof one needs to realize that every single explanation of impermanent loss is incorrect, because this concept of "impermanent loss" plays out exactly the same when there is only one market listing the asset in question.

For example, say CUB only had one listing: CUB/BUSD

In this example, say we have $10,000 in the LP and CUB goes x4. This implies that the ratio in the LP has changed by x4, meaning that someone doubled the amount of BUSD in the pool, extracting half of the CUB at the same time.

In this scenario, CUB has gone x4 but the value of our LP tokens has only increased x2. Thus impermanent losses occurred. If we had simply held the CUB/BUSD outside the pool the $5000 worth of CUB would have x4 to $20k, while we'd still be sitting on an additional $5k worth of BUSD. In theory, we lost $5k being in the LP if you don't count how much was farmed during that time.

So what does this situation have to do with arbitrage?

Absolutely nothing, and any website that says differently is grossly overcomplicating and confusing the issue to the point of absurdity. It's mindblowing to think that by "any website" what I really mean to say is "every website". Every single one seems to get it wrong. How is that even possible? How did this happen?

impermanent-loss.png

I have a few ideas.

Centralized exchanges and order-book technology have been the standard for generations. Automated Market Making is a new (albeit superior) technology that hasn't been deployed at scale yet. Therefore, it becomes obvious that the "experts" that are attempting to explain AMM are doing so using their expertise from the old legacy system.

The implication here is that centralized exchanges are the standard and AMM tech is this cute little thing on the side that supplements order books and centralized tech. The further implication is that big exchanges and order books have way more liquidity than these Podunk decentralized exchanges. Therefore, AMM is looked at through the lens of some kind of weird derivative of order books. In other words: It is the centralized exchange value that determines the price, not the AMM on decentralized exchanges. This is the false paradigm that is constantly being assumed during these early days in the Wild West.

Anyone who's been here long enough knows that nothing could be further from the truth. AMM is potentially superior to order books in every way, it just needs a little bit more development to get there. The liquidity provided by AMM is exponentially greater than order books when comparing the ratio of value that enters the LP pools vs the value that exists on order books. For example, on LEO someone could dump 1% of all coins and only move the price 10%, while if someone dumped 1% of all Bitcoin on centralized exchanges the flash crash would be astounding.

With AMM, every single coin is for sale at the fair market price, while on order books there are many deep liquidity asks and bids that will never get filled in a million years unless there's some kind of devastating flash-crash or pump (which ironically means the liquidity was poor).

It's easy to see how the "experts" can get it so wrong from this perspective. Just like economists don't understand Bitcoin because it goes against their entire discipline and a lifetime of learning experience, so does AMM make no sense to those who are experts in the legacy economy. It's kind of incredible that every single one of them would get it so wrong, but at the same time this is becoming the standard with crypto, abundance, and an emergent cooperative economy. No one understands it because it runs contrary to everything we have ever known.

What is IL?

https://peakd.com/hive-167922/@edicted/impermanent-loss-and-gamblers-syndrome

https://peakd.com/hive-167922/@edicted/logarithmic-volatility-protection-more-impermanent-loss-nonsense

These are the two articles I've written on Impermanent Losses, and despite being unprofessional and lacking the complete picture, they are still more accurate representations of what is actually going on here than any other explanation you can find with a search engine.

dollarcostaveraging.png

DCA: Dollar Cost Averaging

On a very real level, there is no such thing as impermanent loss. It is a fictional concept that does not exist in the real world; a fantasy created by compulsive gamblers who assume that playing it safe and lowering risk/reward is a "loss".

At the core of liquidity pools is the self-explanatory concept that we are providing liquidity. Shocker! That means our coins are for sale. Would we tell someone dollar cost average selling Bitcoin they lost money because they didn't sell the peak? No, because that's preposterous, as no one knows where the peak is going to be. That's the entire point of DCA.

Being an LP provider is the exact same thing as DCA, except we're betting against the gamblers and letting the algorithm trade our money back and forth automatically with a smart-contract. To say that we sustained some kind of loss because the luckiest gamblers in the casino managed to buy low and sell high perfectly? That's just outright ridiculous.

Conclusion

It sort of blows my mind that I could be right about something while every other "expert" is wrong, but here we are. I have definitive proof: arbitrage has nothing to do with impermanent loss because impermanent losses are totally 100% identical when looking at the niche case of singular markets. The asinine idea being rampantly proliferated that arbitrage gains could somehow be temporary (and caused by makers instead of takers) is astounding and provably mathematically false, yet here we are.

No other topic in crypto is so vastly and embarrassingly misrepresented. Much like information provided about conspiracy theory, the flood of false information out there makes it almost impossible to figure out the truth given the data provided by the "fact checkers".

Impermanent loss will continue to be a complete enigma until AMM takes over and claims the throne as the superior option for making markets. When centralized exchange liquidity gets dwarfed by AMM the "experts" will be forced to take another look at their flawed "theory". The entire thought processes of these "authorities" need to make a dynamic shift before this concept is portrayed correctly as DCA rather than some "loss" sustained from not gambling hard enough.

Keep educating yourself and don't believe everything you read.

Posted Using LeoFinance Beta



0
0
0.000
28 comments
avatar
(Edited)

First off, this was really well thought out. It is important to get such a definition from a Liquidity provider as yourself because I think you are in a better position to explain what many people, economists included, struggle to grasp as an entirely new way of transactional relationships.

I bet the reason why there is a widespread consensus of the definition (that you disagree with) is because people were too lazy to ask and answer further questions in other to understand how the liquidity pools work.

0
0
0.000
avatar

My billion dollar idea is to bring AMM technology to create a new stock exchange that works on a blockchain. It would totally take over Wall Street. Which is why it probably won't happen any time soon.

Posted Using LeoFinance Beta

0
0
0.000
avatar

It's bound to happen eventually.
AMM is severely underestimated.

How would you incentivize liquidity providers?
Using a central governing token?
Or will securities be able to allocate inflation to farms as well?

0
0
0.000
avatar

How would you incentivize liquidity providers?

If AMM is the superior technology, why do LPs need to be incentivised?

It sounds as all I need is to fill a form that says: "I am shipping you X tokens of this, Y tokens of that (X>=0, Y>=0) and I think the fair price is Z, please trade my assets accordingly until I tell you to stop and send back.

0
0
0.000
avatar

If there is no farming incentive for providing liquidity then everyone providing liquidity will automatically lose money from "impermanent loss" every time prices move. There would be nothing to gain from providing liquidity, so no one would do it.

AMM is superior to order books because the farming mechanic incentivizes everyone to all throw their liquidity into the same pool, increasing liquidity exponentially compared to an order book and greatly reducing slippage in both directions.

Without yield farming, AMM is pointless.

But at the same time trading fees are part of the yield.
So you could jack up trading fees to like 1%-2% and pay the LPs with that.

0
0
0.000
avatar

AMM is superior to order books because the farming mechanic incentivizes everyone to all throw their liquidity into the same pool

No, it does not. It only incentivises suckers that have money they cannot put to use anywhere. That is certainly not everyone.

For some reason, people do not farm yield their cars. They could liquidity-pool their car and a bit of cash. Then they start earning and everyone is happy until the day they realise their profit is either a second car they do not need or worse yet, a pile of cash with nothing to drive.

The nature of cryptocurrency market makes it more bearable than the ad absurdum example but there is no guarantee that the incentives cover your losses that are anything but impermanent.

0
0
0.000
avatar

You can't just reject reality.
2 + 2 = 4
It's already happening.
It's already happened.
AMM mathematically provides more liquidity to the market on a dollar for dollar ratio.
People are using them.
These are facts.

there is no guarantee that the incentives cover your losses

Literally no one is saying otherwise.
Risk: meet reward.
Providing liquidity is far less risky than trading.

0
0
0.000
avatar

I am not disputing people are using it (or any other part of the reality).

I am just not buying your claim that ...

Automated Market Making is a new (albeit superior) technology

I mean, if your metrics is "let's extract more money from suckers", it is probably a superior technology in this regard. No problem with that - it is just not my first thought when someone says "superior technology".

0
0
0.000
avatar

Dunno. My initial thought is that arbitrage volume between stock exchanges will be enough.

Posted Using LeoFinance Beta

0
0
0.000
avatar

Arbitrage only benefits the takers/traders.
Gotta have a trading fee to make it worth it for liquidity providers.

Luckily the volatility of the stock market is much lower than crypto,
so the fee would likely be competitive with the legacy system.

Not sure if LPs are going to enjoy having half their assets paired to USD though.
Perhaps two pairs (one to USD, another to BTC) would be in order.

0
0
0.000
avatar

Yes, the AMM system in my mind would have trading fees just like most (all?) crypto AMMs have built in.

Posted Using LeoFinance Beta

0
0
0.000
avatar

Right right it's just that... The trading fees on Uniswap and Pancakeswap aren't really high enough to incentivize the LPs. Yield farming added so much sugar on the top it seems like a no-brainer requirement at this point.

0
0
0.000
avatar

I think a chain like this must be ultra-secure. Think about someone rip off a big stake of a stock that affects a lot of people.

0
0
0.000
avatar

So the definition is wrong and its the fault of those centralized exchanges. I think the biggest issue is that most people tend to consider things priced in fiat and that is why they choose that type of definition.

Posted Using LeoFinance Beta

0
0
0.000
avatar

THANK YOU!

I have been wondering how I can become one of these special "arbitragers" that get to be on the inside track of these AMM's. Arbitrage is far from what is happening. I felt like buying coin X. Now there is less coin X in pool Y.
Pool Y adjusts prices. Simple.


Posted via proofofbrain.io

0
0
0.000
avatar

I dunno about impermanent loss I haven't seen it. Yes I have lost 8k on CUB but back then it wasn't worth as much as I'm HODL now.

If the market recovers and it will probably do so after August I will have over 8k in funds.

The trick is to not lose it now and to continue building. CUBFinance is gold. Den and Cake are fantastic

Posted Using LeoFinance Beta

0
0
0.000
avatar

I laughed the first time I saw the term "impermanent loss" used with respect to AMM (and I haven't changed my opinion since).

One of the interesting things about financial analysis is how easy it is to confuse people with bad financial models.

And I'm frequently not even sure when someone is intentionally being deceptive to profit from it and when they're just making fundamental mistakes, then propagating those flawed ideas to others (more often than not, I think it's the latter). Perhaps the standout example of this in our lifetimes was the flawed analysis of collateralized debt obligations (CDOs). I remember reading with sheer disbelief how the creators thought they could make bad debt into good debt just by dividing it up differing qualities of bad debt and diversifying it across geographic locations.

0
0
0.000
avatar

so true, the next toxic papers are in the line "Commercial Mortgage-Backed Securities".

Same as 2008 with the difference it is about commercial loans :)

With pandemic it can be interesting :)

0
0
0.000
avatar

I don't read it all. But it is all about the ratio and you can have theoretically losses if price pumps/drops hart, compared to do nothing.

So the fees/apr should cover it. There is no "risk free" thing.

I know there is also a lot of FUD in the space :D

0
0
0.000
avatar

I think you are confused. You are not wrong, but they are not either.

They never mention that arbitrage is necessary in some way, they just give an example of an arbitrage trader using that pool. They could have used an other example.

0
0
0.000
avatar
(Edited)

Hm nope I'm not confused at all.

During this process, the profit extracted by arbitrageurs is effectively removed from the pockets of liquidity providers, resulting in impermanent loss.

image.png

It is very clearly implied (and in many cases explicitly stated) time and time again that arbitragers are the ones causing impermanent losses.

No where is dollar cost averaging mentioned.
No where is the idea that your tokens are for sale.
The fundamental concepts are just not there.

0
0
0.000
avatar

It is very clearly implied (and in many cases explicitly stated) time and time again that arbitragers are the ones causing impermanent losses.

I still don't see that in the example you showed. I mean they say it explicitly, but it is just an example. They definitely could use another example (like someone buying just to hold) to explain the exact same steps.

During this process, the profit extracted by arbitrageurs is effectively removed from the pockets of liquidity providers, resulting in impermanent loss.

This sentence starts with "During this process". They are just showcasing a particular process where an arbitrageur uses a pool.

0
0
0.000
avatar

profit extracted by arbitrageurs is effectively removed from the pockets of liquidity providers,

This statement is 100% provably false.
In fact it is a nonsense statement.
A total impossibility.

They are just showcasing a particular process where an arbitrageur uses a pool.

uh no...

resulting in impermanent loss.

They are saying this is what causes impermanent loss.
I don't understand how you are interpreting this in their favor.

0
0
0.000
avatar

In fact it is a nonsense statement.

Yes I agree.

0
0
0.000
avatar

This is the best post on LeoFinance that I've seen for a long time.

Love the way you think about impermanent loss.

Posted Using LeoFinance Beta

0
0
0.000