-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdistribution_of_asset_value.html
242 lines (219 loc) · 9.56 KB
/
distribution_of_asset_value.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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<!-- Bootstrap -->
<title>资产价值分布图</title>
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="css/navbar.css" rel="stylesheet">
<link href="css/distribution_of_asset_value.css" rel="stylesheet">
<link rel="icon" href="img/icon.ico" type="img/x-ico" />
</head>
<body>
<!-- 导航栏 -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="home.html">
<img alt="Brand" src="img/brand.png">
</a>
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#example-navbar-collapse">
<span class="sr-only">切换导航</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="example-navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<div>
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
产品介绍
<!-- <b class="caret"></b>-->
<span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
</a>
<ul class="dropdown-menu">
<li><a href="detail_instruction.html">产品简介</a></li>
<li><a href="detail_guide.html">使用向导</a></li>
<li><a href="detail_rate.html">违约概率分析</a></li>
<li><a href="detail_lean.html">偏效应分析</a></li>
</ul>
</li>
</ul>
</div>
</li>
<!-- 下拉 -->
<li>
<div>
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
功能展示
<!--<b class="caret"></b>-->
<span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
</a>
<ul class="dropdown-menu">
<li><a href="balance_sheet.html">资产负债表</a></li>
<li><a href="distribution_of_asset_value.html">资产价值分布图</a></li>
<li><a href="analysis_of_partial_effect.html">偏效应分析</a></li>
<!-- <li class="divider"></li>
<li><a href="#">分离的链接</a></li>-->
</ul>
</li>
</ul>
</div>
</li>
<li><a href="team.html">团队介绍</a></li>
</ul>
</div>
</div>
</nav>
<!-- 巨幕 -->
<div id="glfb">
<!-- 缩略图 -->
<div class="row">
<div class="col-xs-2 col-md-2"></div>
<!-- 图表 -->
<div class="col-xs-8 col-md-8">
<div id="title">资产价值分布图</div>
<div class="explain" id="explain1">
Ignition通过银行自身输入的经营数据,重构了商业银行的资产负债表,使新资产负债表包含了影子银行业务。之后通过收集的各个金融市场数据和本团队自主研发的模型,预测出未来的资产价值分布,并得出商业银行资不抵债的违约概率,衡量了表内业务及影子银行体系对商业银行经营稳定性的影响。
</div>
<div id="chartBox">
<div id="container" style="min-width:400px;height:400px"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-2 col-md-2"></div>
<div class="col-xs-8 col-md-8">
<div class="explain" id="explain2">
以某上市商业银行A银行为例,将本团队收集到的该银行的经营数据输入Ignition系统,可得到如上图所示的A银行资产价值分布图,红色区域为违约区域,下方为预测的违约概率值。
</div>
</div>
</div>
<div class="row">
<div class="col-xs-2 col-md-3"></div>
<div class="col-xs-8 col-md-6">
<div id="probability_col">
<div id="probability_title">违约概率值:</div>
<div id="probability"> </div>
</div>
<div class="explain" id="explain3">
我们的系统实现了各个金融市场数据的实时更新,故资产价值分布图和违约概率均处于不断变化之中。确保为您提供既准确又具有时效性的分析结果。
</div>
</div>
</div>
</div>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="js/zoom.js"></script>
<script src="https://cdn.hcharts.cn/highcharts/highcharts.js"></script>
<!-- 图表主题 -->
<script src="js/theme.js"></script>
<script>
$(document).ready(function(){
$.get("http://39.108.217.238:8080/history_2016/", function(data){
var cost=data.cost;
var probability=data.probability;
var points=data.points;
probability = parseFloat(probability*100);
probability = probability.toFixed(2);
$("#probability").text(probability+"%");
var x=points[0];
var y=points[1];
var e=[];
for(var i=0;i<x.length;i++){
e[i]=[];
e[i][0]=x[i];
e[i][1]=y[i];
}
var colors = Highcharts.getOptions().colors;
Highcharts.chart('container', {
chart: {
zoomType: 'x'
},
credits: {
enabled: false
},
title: {
text: '资产价值分布图'
},
xAxis: {
labels: {
formatter: function () {
return Highcharts.numberFormat(this.value,0,'.',',');
}
},
plotLines: [{ // mark the weekend
color: 'red',
width: 2,
value: cost,
dashStyle: 'Solid',
label: {
text: '负债线: '+cost.toString(),
verticalAlign: 'top',
textAlign: 'left',
rotation: 0,
style: {
color: 'red',
fontWeight: 'bold'
}
},
zIndex: 5
}],
plotBands: [{ // mark the weekend
color: null,
zIndex: 5,
from: 0,
to: cost,
label: {
text: '红色区域为违约区域',
align: 'right',
verticalAlign: 'bottom',
x: -10,
y: -10
}
}],
title: {
text: '资产 / 人民币百万元',
align: 'high'
}
},
yAxis: {
title: {
text: '资产价值概率密度 / E-6'
}
},
tooltip: {
formatter: function () {
return '资产:'+ Highcharts.numberFormat(this.x,3,'.',',') +'<br/>'+
'资产价值概率密度:' + '<b>'+ Highcharts.numberFormat(this.y, 2) + '</b>E-6';
}/*,
valueDecimals: 2*/
},
series: [{
color: colors[3],
type: 'areaspline',
data: e,
name: '资产价值分布曲线',
zoneAxis: 'x',
zones: [{
value: cost,
color: colors[2]
}]
}]
});
},'json')
});
</script>
</body>
</html>