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

"Implement separate netApy and borrow costs comparison for refinance" #3971

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

piotrwitek
Copy link
Contributor

Previously, the borrow rate was used to calculate the net APY for refinance positions. This pull request introduces a separate netApy field that accurately represents the net APY based on the current LTV. The borrow rate is now used solely for calculating the increase in debt over one year at the current market utilization. This change improves the accuracy of the net APY calculation and provides more meaningful information to users.

robercano
robercano previously approved these changes Jun 26, 2024
Copy link
Contributor

@robercano robercano left a comment

Choose a reason for hiding this comment

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

Looks good to me but I'd suggest to wait for Seba review as well if possible

features/productHub/types.ts Outdated Show resolved Hide resolved
@piotrwitek piotrwitek merged commit 28ba317 into dev Jun 26, 2024
13 checks passed
@piotrwitek piotrwitek deleted the pw/borrow-rate-and-net-apy-refinance branch June 26, 2024 16:33
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.

3 participants