Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tracking of "Impermanent loss" of liquidity pair #22

Open
Fooughhy opened this issue Nov 16, 2021 · 0 comments
Open

Support tracking of "Impermanent loss" of liquidity pair #22

Fooughhy opened this issue Nov 16, 2021 · 0 comments

Comments

@Fooughhy
Copy link

I created an issue (#21) where I suggest adding support for historical value of my portfolio. If you were to add historical value of each token as well, you could have an opportunity to keep track of impermanent loss too. This is of course for my liquidity (I'm definitely not an expert, so if anything I say here is wrong, please correct me).

So I have no idea how it internally works for, for example PancakeSwap, and what data you have available to you in their API, or if you're not using their API at all. I have no idea. But I would assume you are able to at least estimate the impermanent loss I am experiencing in my liquidity on e.g PancakeSwap. You would know the value of the tokens when I added them to the liquidity pool. You would then know the approximate split of that pool, and hopefully you will know the current value and current split of that same pool. From my understanding, this is what is needed to calculate the impermanent loss.

Is this something that is only a fever dream for services like yours? I have not seen it being available anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant