{% extends "layout.html" %} {% block title %} Portfolio {% endblock %} {% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %} {% block main %} {% for stock in stocks %} {% endfor %}
Symbol Name Shares Price Total
{{stock.symbol}} {{stock.name}} {{stock.shares}} {{stock.price | usd}} {{stock.total | usd}}
CASH {{user_cash.cash | usd}}
{{total_cash | usd}}
{% endblock %}