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

Model lp fees #140

Merged
merged 38 commits into from
Jul 21, 2023
Merged

Model lp fees #140

merged 38 commits into from
Jul 21, 2023

Conversation

jepidoptera
Copy link
Contributor

modeling for LP fees without the latest LRNA spec update

@jepidoptera jepidoptera requested a review from poliwop June 26, 2023 20:23
Copy link
Collaborator

@poliwop poliwop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The results in this notebook can be confirmed in this spreadsheet:
https://docs.google.com/spreadsheets/d/1Fh0StOPIDhazhQgwsXHVVvubJCqJpgfJTA8ZdN53bV0/edit?usp=sharing

This does validate the notebook. I think though that if we are going to share these results, it makes sense to do it with a simple spreadsheet. Can we think of extensions to this notebook to make it more realistic? Having non-zero LRNA fees is a simple one, it's not immediately obvious how to incorporate that into the spreadsheet.

hydradx/notebooks/Omnipool/LP_fees_analysis.ipynb Outdated Show resolved Hide resolved
hydradx/notebooks/Omnipool/LP_fees_analysis.ipynb Outdated Show resolved Hide resolved
hydradx/notebooks/Omnipool/LP_fees_analysis.ipynb Outdated Show resolved Hide resolved
hydradx/notebooks/Omnipool/LP_fees_analysis.ipynb Outdated Show resolved Hide resolved
@jepidoptera jepidoptera requested a review from poliwop July 13, 2023 16:27
Copy link
Collaborator

@poliwop poliwop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LP_fees_analysis.ipynb notebook looks good, there are some changes needed in the rest of the PR but the analysis is ready.

hydradx/tests/test_omnipool_amm.py Show resolved Hide resolved
hydradx/spec/Swap.ipynb Outdated Show resolved Hide resolved
@jepidoptera jepidoptera requested a review from poliwop July 20, 2023 23:54
@poliwop poliwop merged commit edf0659 into main Jul 21, 2023
2 checks passed
@poliwop poliwop deleted the model-LP-fees branch July 21, 2023 20:34
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

Successfully merging this pull request may close these issues.

2 participants