[% USE f2 = format('%.6f') %]
Report vom [% GENERATED %]
[% totalProfit = 0 %]
[% totalValue = 0 %]
[% FOREACH c IN DATA %]
[% gain = f2(c.CURRENT_PRICE / c.LAST_WEEK_PRICE * 100 - 100) %]
[% cur_value = f2(c.CURRENT_PRICE * c.COIN) %]
[% totalValue = totalValue + cur_value %]
[% cur_profit_value = f2((c.CURRENT_PRICE * c.COIN) - c.PRICE) %]
[% cur_profit_perc = f2(cur_profit_value / c.PRICE * 100) %]
![[% c.NAME %]](data:image/png;base64,[% c.IMAGE %]) |
Währung | [% c.NAME %] ([% c.CURRENCY %]) |
Kaufdatum | [% c.DATE %] |
Kaufwert | [% f2(c.PRICE) %] Euro | [% c.COIN %] [% c.CURRENCY %] |
Kaufkurs | [% f2(c.BUYRATE) %] Euro/[% c.CURRENCY %] |
aktueller Kurs | [% f2(c.CURRENT_PRICE) %] Euro/[% c.CURRENCY %] |
aktueller Wert | [% cur_value %] Euro |
aktueller Profit | [% cur_profit_value %] Euro ([% cur_profit_perc %]%) |
|
[% totalProfit = totalProfit + cur_profit_value %]
[% END %]
Wert (gesamt) ca. [% totalValue %] Euro
Gewinn (gesamt) ca. [% totalProfit %] Euro