GNOME Bugzilla – Bug 796409
Incorrect Current Value for Stocks
Last modified: 2018-06-30 00:10:53 UTC
The current value of all stock/mutual fund accounts seems to just be placing a dollar sign in front of the number of shares I own. For example, in one of my accounts I have listed "6.33 Shares Company X". Although every transaction with this stock has been for > $20, the register states that it has a current value of $6.33. I don't recall having this problem prior to upgrading to Fedora 28 from 27 (which I think used version 2.x), so I am pretty sure this is not caused by me using it incorrectly. My best guess at why this happens: Whenever I finish making an entry, GnuCash adds a new blank line below it. In this new blank line it seems to automatically place a "1" in the price column. Perhaps it is using this number by mistake instead of my last real entry when calculating the current value? Summary: Expected result: Current value = # Shares x Most recent price. Actual result: Current value = "$" followed by # shares. Thanks!
What did you select for "commodity" when you created the Company X stock account?
(In reply to John Ralls from comment #1) > What did you select for "commodity" when you created the Company X stock > account? When I created it I did: New Account -> Account Type "Stock" -> Security/currency -> Select security : Type "All non-currency", Security "DUK (Duke Energy)".
OK. Setting aside that DUK is a normal stock that doesn't allow fractional shares, if you bought it at yesterday's close, there was no commission, and the previous balance of DUK was 0 your register should look like: 5/25/2018 Buy DUK 6.33 Assets:Investment:Broker_Cash 6.33 75.81 479.88 6.33 To the right of the cash account the five columns are shares, price, buy, sell, and balance. Sell is empty because this is a buy. You must enter two of shares, price, and buy (shares is the number of shares, price and buy are in dollars) and GnuCash will calculate the third. What did you actually enter and what does your register show?
Created attachment 372422 [details] Screenshot of account after making a single entry. This screenshot shows the result of buying 2 share of stock "DUK" at a made up price of $10.50 each, for a total of $21.00. In the lower left is shows "Shares: 2 DUK" and "Current Value: $2.00". I expected current to be $21.00.
Created attachment 372423 [details] Screenshot of Account Information This screenshot shows how the test account was created. It shows that the commodity type for the account is a stock, "DUK (Duke)", rather than US dollars.
Ah, in the summary bar. Yes, I see that too. It's safely ignored, but should be fixed.
Fixed for 3.2. Thanks for reporting it.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=796409. Please update any external references or bookmarks.