aboutsummaryrefslogtreecommitdiffstats
path: root/python/risk_insight/templates/indices.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/risk_insight/templates/indices.html')
-rw-r--r--python/risk_insight/templates/indices.html41
1 files changed, 41 insertions, 0 deletions
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>