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

Stock errors #1691

slodki opened this Issue May 25, 2018 · 1 comment


1 participant
Copy link

slodki commented May 25, 2018

Please verify with db attached (v13).

  1. Account in USD created for Oracle Corp. shares
  2. Base currency set to PLN
  3. Two shares transactions:
    • buying 100 (2018-01-01, price 47.28) = 4728 total
    • selling 50 (2018-04-02, price 45.01) = 2250.5 total
  4. Last price downloaded for 2018-05-24: 46.46 (50*46.46=2323 total)


  1. Edit Stock Investment window (above):
    1. Dimmed shared price (*Share Price field in left panel) is 0.00 - price for initial date (2018-01-01) is known but not displayed
    2. Diff. column in right panel displays duplicated values from Price column
  2. Stocks panel:
    1. *Share Price column is empty (0.00)
    2. Invested and Init value column values are wrong. Should be 50*47,28=2364 for date 2018-01-01, or Date column moved to 2018-04-02
    3. Gain/Loss value for currently owned 50 shares is wrong:
      • could be initial - current price diff for shares owned: (46.46-47.28)*50=-41
      • could be last investment period value change (ignoring realized loss?): 2323-(4728-2250.5)=-154,5
      • could be realized loss (current value and shares owned ignored): (45.01-47.28)*50=-113.5
      • could be total +- diff for investment history: (2323+2250.5)-4728=-154,5
        ... but -227.0 is displayed?
    4. Curr. Share Price column value is wrong: should be 46.46 but 45.01 is displayed
    5. Curr. Total Value column value is wrong: should be 2323 but 2250.5 is displayed
    6. Bottom line is totally... incomprehensible? (pay attention to PLN vs USD):
    7. Stock Web Page context menu is active even no share selected and do nothing when used
    8. There is Last updated string displayed without any date at the bottom of the panel when no share selected
  3. Foreign Currency Balance context menu option for Broker account (right mouse button) displays 0.0 values for both USD and PLN
  4. Similar errors exist in Summary of Stocks report:

This comment has been minimized.

Copy link
Contributor Author

slodki commented Feb 3, 2019

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