custom separate trading accounts

Mike Alexander mta at umich.edu
Sun May 25 02:28:57 EDT 2014


--On May 24, 2014 11:17:40 PM -0700 gnucash.133518b at telus.net wrote:

> And do you agree that the output in question is wrong? I'm not
> crossing time zones to get that report, so I don't understand why
> it's displaying the wrong Price, although I now understand why you
> weren't seeing the same output.

Define "wrong".  It picks a price from the price DB that is close to 
the date of the report.  Both the report date and the times stamps in 
the price DB are precise times, not just a date.  That means that the 
price picked depends on the time within the day for both the recorded 
price and the report, as well as the algorithm for comparing them 
(which is not simple).

> For the Advanced Portfolio report I raised no issues so far, aside
> from the wrong Price. This arose in the context of you suggesting I
> get ACB from this report instead of from the trading accounts.
>

I'm not going to argue that the handling of time stamps and time zones 
is correct in GnuCash and I'm not prepared to get into a discussion of 
how to fix it.  However, I don't think this problem affects the 
calculation of average cost basis in any way.

             Mike
 


More information about the gnucash-user mailing list