https://bugs.kde.org/show_bug.cgi?id=380187

Stephane MANKOWSKI <steph...@mankowski.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|guillaume.deb...@gmail.com  |steph...@mankowski.fr
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #3 from Stephane MANKOWSKI <steph...@mankowski.fr> ---
(In reply to Bernhard Scheirle from comment #0)
> But the amount should be computed with the exchange rate of the date of the
> operation.
In fact, for shares, 3 dates can be interesting:
1- The date and time when the shares have been bought. To be able to compute
the price.
2- The date when the shares have been bought. To have an estimation of the
shares value at the beginning.
3- Today. To have the current estimation of the shares value.

> 
> 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.
Skrooge displays something true: the current value of your shared date after
date...
... but I can understand that is not what you want.
In the "Unit" page, you can have the value of the share date after date.
This is not what you want too.

If I well understand, you would like to have: The history values of your
shares.
This history can be modified due to the number of shares or its value.
Skrooge is not able to display that.

> 
> 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).
Hi, I can not sum up the shares because I don't have guarantee that all
operations of the report are in the same unit. I don't know how to sum apples
and bananas. That's why, all operations are computed in primary unit (€) and
then mathematical operations can be done.

My first feeling is that the "Report" page is too generic to be able to cover
your request. I will think about "how to give you the expected report" and come
back to you with a proposal.
Regards.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to