library(impermanentlosscalc)
impermanent_loss(
prices_old = c(10, 20, 40),
prices_new = c(9, 22, 35),
weights = c(0.3, 0.2, 0.5),
investment = 1000,
fees = 10,
plot = TRUE
)| ## ⚠️ Disclaimer and Usage Agreement |
| This package, impermanentlosscalc, is provided for educational and informational purposes only. It is intended to help users understand the mathematical principles behind Impermanent Loss (IL) in Automated Market Makers (AMM). |
| It is not financial advice. The calculations are projections based on user-supplied hypothetical data and do not guarantee future results. You should always conduct your own research and consult a professional financial advisor before making any investment decisions. |
| This software is offered “as is,” without warranty of any kind, express or implied. |
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.