{% load cache %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_positions request.user.id object_list type %}
account | asset | price | units | quote | P/L | side | trades | actions | {% for item in object_list %}
---|---|---|---|---|---|---|---|---|
{{ item.account }} | {{ item.symbol }} | {{ item.price }} | {{ item.units }} | {{ item.value }} | {{ item.unrealized_pl }} | {% if item.side == 'long' %} {% elif item.side == 'short' %} {% endif %} | {{ item.trade_ids|length }} |