{% 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}} | {{"{0:,.2f}".format(trade.notional)}} | {{"{0:,.2f}".format(trade.upfront) if trade.upfront else "-"}} | {{"{0:,.4f}".format(trade.ref) if trade.ref else "-"}} | {{trade.orig_attach or ""}} | {{trade.orig_detach or ""}} | {{trade.name}} | {{trade.trade_type}} | {{trade.fund}} | {{trade.folder}} |