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

{{ rel.name }}

{{ rel.status|title }}

Designation

Currency
{{ rel.currency }} ({{ rel.get_direction_display }})
Hedged risk
{{ rel.get_hedged_risk_display }}{% if rel.cost_of_hedging %}, forward element in cost of hedging{% endif %}
Designated on
{{ rel.designation_date }}
Hedged notional
{{ rel.hedged_notional|num }} maturing about {{ rel.hedged_maturity }}
Hypothetical derivative rate
{{ rel.hypothetical_rate|num:4 }} (spot at designation {{ rel.designation_spot|num:4 }})
Instrument notional
{{ rel.instrument_notional|num }} (hedge ratio {{ rel.hedge_ratio|pct }})

Instruments

Hedged exposures

Documentation

{{ rel.documentation }}

{% if latest %}

Latest test ({{ latest.period.period_end }})

Cumulative dollar offset
{{ latest.offset_cumulative|pct }} {% if latest.in_band %}within 80-125%{% elif latest.in_band == None %}n/a{% else %}outside 80-125%{% endif %}
Regression slope / R²
{% if latest.slope != None %}{{ latest.slope|floatformat:3 }} / {{ latest.r_squared|floatformat:3 }}{% else %}needs 3 periods{% endif %}
OCI reserve
{{ latest.reserve_end|num:2 }}
Cumulative ineffectiveness (P&L)
{{ latest.pnl_cum|num:2 }}
{% endif %}

Effectiveness test history

{% for t in tests %} {% empty %}{% endfor %}
Period endInstrument changeHypothetical changeOffset (period)Cum. instrumentCum. hypotheticalOffset (cum.)SlopeR²OCI reserveOCI movementP&L ineffectiveness
{{ t.period.period_end }}{{ t.delta_instrument|num }}{{ t.delta_hedged|num }}{{ t.offset_period|pct }} {{ t.cum_instrument|num }}{{ t.cum_hedged|num }}{{ t.offset_cumulative|pct }} {% if t.slope != None %}{{ t.slope|floatformat:3 }}{% else %}-{% endif %}{% if t.r_squared != None %}{{ t.r_squared|floatformat:3 }}{% else %}-{% endif %} {{ t.reserve_end|num }}{{ t.oci_change|num }}{{ t.pnl_change|num }}
No locked period has tested this relationship yet.

Dollar offset = change in hedging instrument / change in hypothetical derivative; the 80-125% band is a reference. The OCI reserve is the lesser (in absolute terms) of the cumulative instrument change and the cumulative hypothetical derivative change; the excess is cumulative P&L ineffectiveness.

{% if reclass %}

Hedged transaction realised

{{ reclass.amount|num:2 }} released from the cash flow hedge reserve to profit or loss on {{ reclass.date }}.

{% elif rel.status == 'ACTIVE' and tests %}

Hedged transaction realised

{% csrf_token %}

Releases the reserve at the last locked period and completes the relationship.

{% endif %} {% endblock %}