-
Notifications
You must be signed in to change notification settings - Fork 46
/
preface.html
358 lines (322 loc) · 28.2 KB
/
preface.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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>R语言玩转金融与体彩数据分析</title>
<meta name="description" content="此书乃个人学习R语言的经验分享与建议。 此文件输出格式为 bookdown::gitbook。">
<meta name="generator" content="bookdown 0.7 and GitBook 2.6.7">
<meta property="og:title" content="R语言玩转金融与体彩数据分析" />
<meta property="og:type" content="book" />
<meta property="og:url" content="https://github.com/englianhu/data-analysis" />
<meta property="og:image" content="https://github.com/englianhu/data-analysisimages/cover.jpg" />
<meta property="og:description" content="此书乃个人学习R语言的经验分享与建议。 此文件输出格式为 bookdown::gitbook。" />
<meta name="github-repo" content="englianhu/data-analysis" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="R语言玩转金融与体彩数据分析" />
<meta name="twitter:description" content="此书乃个人学习R语言的经验分享与建议。 此文件输出格式为 bookdown::gitbook。" />
<meta name="twitter:image" content="https://github.com/englianhu/data-analysisimages/cover.jpg" />
<meta name="author" content="®γσ,黄联富">
<meta name="date" content="2018-09-18">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="touch-icon.png">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="next" href="intro.html">
<script src="book_assets/jquery-2.2.3/jquery.min.js"></script>
<link href="book_assets/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="book_assets/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
<link href="book_assets/gitbook-2.6.7/css/plugin-highlight.css" rel="stylesheet" />
<link href="book_assets/gitbook-2.6.7/css/plugin-search.css" rel="stylesheet" />
<link href="book_assets/gitbook-2.6.7/css/plugin-fontsettings.css" rel="stylesheet" />
<style type="text/css">
div.sourceCode { overflow-x: auto; }
table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
margin: 0; padding: 0; vertical-align: baseline; border: none; }
table.sourceCode { width: 100%; line-height: 100%; }
td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }
td.sourceCode { padding-left: 5px; }
code > span.kw { color: #007020; font-weight: bold; } /* Keyword */
code > span.dt { color: #902000; } /* DataType */
code > span.dv { color: #40a070; } /* DecVal */
code > span.bn { color: #40a070; } /* BaseN */
code > span.fl { color: #40a070; } /* Float */
code > span.ch { color: #4070a0; } /* Char */
code > span.st { color: #4070a0; } /* String */
code > span.co { color: #60a0b0; font-style: italic; } /* Comment */
code > span.ot { color: #007020; } /* Other */
code > span.al { color: #ff0000; font-weight: bold; } /* Alert */
code > span.fu { color: #06287e; } /* Function */
code > span.er { color: #ff0000; font-weight: bold; } /* Error */
code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
code > span.cn { color: #880000; } /* Constant */
code > span.sc { color: #4070a0; } /* SpecialChar */
code > span.vs { color: #4070a0; } /* VerbatimString */
code > span.ss { color: #bb6688; } /* SpecialString */
code > span.im { } /* Import */
code > span.va { color: #19177c; } /* Variable */
code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
code > span.op { color: #666666; } /* Operator */
code > span.bu { } /* BuiltIn */
code > span.ex { } /* Extension */
code > span.pp { color: #bc7a00; } /* Preprocessor */
code > span.at { color: #7d9029; } /* Attribute */
code > span.do { color: #ba2121; font-style: italic; } /* Documentation */
code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
</style>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
<div class="book-summary">
<nav role="navigation">
<ul class="summary">
<li><a href="./">R语言玩转金融与体彩数据分析</a></li>
<li class="divider"></li>
<li class="chapter" data-level="1" data-path="preface.html"><a href="preface.html"><i class="fa fa-check"></i><b>1</b> 前言</a></li>
<li class="chapter" data-level="2" data-path="intro.html"><a href="intro.html"><i class="fa fa-check"></i><b>2</b> 介绍</a><ul>
<li class="chapter" data-level="2.1" data-path="intro.html"><a href="intro.html#rrstudio"><i class="fa fa-check"></i><b>2.1</b> R语言与RStudio</a></li>
<li class="chapter" data-level="2.2" data-path="intro.html"><a href="intro.html#shiny"><i class="fa fa-check"></i><b>2.2</b> Shiny应用</a></li>
<li class="chapter" data-level="2.3" data-path="intro.html"><a href="intro.html#section-2.3"><i class="fa fa-check"></i><b>2.3</b> 调用其它语言程序</a></li>
</ul></li>
<li class="chapter" data-level="3" data-path="analytics.html"><a href="analytics.html"><i class="fa fa-check"></i><b>3</b> 数据分析</a><ul>
<li class="chapter" data-level="3.1" data-path="analytics.html"><a href="analytics.html#section-3.1"><i class="fa fa-check"></i><b>3.1</b> 读存数据</a><ul>
<li class="chapter" data-level="3.1.1" data-path="analytics.html"><a href="analytics.html#section-3.1.1"><i class="fa fa-check"></i><b>3.1.1</b> 本地文件</a></li>
<li class="chapter" data-level="3.1.2" data-path="analytics.html"><a href="analytics.html#section-3.1.2"><i class="fa fa-check"></i><b>3.1.2</b> 外来文件</a></li>
</ul></li>
<li class="chapter" data-level="3.2" data-path="analytics.html"><a href="analytics.html#section-3.2"><i class="fa fa-check"></i><b>3.2</b> 采集网络数据</a><ul>
<li class="chapter" data-level="3.2.1" data-path="analytics.html"><a href="analytics.html#section-3.2.1"><i class="fa fa-check"></i><b>3.2.1</b> 普通采集</a></li>
<li class="chapter" data-level="3.2.2" data-path="analytics.html"><a href="analytics.html#api"><i class="fa fa-check"></i><b>3.2.2</b> API接口</a></li>
<li class="chapter" data-level="3.2.3" data-path="analytics.html"><a href="analytics.html#web-driver"><i class="fa fa-check"></i><b>3.2.3</b> Web Driver</a></li>
</ul></li>
<li class="chapter" data-level="3.3" data-path="analytics.html"><a href="analytics.html#section-3.3"><i class="fa fa-check"></i><b>3.3</b> 数据处理</a><ul>
<li class="chapter" data-level="3.3.1" data-path="analytics.html"><a href="analytics.html#section-3.3.1"><i class="fa fa-check"></i><b>3.3.1</b> 文字与数字</a></li>
<li class="chapter" data-level="3.3.2" data-path="analytics.html"><a href="analytics.html#section-3.3.2"><i class="fa fa-check"></i><b>3.3.2</b> 数据框与矩阵</a></li>
<li class="chapter" data-level="3.3.3" data-path="analytics.html"><a href="analytics.html#section-3.3.3"><i class="fa fa-check"></i><b>3.3.3</b> 列表与嵌套数据</a></li>
</ul></li>
<li class="chapter" data-level="3.4" data-path="analytics.html"><a href="analytics.html#section-3.4"><i class="fa fa-check"></i><b>3.4</b> 数据分析程序包</a></li>
</ul></li>
<li class="chapter" data-level="4" data-path="stats.html"><a href="stats.html"><i class="fa fa-check"></i><b>4</b> 统计模式</a><ul>
<li class="chapter" data-level="4.1" data-path="stats.html"><a href="stats.html#section-4.1"><i class="fa fa-check"></i><b>4.1</b> 基本统计学</a><ul>
<li class="chapter" data-level="4.1.1" data-path="stats.html"><a href="stats.html#section-4.1.1"><i class="fa fa-check"></i><b>4.1.1</b> 线性模型</a></li>
<li class="chapter" data-level="4.1.2" data-path="stats.html"><a href="stats.html#section-4.1.2"><i class="fa fa-check"></i><b>4.1.2</b> 广义型线性模型</a></li>
<li class="chapter" data-level="4.1.3" data-path="stats.html"><a href="stats.html#section-4.1.3"><i class="fa fa-check"></i><b>4.1.3</b> 最优模型选择</a></li>
</ul></li>
<li class="chapter" data-level="4.2" data-path="stats.html"><a href="stats.html#section-4.2"><i class="fa fa-check"></i><b>4.2</b> 高级统计学</a><ul>
<li class="chapter" data-level="4.2.1" data-path="stats.html"><a href="stats.html#section-4.2.1"><i class="fa fa-check"></i><b>4.2.1</b> 极大似然估计</a></li>
<li class="chapter" data-level="4.2.2" data-path="stats.html"><a href="stats.html#section-4.2.2"><i class="fa fa-check"></i><b>4.2.2</b> 蒙地卡罗</a></li>
<li class="chapter" data-level="4.2.3" data-path="stats.html"><a href="stats.html#section-4.2.3"><i class="fa fa-check"></i><b>4.2.3</b> 马尔可夫链</a></li>
<li class="chapter" data-level="4.2.4" data-path="stats.html"><a href="stats.html#section-4.2.4"><i class="fa fa-check"></i><b>4.2.4</b> 隐马尔可夫链</a></li>
<li class="chapter" data-level="4.2.5" data-path="stats.html"><a href="stats.html#section-4.2.5"><i class="fa fa-check"></i><b>4.2.5</b> 贝叶斯分析</a></li>
</ul></li>
<li class="chapter" data-level="4.3" data-path="stats.html"><a href="stats.html#section-4.3"><i class="fa fa-check"></i><b>4.3</b> 统计学程序包</a></li>
</ul></li>
<li class="chapter" data-level="5" data-path="finance.html"><a href="finance.html"><i class="fa fa-check"></i><b>5</b> 金融交易</a><ul>
<li class="chapter" data-level="5.1" data-path="finance.html"><a href="finance.html#section-5.1"><i class="fa fa-check"></i><b>5.1</b> 金融交易</a><ul>
<li class="chapter" data-level="5.1.1" data-path="finance.html"><a href="finance.html#section-5.1.1"><i class="fa fa-check"></i><b>5.1.1</b> 金融交易介绍</a></li>
<li class="chapter" data-level="5.1.2" data-path="finance.html"><a href="finance.html#section-5.1.2"><i class="fa fa-check"></i><b>5.1.2</b> 金融数据</a></li>
<li class="chapter" data-level="5.1.3" data-path="finance.html"><a href="finance.html#section-5.1.3"><i class="fa fa-check"></i><b>5.1.3</b> 金融交易统计模型介绍</a></li>
</ul></li>
<li class="chapter" data-level="5.2" data-path="finance.html"><a href="finance.html#section-5.2"><i class="fa fa-check"></i><b>5.2</b> 单变量统计模型</a><ul>
<li class="chapter" data-level="5.2.1" data-path="finance.html"><a href="finance.html#lassoelasticnetridge"><i class="fa fa-check"></i><b>5.2.1</b> LASSO、ElasticNet、RIDGE模型</a></li>
<li class="chapter" data-level="5.2.2" data-path="finance.html"><a href="finance.html#arima"><i class="fa fa-check"></i><b>5.2.2</b> Arima模型</a></li>
<li class="chapter" data-level="5.2.3" data-path="finance.html"><a href="finance.html#section-5.2.3"><i class="fa fa-check"></i><b>5.2.3</b> 指数平滑法</a></li>
<li class="chapter" data-level="5.2.4" data-path="finance.html"><a href="finance.html#garch"><i class="fa fa-check"></i><b>5.2.4</b> GARCH模型</a></li>
</ul></li>
<li class="chapter" data-level="5.3" data-path="finance.html"><a href="finance.html#section-5.3"><i class="fa fa-check"></i><b>5.3</b> 多变量统计模型</a><ul>
<li class="chapter" data-level="5.3.1" data-path="finance.html"><a href="finance.html#garch-1"><i class="fa fa-check"></i><b>5.3.1</b> GARCH模型</a></li>
<li class="chapter" data-level="5.3.2" data-path="finance.html"><a href="finance.html#section"><i class="fa fa-check"></i><b>5.3.2</b> </a></li>
</ul></li>
<li class="chapter" data-level="5.4" data-path="finance.html"><a href="finance.html#section-5.4"><i class="fa fa-check"></i><b>5.4</b> 高频率交易模型</a><ul>
<li class="chapter" data-level="5.4.1" data-path="finance.html"><a href="finance.html#midas"><i class="fa fa-check"></i><b>5.4.1</b> MIDAS模型</a></li>
<li class="chapter" data-level="5.4.2" data-path="finance.html"><a href="finance.html#midas-garch"><i class="fa fa-check"></i><b>5.4.2</b> MIDAS-GARCH</a></li>
<li class="chapter" data-level="5.4.3" data-path="finance.html"><a href="finance.html#garch-2"><i class="fa fa-check"></i><b>5.4.3</b> GARCH模型</a></li>
</ul></li>
<li class="chapter" data-level="5.5" data-path="finance.html"><a href="finance.html#section-5.5"><i class="fa fa-check"></i><b>5.5</b> 其它统计模型</a><ul>
<li class="chapter" data-level="5.5.1" data-path="finance.html"><a href="finance.html#levy-process"><i class="fa fa-check"></i><b>5.5.1</b> Levy Process</a></li>
<li class="chapter" data-level="5.5.2" data-path="finance.html"><a href="finance.html#wavelet-tranforms"><i class="fa fa-check"></i><b>5.5.2</b> Wavelet Tranforms</a></li>
</ul></li>
<li class="chapter" data-level="5.6" data-path="finance.html"><a href="finance.html#section-5.6"><i class="fa fa-check"></i><b>5.6</b> 投资管理</a><ul>
<li class="chapter" data-level="5.6.1" data-path="finance.html"><a href="finance.html#section-5.6.1"><i class="fa fa-check"></i><b>5.6.1</b> 投资风险管理</a></li>
<li class="chapter" data-level="5.6.2" data-path="finance.html"><a href="finance.html#section-5.6.2"><i class="fa fa-check"></i><b>5.6.2</b> 基金管理</a></li>
<li class="chapter" data-level="5.6.3" data-path="finance.html"><a href="finance.html#section-5.6.3"><i class="fa fa-check"></i><b>5.6.3</b> 多元基金管理</a></li>
<li class="chapter" data-level="5.6.4" data-path="finance.html"><a href="finance.html#section-5.6.4"><i class="fa fa-check"></i><b>5.6.4</b> 基金评估</a></li>
</ul></li>
<li class="chapter" data-level="5.7" data-path="finance.html"><a href="finance.html#section-5.7"><i class="fa fa-check"></i><b>5.7</b> 金融交易程序包</a></li>
</ul></li>
<li class="chapter" data-level="6" data-path="sportsbook.html"><a href="sportsbook.html"><i class="fa fa-check"></i><b>6</b> 体彩交易</a><ul>
<li class="chapter" data-level="6.1" data-path="sportsbook.html"><a href="sportsbook.html#section-6.1"><i class="fa fa-check"></i><b>6.1</b> 体彩交易</a><ul>
<li class="chapter" data-level="6.1.1" data-path="sportsbook.html"><a href="sportsbook.html#section-6.1.1"><i class="fa fa-check"></i><b>6.1.1</b> 体彩交易介绍</a></li>
<li class="chapter" data-level="6.1.2" data-path="sportsbook.html"><a href="sportsbook.html#section-6.1.2"><i class="fa fa-check"></i><b>6.1.2</b> 体彩数据</a></li>
<li class="chapter" data-level="6.1.3" data-path="sportsbook.html"><a href="sportsbook.html#section-6.1.3"><i class="fa fa-check"></i><b>6.1.3</b> 体彩交易统计模型介绍</a></li>
</ul></li>
<li class="chapter" data-level="6.2" data-path="sportsbook.html"><a href="sportsbook.html#section-6.2"><i class="fa fa-check"></i><b>6.2</b> 足球赔率建模</a><ul>
<li class="chapter" data-level="6.2.1" data-path="sportsbook.html"><a href="sportsbook.html#section-6.2.1"><i class="fa fa-check"></i><b>6.2.1</b> 单变量泊松模型</a></li>
<li class="chapter" data-level="6.2.2" data-path="sportsbook.html"><a href="sportsbook.html#section-6.2.2"><i class="fa fa-check"></i><b>6.2.2</b> 多变量泊松模型</a></li>
<li class="chapter" data-level="6.2.3" data-path="sportsbook.html"><a href="sportsbook.html#logistic"><i class="fa fa-check"></i><b>6.2.3</b> Logistic模型</a></li>
<li class="chapter" data-level="6.2.4" data-path="sportsbook.html"><a href="sportsbook.html#section-1"><i class="fa fa-check"></i><b>6.2.4</b> </a></li>
</ul></li>
<li class="chapter" data-level="6.3" data-path="sportsbook.html"><a href="sportsbook.html#section-6.3"><i class="fa fa-check"></i><b>6.3</b> 足彩投注模型</a><ul>
<li class="chapter" data-level="6.3.1" data-path="sportsbook.html"><a href="sportsbook.html#section-6.3.1"><i class="fa fa-check"></i><b>6.3.1</b> 普通投注模型</a></li>
<li class="chapter" data-level="6.3.2" data-path="sportsbook.html"><a href="sportsbook.html#section-6.3.2"><i class="fa fa-check"></i><b>6.3.2</b> 凯利投注模型</a></li>
<li class="chapter" data-level="6.3.3" data-path="sportsbook.html"><a href="sportsbook.html#ohlcgarch"><i class="fa fa-check"></i><b>6.3.3</b> OHLC与GARCH应用</a></li>
</ul></li>
<li class="chapter" data-level="6.4" data-path="sportsbook.html"><a href="sportsbook.html#-1"><i class="fa fa-check"></i><b>6.4</b> 投资管理</a></li>
<li class="chapter" data-level="6.5" data-path="sportsbook.html"><a href="sportsbook.html#section-6.5"><i class="fa fa-check"></i><b>6.5</b> 体彩交易程序包</a></li>
</ul></li>
<li class="chapter" data-level="7" data-path="lottery.html"><a href="lottery.html"><i class="fa fa-check"></i><b>7</b> 彩票、轮盘、老虎机与宾果</a><ul>
<li class="chapter" data-level="7.1" data-path="lottery.html"><a href="lottery.html#section-7.1"><i class="fa fa-check"></i><b>7.1</b> 彩票分析与预测</a><ul>
<li class="chapter" data-level="7.1.1" data-path="lottery.html"><a href="lottery.html#section-7.1.1"><i class="fa fa-check"></i><b>7.1.1</b> 数据与统计建模</a></li>
<li class="chapter" data-level="7.1.2" data-path="lottery.html"><a href="lottery.html#section-7.1.2"><i class="fa fa-check"></i><b>7.1.2</b> 投注模式与回酬</a></li>
</ul></li>
<li class="chapter" data-level="7.2" data-path="lottery.html"><a href="lottery.html#section-7.2"><i class="fa fa-check"></i><b>7.2</b> 轮盘分析与预测</a><ul>
<li class="chapter" data-level="7.2.1" data-path="sportsbook.html"><a href="sportsbook.html#-1"><i class="fa fa-check"></i><b>7.2.1</b> 数据与统计建模</a></li>
<li class="chapter" data-level="7.2.2" data-path="sportsbook.html"><a href="sportsbook.html#-1"><i class="fa fa-check"></i><b>7.2.2</b> 投注模式与回酬</a></li>
</ul></li>
<li class="chapter" data-level="7.3" data-path="lottery.html"><a href="lottery.html#section-7.3"><i class="fa fa-check"></i><b>7.3</b> 老虎机分析与预测</a><ul>
<li class="chapter" data-level="7.3.1" data-path="lottery.html"><a href="lottery.html#-2"><i class="fa fa-check"></i><b>7.3.1</b> 数据与统计建模</a></li>
<li class="chapter" data-level="7.3.2" data-path="lottery.html"><a href="lottery.html#-2"><i class="fa fa-check"></i><b>7.3.2</b> 投注模式与回酬</a></li>
</ul></li>
<li class="chapter" data-level="7.4" data-path="lottery.html"><a href="lottery.html#section-7.4"><i class="fa fa-check"></i><b>7.4</b> 宾果分析与预测</a><ul>
<li class="chapter" data-level="7.4.1" data-path="lottery.html"><a href="lottery.html#-3"><i class="fa fa-check"></i><b>7.4.1</b> 数据与统计建模</a></li>
<li class="chapter" data-level="7.4.2" data-path="lottery.html"><a href="lottery.html#-3"><i class="fa fa-check"></i><b>7.4.2</b> 投注模式与回酬</a></li>
</ul></li>
</ul></li>
<li class="chapter" data-level="8" data-path="hft.html"><a href="hft.html"><i class="fa fa-check"></i><b>8</b> 高效率编程</a><ul>
<li class="chapter" data-level="8.1" data-path="hft.html"><a href="hft.html#section-8.1"><i class="fa fa-check"></i><b>8.1</b> 高效数据处理</a></li>
<li class="chapter" data-level="8.2" data-path="hft.html"><a href="hft.html#section-8.2"><i class="fa fa-check"></i><b>8.2</b> 高效统计建模</a></li>
<li class="chapter" data-level="8.3" data-path="hft.html"><a href="hft.html#r"><i class="fa fa-check"></i><b>8.3</b> 高效率与高级R语言参考书</a></li>
</ul></li>
<li class="chapter" data-level="9" data-path="fund.html"><a href="fund.html"><i class="fa fa-check"></i><b>9</b> 基金与投资者管理模型</a><ul>
<li class="chapter" data-level="9.1" data-path="fund.html"><a href="fund.html#section-9.1"><i class="fa fa-check"></i><b>9.1</b> 多元化基金管理</a><ul>
<li class="chapter" data-level="9.1.1" data-path="fund.html"><a href="fund.html#section-9.1.1"><i class="fa fa-check"></i><b>9.1.1</b> 多元化基金评估</a></li>
<li class="chapter" data-level="9.1.2" data-path="fund.html"><a href="fund.html#section-2"><i class="fa fa-check"></i><b>9.1.2</b> </a></li>
</ul></li>
<li class="chapter" data-level="9.2" data-path="fund.html"><a href="fund.html#section-9.2"><i class="fa fa-check"></i><b>9.2</b> 投资者管理</a><ul>
<li class="chapter" data-level="9.2.1" data-path="fund.html"><a href="fund.html#section-9.2.1"><i class="fa fa-check"></i><b>9.2.1</b> 投资者资金流动统计建模</a></li>
<li class="chapter" data-level="9.2.2" data-path="fund.html"><a href="fund.html#section-3"><i class="fa fa-check"></i><b>9.2.2</b> </a></li>
</ul></li>
</ul></li>
<li class="chapter" data-level="10" data-path="algorithm.html"><a href="algorithm.html"><i class="fa fa-check"></i><b>10</b> 程序交易</a><ul>
<li class="chapter" data-level="10.1" data-path="algorithm.html"><a href="algorithm.html#section-10.1"><i class="fa fa-check"></i><b>10.1</b> 交易自动化</a><ul>
<li class="chapter" data-level="10.1.1" data-path="algorithm.html"><a href="algorithm.html#section-10.1.1"><i class="fa fa-check"></i><b>10.1.1</b> 数据连接自动化</a></li>
<li class="chapter" data-level="10.1.2" data-path="algorithm.html"><a href="algorithm.html#section-10.1.2"><i class="fa fa-check"></i><b>10.1.2</b> 统计运算自动化</a></li>
<li class="chapter" data-level="10.1.3" data-path="algorithm.html"><a href="algorithm.html#section-10.1.3"><i class="fa fa-check"></i><b>10.1.3</b> 基金评估自动化</a></li>
<li class="chapter" data-level="10.1.4" data-path="algorithm.html"><a href="algorithm.html#section-10.1.4"><i class="fa fa-check"></i><b>10.1.4</b> 客户管理自动化</a></li>
</ul></li>
<li class="chapter" data-level="10.2" data-path="algorithm.html"><a href="algorithm.html#section-10.2"><i class="fa fa-check"></i><b>10.2</b> 多客户管理</a><ul>
<li class="chapter" data-level="10.2.1" data-path="algorithm.html"><a href="algorithm.html#section-10.2.1"><i class="fa fa-check"></i><b>10.2.1</b> 多投资者</a></li>
<li class="chapter" data-level="10.2.2" data-path="algorithm.html"><a href="algorithm.html#section-10.2.2"><i class="fa fa-check"></i><b>10.2.2</b> 绩效管理</a></li>
</ul></li>
<li class="chapter" data-level="10.3" data-path="algorithm.html"><a href="algorithm.html#section-4"><i class="fa fa-check"></i><b>10.3</b> </a></li>
</ul></li>
<li class="chapter" data-level="11" data-path="reference.html"><a href="reference.html"><i class="fa fa-check"></i><b>11</b> <strong>11</strong> 嶲峫暥專</a></li>
<li class="divider"></li>
<li><a href="https://github.com/englianhu/data-analysis" target="blank">原始代码</a></li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">R语言玩转金融与体彩数据分析 <img src='figure/quant-trade.jpg' width='240'></a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<section class="normal" id="section-">
<div id="header">
<h1 class="title">R语言玩转金融与体彩数据分析 <img src='figure/quant-trade.jpg' width='240'></h1>
<h3 class="subtitle"><em>R语言量化交易</em></h3>
<h4 class="author"><em><a href="https://beta.rstudioconnect.com/content/3091/ryo-eng.html">®γσ,黄联富</a></em></h4>
<h4 class="date"><em>2018-09-18</em></h4>
</div>
<div id="preface" class="section level1">
<h1><span class="header-section-number">Chapter 1</span> 前言</h1>
<p><strong>为何辑写此书</strong></p>
<p>本书是在下首次辑写参考书(纯属个人经验分享与心得),此前分享了<strong>如何安装®Studio服务器与Shiny服务器</strong><a href="#fn1" class="footnoteRef" id="fnref1"><sup>1</sup></a>:</p>
<ul>
<li><a href="https://beta.rstudioconnect.com/englianhu/Introducing-RStudio-Server-for-Data-Scientists/Introducing-RStudio-Server-for-Data-Scientists.html">为数据科学家们量身定做の专业统计软件 — ®Studio服务器</a></li>
<li><a href="https://beta.rstudioconnect.com/englianhu/Introducing-RStudio-Server-for-Data-Scientists-Slides/Introducing-RStudio-Server-for-Data-Scientists-slides.html">为数据科学家们量身定做の专业统计软件 — ®Studio服务器(演示文稿)</a></li>
</ul>
<p>在下来自于马来西亚<a href="#fn2" class="footnoteRef" id="fnref2"><sup>2</sup></a>,自2005年入行体彩交易就学习Excel电子表格,而2008年加入<strong>Scicom (MSC) Bhd</strong>后开始接触R语言,并且活跃于<a href="https://d.cosx.org">统计之都论坛</a>与<a href="http://bbs.pinggu.org/forum-69-1.html">经管之家:R语言论坛</a>论坛俩与中国大陆同胞交流,并向前辈高手们学习。</p>
<p>前几年,偶然发现了个R语言的使用者界面<strong>®Studio</strong>后,就觉得非常方便,然后自学在<a href="https://m.do.co/c/aabb124120d0">DigitalOcean.com</a>安装服务器方便随时随地,只要可以上网的地方就可以使用。</p>
<p>前阵子,在下在学习金融交易的时候,无意中发现了本非常实用的经验分享书籍<a href="https://github.com/raw/englianhu/binary.com-interview-question/master/reference/Successful%20Algorithmic%20Trading.pdf">Successful Algorithmic Trading</a>,笔者在金融交易的解说,由入门到精通包括编码分享(笔者介绍了R语言、Python、C++以及比较各优缺点),该笔者<strong>Michael Halls</strong><a href="#fn3" class="footnoteRef" id="fnref3"><sup>3</sup></a>与在下一样以经验分享著书之见,在下阅读与学习时深深感受到金融交易的武功秘籍(实用教材)如兮,夫复何求哇!</p>
<p>在下才疏学浅,仅有约翰霍金斯大学数据科学专业文凭,倘若有何错误之处,涵清多多包涵并指教。此书乃个人经验之谈。希望在同感身受与共而勉之的情况之下,热衷于金融与体彩行业的学者们可以容易着手。</p>
<p>有关如何辑写<code>bookdown::gitbook</code>网络书籍,请参阅<a href="https://bookdown.org/yihui/bookdown/">bookdown: Authoring Books and Technical Documents with R Markdown</a>。</p>
<hr />
<p><strong>Powered by - Copyright® Intellectual Property Rights of <img src='figure/oda-army2.jpg' width='24'> <a href="http://www.scibrokes.com">Scibrokes®</a>個人の経営企業</strong></p>
</div>
<div class="footnotes">
<hr />
<ol start="1">
<li id="fn1"><p><a href="https://github.com/scibrokes/setup-rstudio-server">安装 ®StudioとShiny服务器</a><a href="preface.html#fnref1">↩</a></p></li>
<li id="fn2"><p>个人简历请查阅:<a href="https://beta.rstudioconnect.com/content/3091/ryo-eng.html">®γσ, ENG LIAN HU</a><a href="preface.html#fnref2">↩</a></p></li>
<li id="fn3"><p>更多该作者详情,请参阅<a href="https://www.quantstart.com/successful-algorithmic-trading-ebook">Struggling To Make Profitable Algo Trading Strategies?</a><a href="preface.html#fnref3">↩</a></p></li>
</ol>
</div>
</section>
</div>
</div>
</div>
<a href="intro.html" class="navigation navigation-next navigation-unique" aria-label="Next page"><i class="fa fa-angle-right"></i></a>
</div>
</div>
<script src="book_assets/gitbook-2.6.7/js/app.min.js"></script>
<script src="book_assets/gitbook-2.6.7/js/lunr.js"></script>
<script src="book_assets/gitbook-2.6.7/js/plugin-search.js"></script>
<script src="book_assets/gitbook-2.6.7/js/plugin-sharing.js"></script>
<script src="book_assets/gitbook-2.6.7/js/plugin-fontsettings.js"></script>
<script src="book_assets/gitbook-2.6.7/js/plugin-bookdown.js"></script>
<script src="book_assets/gitbook-2.6.7/js/jquery.highlight.js"></script>
<script>
gitbook.require(["gitbook"], function(gitbook) {
gitbook.start({
"sharing": {
"github": false,
"facebook": true,
"twitter": true,
"google": false,
"linkedin": false,
"weibo": false,
"instapper": false,
"vk": false,
"all": ["facebook", "google", "twitter", "weibo", "instapaper"]
},
"fontsettings": {
"theme": "white",
"family": "sans",
"size": 2
},
"edit": null,
"download": null,
"toc": {
"collapse": "subsection",
"scroll_highlight": true
},
"toolbar": {
"position": "fixed"
},
"search": false
});
});
</script>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
var src = "";
if (src === "" || src === "true") src = "https://cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML";
if (location.protocol !== "file:" && /^https?:/.test(src))
src = src.replace(/^https?:/, '');
script.src = src;
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>
</html>