https://bugs.kde.org/show_bug.cgi?id=380187
Bug ID: 380187 Summary: Shares always use the current rate/value Product: skrooge Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: guillaume.deb...@gmail.com Reporter: bernhard+...@scheirle.de CC: steph...@mankowski.fr Target Milestone: --- Skrooge Version: 2.8.1 The 'Amount' column of operations in an investment account (using not the default unit as unit) gets computed with the current (exchange) rate. But the amount should be computed with the exchange rate of the date of the operation. This wrong amount also has a huge impact on reports. It is not possible to track the development/value of an investment. Compare the two attached screen-shots of the same investement (Every year a small amount of shares get sold). In KMyMoney you can see the value of the investement for each year [No operations entered for 2009-2012]. Skrooge displays values which have nothing to do with reality. It reflects the sold shares but does not take into account that a single share changes its value. Related https://bugs.kde.org/show_bug.cgi?id=283842 (In reply to Stephane MANKOWSKI from comment #1) > This is the expected result else totals will be wrong. > So, we don't want to change this behavior. (In reply to Stephane MANKOWSKI from comment #3) > Just an example: > You have an account with 100 ZARCHF (current rate 1 ZARCHF = 1 EURO) > You buy something for 10 ZARCHF (current rate 1 ZARCHF = 2 EURO) > > INITIAL TOTAL = 100 ZARCHF = 100 EURO > -10 ZARCHF = -20 EURO > NEW TOTAL = 90 ZARCHF = 80 EURO (This value is wrong). > The result should be 180 EURO. > > So, all amounts must be computed with the same rate. I don't understand why you compute the total from the EUR values. Why not simply sum up the shares and than multiply with the exchange rate?: INITIAL TOTAL = 100 ZARCHF (= 100 EUR) -10 ZARCHF (= -20 EUR) NEW TOTAL = 90 ZARCHF = 180 EUR (computed via 90 * 2 and NOT 100 - 20) Other programs (like KMyMoney) also manage to calculate a correct total and display per operation the corresponding EUR value (at that time). -- You are receiving this mail because: You are watching all bug changes.