{% 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 %}
id | user | status | account id | symbol | type | amount | price | SL | TL | actions | {% for item in object_list %}
---|---|---|---|---|---|---|---|---|---|---|
{{ item.id }} | {{ item.user }} | {{ item.status }} | {{ item.account.id }} | {{ item.symbol }} | {{ item.type }} | {{ item.amount }} | {{ item.price }} | {{ item.stop_loss }} | {{ item.take_profit }} |