reports and prices [Patch] reworked advanced-portfolio.scm

Derek Atkins warlord at MIT.EDU
Sun Feb 19 15:51:08 EST 2006


Quoting Andrew Sackville-West <andrew at farwestbilliards.com>:

> On Sun, 19 Feb 2006 12:20:42 -0800
> Andrew Sackville-West <andrew at farwestbilliards.com> wrote:
>
>> <<snipped>>
>>
>> I've done some more testing using different options for price source
>> and whether to show gains or not and the report, as currently modified
>> in my tree shows no difference between these various settings. I need
>> to go back to an earlier version of this report and see how it behaves.
>
> I've done some testing with the original version of the report and
> afaict its not working properly either.
>
> I have an account with a purchase of fakestock on 2/8/06 at 12.35 a
> share, ten shares. then I have a pricedb entry same day that reflects
> this. Then I entered another purchase of 10 shares at $15.00 a share
> two days later. Regardless of the report settings, it always reports
> incorrect information. It reports 20 shares at $12.35 price and shows
> total value of $248.50 (20*12.35) total money in at 273.50  (123.50 +
> 150) and a negative gain (-6.xx% i think). Well, this is plain wrong
> and the report should be able to pick up that price change from the
> purchase two days later and should show a positive gain because I have
> shares purchased at a lower price than current value. Am I right in
> this assessment?

IMHO, yes, this assessment is correct.

> A

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list