[% USE f2 = format('%.2f') %]

Report vom [% GENERATED %]

Aktueller Report

[% totalProfit = 0 %] [% FOREACH c IN DATA %] [% gain = f2(c.CURRENT_PRICE / c.LAST_WEEK_PRICE * 100 - 100) %] [% totalProfit = totalProfit + f2((c.CURRENT_PRICE * c.COIN) - c.PRICE) %] [% END %]
[% c.NAME %] [% IF gain > 0 %] [% ELSE %] [% END %]
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
7 Tage Gewinn+[% gain %] %
7 Tage Verlust[% gain %] %

Gewinn (gesamt) ca. [% totalProfit %] Euro