blob: 704475aa90cf2f226786e844d31bd666f57a8441 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
<body style="max-width:1500px; margin:0 auto">
<table class="table table-striped">
<thead>
<tr>
<td>Deal ID</td>
<td>Trade Date</td>
<td>Protection</td>
<td>Description</td>
<td>Red Code</td>
<td>Notional</td>
<td>Attach</td>
<td>Detach</td>
<td>Counterparty</td>
<td>Strategy</td>
</tr>
</thead>
{% for trade in trades %}
<tr>
<td><a href="{{url_for('cds_trade_manage', tradeid=trade.id)}}">{{trade.dealid}}</a></td>
<td>{{trade.trade_date}}</td>
<td>{{trade.protection}}</td>
<td>{{trade.security_desc}}</td>
<td>{{trade.security_id}}</td>
<td>{{trade.notional}}</td>
<td>{{trade.attach if trade.attach is not none}}</td>
<td>{{trade.detach if trade.detach is not none}}</td>
<td><a href="{{url_for('edit_counterparty',
cpcode=trade.counterparty.code)}}">{{trade.counterparty.name}}</a></td>
<td>{{trade.folder}}</td>
</tr>
{% endfor %}
</table>
</body>
</html>
|