{% extends "base.html" %} {% block title %}{{ title }}{% endblock %} {% set is_gold = kinds == ['gold'] %}{% set P = 'gold' if is_gold else 'inv' %} {% block content %}
| Asset | {% if not is_gold %}Type | {% endif %}Quantity | {% if is_gold %}Fine gold | {% endif %}Avg paid | Price | Paid | Value | P/L | % | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ as.name }} {{ as.symbol }}{% if as.price_error %} · price error{% endif %}
{% if as.manual_price is not none %} · manual price{% elif as.last_price_at %} · {{ as.last_price_at.strftime('%d-%m %H:%M') }}{% endif %} |
{% if not is_gold %}{{ as.kind }} | {% endif %}{{ r.qty|num }} {{ as.unit if as.unit != 'unit' }}{% if is_gold and as.purity != 1 %} @{{ as.purity|num }}{% endif %} | {% if is_gold %}{{ r.grams|num(2) }} g | {% endif %}{{ r.avg|eur }} | {{ r.price|eur }} | {{ r.cost|eur }} | {{ r.value|eur }} | {{ r.pnl|eur(2, true) }} | {{ r.pnl_pct|pct }} |
{{ icon('pencil', 'sm') }} |
| No holdings yet. Add an asset below, then record your purchases. | ||||||||||
| Date | Asset | Side | Qty | Price | Fees | Total | Note | |
|---|---|---|---|---|---|---|---|---|
| {{ tr.date.strftime('%d-%m-%Y') }} | {{ tr.asset.name }} | {{ tr.side }} | {{ tr.quantity|num }} | {{ tr.price|eur }} | {{ tr.fees|eur }} | {{ (tr.quantity * tr.price + (tr.fees if tr.side == 'buy' else -tr.fees))|eur }} | {{ tr.notes }} | |
| No trades yet. | ||||||||