{% extends "base.html" %} {% block title %}{{ inv.asset_name }}{% endblock %} {% block page_title %}{{ inv.asset_name }}{% endblock %} {% block topbar_actions %} Add Transaction Edit {% endblock %} {% block content %}
{{ inv.asset_name }}
{% if inv.ticker %}{{ inv.ticker }} · {% endif %} {{ asset_labels.get(inv.asset_type, inv.asset_type) }}
Shares
{{ "%.6f"|format(inv.shares|float)|replace('000000','').rstrip('0').rstrip('.') }}
Avg Cost
{{ inv.avg_cost_basis | currency }}
Current Price
{% if inv.current_price %}{{ inv.current_price | currency }} {% else %}{% endif %}
{% if inv.last_price_update %}
{{ inv.last_price_update.strftime('%b %d, %H:%M') }}
{% endif %}
Market Value
{{ inv.current_value | currency }}

Total Cost Basis
{{ inv.total_cost | currency }}
Unrealized P&L
{% if inv.unrealized_gain >= 0 %}+{% endif %}{{ inv.unrealized_gain | currency }} ({% if inv.unrealized_gain_pct >= 0 %}+{% endif %}{{ inv.unrealized_gain_pct }}%)
{% if inv.notes %}
{{ inv.notes }}
{% endif %}
Transaction History
{% if txns %} {% for txn in txns %} {% endfor %}
Date Type Shares Price Total
{{ txn.date.strftime('%b %d, %Y') }} {{ txn.transaction_type | title }} {{ txn.shares }} {{ txn.price_per_share | currency }} {{ txn.total_amount | currency }}
{% else %}

No transactions yet.

Record First Buy
{% endif %}
Back to Portfolio {% endblock %}