David G Hamblen <[EMAIL PROTECTED]> writes: > Hi: > > My problem is with the weighted-average computation causing the balance > sheet to be unbalanced. I've been seeing this for several years now. I > just compiled and installed 1.8.10 and the problem is unchanged. The > calculation seems to use absolute values when algebraic values should be > used. The code in "Advanced Portfolio" gets it right. The code in the > files "balance-sheet.scm" and "advanced-portfolio.scm" appears to attack > the calculation from different directions; so I wouldn't know how to > modify the code (not knowing scheme).
I'd suggest you first look at the balance sheet report from HEAD (it's not the same as the report in 1.8). It may or may not actually get this right. Second, the balance sheet probably never use a weighted average for anything -- it's certainly not correct for determining the amount of capital put into the commodity, and it wont help you determine the current value of the commodity, either. -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 [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel