OPEN-SOURCE SCRIPT

Liquidity Pair Eval

Updated
While there are many tools for generating your impermanent loss in liquidity pools, depending on your choice of chain, I was mostly concerned about monitoring the creep between the pairs. This V0.1 attempt should give us a general comparison of the selected asset returns given your time period and also display the percent loss assuming the initial purchase price values are input correctly.

This is a work in progress and I am open to suggestions to make this even better.
Release Notes
Minor IL formula corrections.
Release Notes
Code cleanup. Bug fix.
Release Notes
Correct Picture Update
cryptoCryptocurrencyliquiditypoolsTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer