{% extends "layout.html" %} {% block title %}Portfolio Value{% endblock %} {% block content %}

Portfolio Value

{# Security #}

{% for row in model.stock_rows %} {% if row.gain_loss_perc >= 0 %} {% else %} {% endif %} {% endfor %}
Symbol Exchange Shares Avg.Price Price Currency Cost Basis Gain/Loss Gain/Loss % Balance Income
{{ row.symbol }} {{ row.exchange }} {{ "{:,.2f}".format(row.shares_num) }} {{ "{:,.2f}".format(row.avg_price) }} {{ row.price }} {{ row.currency }} {{ "{:,.2f}".format(row.cost) }} {{ "{:,.2f}".format(row.gain_loss) }} {{ "{:,.2f}".format(row.gain_loss_perc) }}{{ "{:,.2f}".format(row.gain_loss_perc) }}{{ "{:,.2f}".format(row.balance) }} {{ "{:,.2f}".format(row.income) }}
{% endblock %} {% block scripts %} {% endblock %}