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

Add "Nominal value" to open position summary #901

Closed
kenkunz opened this issue Jan 28, 2025 · 0 comments · Fixed by #902
Closed

Add "Nominal value" to open position summary #901

kenkunz opened this issue Jan 28, 2025 · 0 comments · Fixed by #902
Assignees
Labels
priority: P1 An important issue that must be fixed before the next release, but does nto require immediate focus. size: S A small task that can be completed in less than a day

Comments

@kenkunz
Copy link
Contributor

kenkunz commented Jan 28, 2025

Goal

As an investor viewing an open position, I want to see the "nominal value" of the position (see below), so that I can compare it to the market sell value.

Background

See discord message.

@miohtama requested the following changes during the weekly backlog meeting:

let's add two rows

  • Value (tooltip: value of the market sell of the position)
  • Nominal value (tooltip: price * quantity if sold on unobtainable theoretical price)
Position Summary

He further clarified that we're just "adding" one row ("Nominal value") as the "Value" row already exists. At the moment, the "Nominal value" only applies to the "Latest" column.

Acceptance criteria

When viewing an open position's "Position Summary":

  1. The current "Value" row "latest" column cell includes the following tooltip: "Value of the market sell of the position"
  2. A new "Nominal value" row is displayed with a value only in the "latest" column, using the following formula: current quantity * current price
  3. The value from #2 above includes the following tooltip: "price * quantity if sold on unobtainable theoretical price"
  4. A % difference between the "latest value" and "latest nominal value" is displayed (UI details tbd)
@kenkunz kenkunz added priority: P1 An important issue that must be fixed before the next release, but does nto require immediate focus. size: S A small task that can be completed in less than a day labels Jan 28, 2025
@kenkunz kenkunz self-assigned this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P1 An important issue that must be fixed before the next release, but does nto require immediate focus. size: S A small task that can be completed in less than a day
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant