{% load cache %} {% load cachalot cache %} {% get_last_invalidation 'core.Strategy' as last %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_strategies request.user.id object_list last %}
id | name | description | account | enabled | TP | SL | actions | {% for item in object_list %}
---|---|---|---|---|---|---|---|
{{ item.id }} | {{ item.name }} | {{ item.description|truncatechars:80 }} | {{ item.account }} | {% if item.enabled %} {% else %} {% endif %} | {{ item.take_profit_percent }} | {{ item.stop_loss_percent }} |