{% extends "base.html" %} {% block title %} {{ page.title }} {% endblock %} {% block middle %} {% if page.closed_orders %}

Trade Alert: The following orders have completed.

{% for order in page.closed_orders %} {% endfor %}
Order ID Order Status Creation Date Completion Date Txn Fee Type Symbol Quantity Price
{{order.getOrderID}} {{order.getOrderStatus}} {{order.getOpenDate}} {{order.getCompletionDate}} ${{order.getOrderFee}} {{order.getOrderType}} {{order.getSymbol}} {{order.getQuantity}} ${{order.getPrice}}
{% endif %} {% if page.is_reply %} {% ifequal page.is_reply True %}

New Order

Order {{page.buy_return.getOrderID}} to {% if page.buy_return %}buy {{page.buy_return.getQuantity}}{% else %}sell {{page.sell_return.getQuantity}} {% endif %}Shares of s:0 has been submitted for processing.

Order Details:

{% if page.buy_return %} {% endif %} {% if page.sell_return %} {% endif %}
Order ID Order Status Creation Date Completion Date Txn Fee Type Symbol Quantity
{{page.buy_return.getOrderID}} {{page.buy_return.getOrderStatus}} {{page.buy_return.getCreationDate}} {{page.buy_return.getCompletionDate}} ${{page.buy_return.getOrderFee}} {{page.buy_return.getOrderType}} {{page.buy_return.getSymbol}} {{page.buy_return.getQuantity}}
{{page.sell_return.getOrderID}} {{page.sell_return.getOrderStatus}} {{page.sell_return.getCreationDate}} {{page.sell_return.getCompletionDate}} ${{page.sell_return.getOrderFee}} {{page.sell_return.getOrderType}} {{page.sell_return.getSymbol}} {{page.sell_return.getQuantity}}
{% endifequal %} {% ifequal page.is_reply False%}

Stock Quotes

{% endifequal %} {% endif %} {% if page.quote_return %}

Stock Quotes

Symbol Company Volume Price Range Open Price Current Price Gain(Loss) Trade
{{page.quote_return.symbol}} {{page.quote_return.company_name}} {{page.quote_return.volume}} ${{page.quote_return.low}}-${{page.quote_return.high}} ${{page.quote_return.open}} ${{page.quote_return.price}} {% ifequal page.quote_return.change_t 'loss' %} ${{ page.quote_return.change }} {% endifequal %} {% ifequal page.quote_return.change_t 'gain' %} ${{page.quote_return.change}} {% endifequal %} {% ifequal page.quote_return.change_t 'bal' %} ${{page.quote_return.change}} {% endifequal %}
{% endif %} {% if page.five_quotes %}

Stock Quotes

{% for quote in page.five_quotes %} {% endfor %}
Symbol Company Volume Price Range Open Price Current Price Gain(Loss) Trade
{{quote.symbol}} {{quote.company_name}} {{quote.volume}} ${{quote.low}}-${{quote.high}} ${{quote.open}} ${{quote.price}} {% ifequal quote.change_t 'loss' %} ${{ quote.change }} {% endifequal %} {% ifequal quote.change_t 'gain' %} ${{quote.change}} {% endifequal %} {% ifequal quote.change_t 'bal' %} ${{quote.change}} {% endifequal %}
{% endif %}
{% endblock %}