diff options
Diffstat (limited to 'python/risk_insight/templates')
| -rw-r--r-- | python/risk_insight/templates/index.html | 12 | ||||
| -rw-r--r-- | python/risk_insight/templates/indices.html | 41 | ||||
| -rw-r--r-- | python/risk_insight/templates/tranches.html | 44 |
3 files changed, 97 insertions, 0 deletions
diff --git a/python/risk_insight/templates/index.html b/python/risk_insight/templates/index.html new file mode 100644 index 00000000..f4bfadfa --- /dev/null +++ b/python/risk_insight/templates/index.html @@ -0,0 +1,12 @@ +<!doctype html> +<html> +<head> +</head> +<body> + <div> + <ul> + <li><a href="tranches.html">Tranche Insights</a></li> + <li><a href="indices.html">Index Insights</a></li> + </ul> +</body> +</html> diff --git a/python/risk_insight/templates/indices.html b/python/risk_insight/templates/indices.html new file mode 100644 index 00000000..11950694 --- /dev/null +++ b/python/risk_insight/templates/indices.html @@ -0,0 +1,41 @@ +<!doctype html> +<html> + <head> + <link href="{{url_for('static',filename='insight.css')}}" rel="stylesheet"> + </head> + <body> + <div id="graph" class="graph"> + </div> + <div id="select-box"> + <select id="index"> + <option value="ig">IG</option> + <option value="hy">HY</option> + <option value="xo">XO</option> + <option value="eu">EU</option> + </select> + <select id="series"> + {% for s in series %} + <option value="{{s}}">{{s}}</option> + {% endfor %} + </select> + <select id="tenor"> + <option value="3yr">3yr</option> + <option value="5yr">5yr</option> + <option value="7yr">7yr</option> + <option value="10yr">10yr</option> + </select> + </div> + <div> + <select id="what"> + <option value="quotes">Quotes</option> + <option value="adjquotes">Adjusted Quotes</option> + <option value="basis">Basis</option> + <option value="theta">Theta</option> + <option value="duration">Duration</option> + </select> + </div> + <script type="text/javascript" src="{{ url_for('static', filename='dygraph-combined.js') }}"></script> + <script type="text/javascript" src="{{ url_for('static', filename='jquery-2.1.1.min.js') }}"></script> + <script type="text/javascript" src="{{ url_for('static', filename='indices.js') }}"></script> +</body> +</html> diff --git a/python/risk_insight/templates/tranches.html b/python/risk_insight/templates/tranches.html new file mode 100644 index 00000000..9cec5653 --- /dev/null +++ b/python/risk_insight/templates/tranches.html @@ -0,0 +1,44 @@ +<!doctype html> +<html> + <head> + <link href="{{url_for('static',filename='insight.css')}}" rel="stylesheet"> + </head> + <body> + <div id="graph1" class="graph"></div> + <div id="graph2" class="graph"></div> + <div class="select-box2"> + <select id="index"> + <option value="ig">IG</option> + <option value="hy">HY</option> + <option value="xo">XO</option> + <option value="eu">EU</option> + </select> + <select id="series"> + {% for s in series %} + <option value="{{s}}">{{s}}</option> + {% endfor %} + </select> + <select id="tenor"> + <option value="3yr">3yr</option> + <option value="5yr">5yr</option> + <option value="7yr">7yr</option> + <option value="10yr">10yr</option> + </select> + </div> + <div class="select-box2"> + <select id="greek"> + <option value="Dealer Deltas">Dealer Delta</option> + <option value="Model Deltas">Model Delta</option> + <option value="Forward Deltas">Forward Delta</option> + <option value="gammas">Gamma</option> + <option value="thetas">Theta</option> + <option value="corr01">Corr01</option> + <option value="durations">Duration</option> + <option value="el">Expected Loss</option> + </select> + </div> + <script type="text/javascript" src="{{ url_for('static', filename='tranches.js') }}"></script> + <script type="text/javascript" src="{{ url_for('static', filename='dygraph-combined.js') }}"></script> + <script type="text/javascript" src="{{ url_for('static', filename='jquery-2.1.1.min.js') }}"></script> + </body> +</html> |
