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

Bug: getMarginalPriceSwapStableIn #17

Closed
Alexangelj opened this issue Dec 23, 2021 · 1 comment
Closed

Bug: getMarginalPriceSwapStableIn #17

Alexangelj opened this issue Dec 23, 2021 · 1 comment

Comments

@Alexangelj
Copy link
Contributor

Alexangelj commented Dec 23, 2021

const step5 = step0 * (1 / strike)
const step6 = quantilePrime(step5)

Should be:

quantilePrime(input) * 1 / K

ref: https://github.com/primitivefinance/rmms-py/blob/1497a6e4c50c361dcec9001b156126fbafd06d26/modules/cfmm.py#L194-L195

Alexangelj added a commit that referenced this issue Dec 29, 2021
@github-actions
Copy link

🎉 This issue has been resolved in version 1.6.0-true.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

1 participant