{% extends "hedge/base.html" %} {% load hedge_extras %} {% block title %}Hedge book{% endblock %} {% block content %}

Hedge book

Add forward / option
{% if error %}
Valuation unavailable: {{ error }}
{% endif %}

Valued as of {{ as_of }}. Total open MTM: {{ total|num }}

{% for r in rows %}{% with i=r.inst %} {% endwith %}{% endfor %}
RefTypeSidePairNotionalContract rateMarket fwdTradeMaturityMTMStatusHedge
{{ i.reference|default:i.pk }}{{ i.get_kind_display }}{% if i.option_type %} {{ i.option_type|lower }}{% endif %}{{ i.direction }}{{ i.pair }} {{ i.notional|num }}{{ i.rate|num:4 }}{{ r.forward|num:4 }}{{ i.trade_date }}{{ i.maturity }} {{ r.mtm|num }} {{ i.status|title }}{% if r.settlement %} {{ r.settlement.date }}{% endif %} {% if r.designated %}designated{% else %}-{% endif %} {% if i.status == 'OPEN' %}
{% csrf_token %}
{% endif %}
{% endblock %}