{% extends "module.html" %} {% block body %}
{{ module.data._timestamp | prettydate }}
{% if module.config.mode == "series" %} {% else %} {# table is the default mode #} {# TODO Look up headers from data structure? #} {% for entry in module.data.stocks %} {% set change = entry.data["09. change"] %} {% set change_percent = entry.data["10. change percent"] %} {% endfor %}
SYMBOL PRICE PREV. CLOSE CHG CHG% VOLUME
{{ entry.alias or entry.symbol }} {{ entry.data["05. price"] }} {{ entry.data["08. previous close"] }}{{ change }} {{ change_percent }} {{ entry.data["06. volume"] }}
{% endif %}
{% endblock %}