{% load cache %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_profit request.user.id object_list type %} {% for item in object_list %} {% endfor %}
id name P/L trade balance currency
{{ item.account.id }} {{ item.account.name }} {{ item.pl }} {{ item.unrealizedPL }} {{ item.balance }} {{ item.currency }}
{% endcache %}