Difference between revisions of "Impermanent loss"

No change in size ,  14:46, 24 April 2022
Line 8: Line 8:


== Calculate impermanent loss ==
== Calculate impermanent loss ==
The following formula calculates impermanent loss for a 2 tokens pool with 50/50 weightings (ex. Uniswap pools)<ref>https://medium.com/auditless/how-to-calculate-impermanent-loss-full-derivation-803e8b2497b7</ref>, where k reprents the price change:<br>
The following formula<ref>https://medium.com/auditless/how-to-calculate-impermanent-loss-full-derivation-803e8b2497b7</ref> calculates impermanent loss for a 2 tokens pool with 50/50 weightings (ex. Uniswap pools), where k reprents the price change:<br>
[[File:IL formula.png|250px|Impermanent loss formula]]<br>
[[File:IL formula.png|250px|Impermanent loss formula]]<br>
As you can see, IL gets greater as the price moves, especially on the downside.
As you can see, IL gets greater as the price moves, especially on the downside.
66

edits