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

Error in auto-generated quote price for Sell/Outbound delivery transactions #4322

Open
Rich28 opened this issue Nov 1, 2024 · 0 comments
Open
Labels

Comments

@Rich28
Copy link

Rich28 commented Nov 1, 2024

Describe the bug

If the currency for the cash account is GBP and a sell or outbound delivery transaction is created for a security priced in GBX, the quote price PP automatically applies to this is incorrect – the GBX quote price data is treated as if it was somehow GBP and there’s a requirement for a further currency conversion, which is wrong.

Likewise, if a sell or outbound delivery transaction is created for a security priced in USD (with the currency for the cash account still in GBP), the quote price PP automatically applies to this is also incorrect for the same reason.

It is unknown whether this issue only occurs if the cash account is in GBP

To Reproduce
Steps to reproduce the behavior:

  1. Ensure cash account is in GBP
  2. Right click on an existing transaction for a security priced in GBX or USD and select either ‘Buy’ or ‘Delivery (Outbound)'
  3. In the dialog box that appears note the automatically generated quote price, which mistakenly has been subject to two currency conversions…

Expected behavior
Rather than generating an incorrectly inflated quote price, for both types of transactions (‘Buy’ and ‘Delivery Outbound') PP should use/display the unaltered quote price in this dialog box as obtained directly from the data source

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 0.71.2
@Rich28 Rich28 added the bug label Nov 1, 2024
@Rich28 Rich28 changed the title Error in auto-generated quote price for Sell/Out-bound transactions Error in auto-generated quote price for Sell/Outbound delivery transactions Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant