{% load cache %} {% load cachalot cache %} {% get_last_invalidation 'core.Trade' as last %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_trades request.user.id object_list type last %} {% for item in object_list %} {% endfor %}
id status account id symbol type amount price SL TL actions
{{ item.id }} {{ item.status }} {{ item.account.id }} {{ item.symbol }} {{ item.type }} {{ item.amount }} {{ item.price }} {{ item.stop_loss }} {{ item.take_profit }}
{% if type == 'page' %} {% else %} {% endif %}
{% endcache %}