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

Normalise Bond values or color the non-zero values? #561

Closed
alexwaltz opened this issue Nov 3, 2022 · 0 comments · Fixed by #687
Closed

Normalise Bond values or color the non-zero values? #561

alexwaltz opened this issue Nov 3, 2022 · 0 comments · Fixed by #687
Assignees
Labels
enhancement New feature or request

Comments

@alexwaltz
Copy link

1st of all I am not sure if this is a good idea to change unless JoinMarket does it 1st.

But I find myself squinting at the screen every time I am trying to see what are other bonds available, and it's really hard to see among the sear of 0s.

The normalization factor should be easy to figure out and should be somehow proportional to the r - the interest rate as this is what introduces all those 0s after the decimal point.

The formula for valuing a bond is: V^2 (exp(rT) - 1)^2
Where:

  • V: the amount of Bitcoins to be locked
  • r: the interest rate - by default, this is set to 0.015
  • exp: the exponent - by default, this is set to 1.3
  • T: the time to be locked

So the formula practically is:
Screenshot 2022-11-03 at 17 43 16

Another option that would maintain consistency with JoinMarket would be to highlight the non-zero values with a certain color label
Screenshot 2022-11-03 at 17 38 55

@alexwaltz alexwaltz added the enhancement New feature or request label Nov 3, 2022
@editwentyone editwentyone added this to JAM Oct 13, 2023
@theborakompanioni theborakompanioni self-assigned this Oct 26, 2023
@theborakompanioni theborakompanioni moved this to In Progress ⌛ in JAM Oct 26, 2023
@github-project-automation github-project-automation bot moved this from In Progress ⌛ to Done ✅ in JAM Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants