GNOME Bugzilla – Bug 395694
Report uses wrong stock prices
Last modified: 2018-06-29 21:22:23 UTC
Please describe the problem: I have the following account hierarchy (names changed to protect the innocent): Assets +-Current Assets +-Fixed Assets +-Investments +-Brokerage +-Fezziwig +-Mutual Fund +-Stock +-Stryker Drilling In the Stryker Drilling account I have one transaction: 1999-03-19 Xfr Assets...Stryker Drilling 75 shares 23.6875 1,776.56 Retained Earnings 1,776.56 1 The Price Editor shows only two entries for Stryker Drilling: NASDAQ/STRK USD 2007-01-11 Finance::Quote last 29.400000 NASDAQ/STRK USD 1999-03-31 user:price-editor last 22.500000 I then created a Balance sheet report for Fezziwig that includes Fezziwig and all of its sub-accounts. The report's currency is USD. The price source is "Most Recent" (or "Nearest in Time", it doesn't make a difference.) Under Balance Sheet/Display, I checked all the boxes except "Include accounts with zero total balances". The Balance Sheet Date is set to 1999-03-31. The resulting report shows Stryker Drilling 75 STRK $2,205.00 But this is not correct! 75 shares times $22.5/share is $1,687.50. $2,205 reflects the price in 2007 ($29.40), not the 1999 price! Steps to reproduce: 1. See above 2. 3. Actual results: I get the current price instead of the price for the report date. Expected results: I would expect to get the most recent quotes (i.e., less than or equal to the date for the report). Does this happen every time? Yes Other information: gnucash 2.0.4 on SuSE Linux 10.0
I'd expect that Nearest in Time would be more appropriate than Most Recent, but this isn't behaving as it should, no.
This is a duplicate of bug 361604
Marking as such then. *** This bug has been marked as a duplicate of 361604 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=395694. Please update any external references or bookmarks.