{% extends "layout.html" %} {% block title %}Portfolio Value{% endblock %} {% block content %}
Symbol | Exchange | Shares | Avg.Price | Price | Currency | Cost Basis | Gain/Loss | Gain/Loss % | Balance | Income | {% for row in model.stock_rows %}|
---|---|---|---|---|---|---|---|---|---|---|---|
{{ 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) }} | {% if row.gain_loss_perc >= 0 %}{{ "{:,.2f}".format(row.gain_loss_perc) }} | {% else %}{{ "{:,.2f}".format(row.gain_loss_perc) }} | {% endif %}{{ "{:,.2f}".format(row.balance) }} | {{ "{:,.2f}".format(row.income) }} |