-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreport-template.html
225 lines (178 loc) · 8.08 KB
/
report-template.html
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,300,600">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://codepen.io/Maxence8/pen/RJrPmb.css">
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://codepen.io/bcd/pen/YaXojL.js"></script>
</head>
<body>
<div class="book">
<div class="page">
<div class="subpage">
<!--
###############################################
# #
# #
# #
# Header #
# #
# #
############################################### -->
<div class="row gs-header gs-text-header">
<div class="twelve columns padded">
<h5>Back-testing Analysis | {{ date }}<h5>
</div>
</div>
<br>
<!--
###############################################
# #
# #
# #
# First row #
# #
# #
############################################### -->
<div class="row">
<div class="six columns">
<h6 class="gs-header gs-text-header padded">
Product Description
</h6>
<br>
<p style="text-align:justify">
Autocallable products (‘autocalls’) are structured
products linked to an underlying asset, which can
automatically mature (or ‘kick out’) prior to their
scheduled maturity date if certain pre-determined
market conditions have been met with regard to the
underlying asset.
An autocall is an investment package which comprises
several financial instruments; a zero coupon bond
combined with call and put options referencing the
underlying asset.
</p>
</div>
<div class="six columns">
<h6 class="gs-header gs-text-header padded">
Product Details
</h6>
<br>
<table>
{% for row in product_description %}
<tr>
<td>{{row.field}}</td>
<td>{{row.value}}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
<!--
###############################################
# #
# #
# #
# Second row #
# #
# #
############################################### -->
<div class="row">
<div class="twelve columns">
<h6 class="gs-header gs-text-header padded">
Methodology
</h6>
<br>
<p style="text-align:justify">
Over the period from {{ backtest_begin }} to
{{ backtest_end }}, the returns of
an investments in this product have been simulated.
Each date as been taken as a launch date. {{ nbr_backtests }}
tests
were carried out on similar investments for which
the historical annualized rate of return has been
computed.
</p>
</div>
</div>
<!--
###############################################
# #
# #
# #
# Third row #
# #
# #
############################################### -->
<div class="row">
<div class="six columns">
<h6 class="gs-header gs-text-header padded">
Evolution of the Annualized Rate of Return (% p.a.)
</h6>
<div id="arr" style="height:21em;"></div>
</div>
<div class="six columns">
<h6 class="gs-header gs-text-header padded">
Early redemption distribution
</h6>
<div id="early-redemption" style="height:21em;"></div>
</div>
</div>
<!--
###############################################
# #
# #
# #
# Fourth row #
# #
# #
############################################### -->
<div class="row">
<div class="twelve columns">
<h6 class="gs-header gs-text-header padded">
Underlyings historical data
</h6>
<div id="udl-data" style="height:24em;"></div>
<p>Source : Alphavantage</p>
</div>
</div>
<br>
<p style="text-align:justify">
Disclaimer : Historical data and simulations are not a reliable
indicator for future development. This tool is
furnishing "as is". The developper does not provide
any warranty of the tool whatsoever, whether express,
implied, or statutory, including, but not limited to,
any warranty of merchantability or fitness for a
particular purpose or any warranty that the contents
of the tool will be error-free.
</p>
</div>
</div>
</div>
</body>
<!--
###############################################
# #
# #
# #
# Plotly.js #
# #
# #
############################################### -->
<script>
{{ script_arr }}
</script>
<script>
{{ script_redemption }}
</script>
<script>
{{ script_udl }}
</script>
</html>