Bribri333

Liquidity Pair Impermanent Asset Loss

Bribri333 Diupdate   
With limited tracking of impermanent loss for liquidity pairs across all chains, I wanted a very simple display of live dollar value loss in an asset pair. This should allow you to set alerts based on how much you are down and take action if needed. The output column is by default set to show your losses in USD. For those that need it, I also setup an option to track the output in something other than USDT, e.g., GBP or ETH, etc..
Catatan Rilis:
Calculation Output Error Fixed. Code Cleaned up.
Catatan Rilis:
The more I consider LPs (liquidity pools), the more I realize impermanent loss is simply an incomplete snapshot of your total dollar loss at that minute. It doesn't account for opportunity costs. Case in point: I love Asset A, but I want earnings so I buy 50% of Asset B so I can enter the LP. I'm happily earning away seeing low total dollar losses, but ignorant of my dwindling supply of Asset A. So the question that should be answered is where would my investment be had I just kept Asset A all along. There's a checkbox to display this information now.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?