{% extends "layout.html" %} {% block title %} Index {% endblock %} {% block main %}
Total Portfolio Value
{{ total | usd }} {% if total > 10000 %} {% elif total < 10000 %} {% endif %}
Starting Value
{{ 10000 | usd }}
{% for stock in portfolio %} {% endfor %}
Symbol Amount Invested Shares Price Value
{{ stock.symbol }} {{ stock.cost_basis | usd }} {{ stock.shares }} {{ stock.price | usd }} {{ stock.total | usd }}
Stocks: {{ total_stocks | usd }}
Cash: {{ cash | usd }}
{% endblock %}