[% USE f2 = format('%.2f') %]
Report vom [% GENERATED %]
[% totalProfit = 0 %]
[% FOREACH c IN DATA %]
[% gain = f2(c.CURRENT_PRICE / c.LAST_WEEK_PRICE * 100 - 100) %]
![[% c.NAME %]](data:image/png;base64,[% c.IMAGE %]) |
Währung | [% c.NAME %] ([% c.CURRENCY %]) |
Kaufdatum | [% c.DATE %] |
Kaufpreis | [% f2(c.BUYRATE) %] Euro/[% c.CURRENCY %] |
aktueller Kurs | [% f2(c.CURRENT_PRICE) %] Euro/[% c.CURRENCY %] |
aktueller Wert | [% f2(c.CURRENT_PRICE * c.COIN) %] Euro |
aktueller Profit | [% f2((c.CURRENT_PRICE * c.COIN) - c.PRICE) %] Euro |
[% IF gain > 0 %]
7 Tage Gewinn | +[% gain %] % |
[% ELSE %]
7 Tage Verlust | [% gain %] % |
[% END %]
|
[% totalProfit = totalProfit + f2((c.CURRENT_PRICE * c.COIN) - c.PRICE) %]
[% END %]
Gewinn (gesamt) ca. [% totalProfit %] Euro