Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Fee Charts for Pair Positions are Off #17

Closed
mdr223 opened this issue Mar 24, 2021 · 2 comments
Closed

Fee Charts for Pair Positions are Off #17

mdr223 opened this issue Mar 24, 2021 · 2 comments

Comments

@mdr223
Copy link

mdr223 commented Mar 24, 2021

(Note: this is tied to issue #14)

Edit: I just realized I was looking at the liquidity chart(s) with my branch in the community repo which does not have the change that was merged in to address the first half of this issue.

The liquidity and fee charts for individual pair positions are off. For liquidity it may just be an issue where the y-axis seems to be incorrect, however one interesting thing I've noticed is that switching back and forth between the fees and liquidity graphs will drastically change the y-axis for liquidity.

The fee charts are off due to a known issue where fees are being computed incorrectly. A PR is up in the community repo to estimate fees instead, however this change needs to also make its way into the src/utils/returns.ts::getHistoricalPairReturns function, which is still using the old method for computing fees.

I believe solving the latter issue will be a relatively minor change that I can address. Solving the former issue related to the liquidity chart y-axis may require more investigation.

@mdr223 mdr223 changed the title Liquidity and Fees Charts for Pair Positions are Off Fee Charts for Pair Positions are Off Mar 24, 2021
@bmino
Copy link
Contributor

bmino commented Aug 9, 2021

Was this sufficiently addressed in ab30bb2?

@bmino
Copy link
Contributor

bmino commented Sep 1, 2021

please reopen if this is still happening

@bmino bmino closed this as completed Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants