{{define "content"}} {{$d := .}}
{{pctSign $d.TotalPCLPct}}{{printf "%.2f" $d.TotalPCLPct}}%
| Asset | Shares | Avg Cost | Price | Value | P&L |
|---|---|---|---|---|---|
|
{{.Name}}
{{.ISIN}}
|
{{printf "%.4f" .SharesOwned}} | €{{cents .AvgEntryCents}} | €{{cents .CurrentPriceCents}} | €{{cents .CurrentValueCents}} |
{{pctSign .UnrealizedPCLPct}}{{printf "%.2f" .UnrealizedPCLPct}}%
{{if ge .UnrealizedPCLCents 0}}+{{else}}−{{end}}€{{cents (centsAbs .UnrealizedPCLCents)}}
|