{% load hedge_extras %} {% for r in rows %} {% endfor %}
BucketNet exposureHedgedRatioPolicy bandStatusSuggested trade
{{ r.band.bucket.label }} {{ r.net|num }} {{ r.hedged|num }} {{ r.ratio|pct }} {{ r.band.min_ratio|pct:0 }} - {{ r.band.max_ratio|pct:0 }} {% if r.status == "UNDER" %}Under-hedged{% elif r.status == "OVER" %}Over-hedged{% elif r.status == "OK" %}Within policy{% else %}No exposure{% endif %} {% if r.suggested_qty %}{{ r.suggested_direction }} {{ r.suggested_qty|floatformat:0|cut:"-" }} book{% else %}-{% endif %}