{% extends "base.html" %} {% block content %}
| Deal ID | Trade Date | Protection | Description | Red Code | Notional | Upfront | Ref | Attach | Detach | Counterparty | Trade Type | Fund | Strategy | |
| {{trade.dealid}} | {{trade.trade_date}} | {{trade.protection}} | {{trade.security_desc}} | {{trade.security_id}} | {{trade.notional|thousands}} | {{"{0:,.2f}".format(trade.upfront) if trade.upfront else "-"}} | {{"{0:,.4f}".format(trade.ref) if trade.ref else "-"}} | {{trade.orig_attach if trade.orig_attach is not none}} | {{trade.orig_detach if trade.orig_detach is not none}} | {{trade.name}} | {{trade.trade_type}} | {{trade.fund}} | {{trade.folder}} | {% if trade.trade_type == "New" %}x{% endif %} |