Skip to content

Commit e60311f

Browse files
committed
《🚩🇨🇳🔆🏹🌟👊🚀🦔大秦赋 - 黄埔军校赢家黄氏永春堂 - 中科红旗,高频量化对冲》
#春秋战国 #诸子百家 #秦人牧马 #世袭制道教徒赢家黄氏江夏堂 #世袭制杏林林氏西河堂 #道家中科红旗高频量化对冲 #万般皆下品唯有读书高 #大秦赋 #ChineseEmpire #公元前B4Christ只有中文BC没有外文 #世袭制道教徒赢家黄氏江夏堂拯救亚洲人歼灭所有巫裔回教徒Anti_Islamic_Virus_and_NonHalal_Only_governance #中国政府南太平洋战略 #大葱回教堂商鞅变法Anti_Islamic_Virus #Only_NonHalal_can_Survive #古老的东方有一条河它的名字叫黄河 #古老的东方有一条江它的名字叫长江 #江夏堂 #西河堂 #黄河文明 #黄埔军校 #黄种人🎶 #农民🎶 印裔尽弃(祖籍印尼的巫裔回教徒和土著、祖籍印度乌裔回教徒和兴都教徒和土著,咱们华人都是世袭制道家姓氏堂号/生辰八字的黄河文明/赢家黄氏江夏堂黄埔军校/黄种人/华夏民族/十二生肖/秦人牧马/燕从京来),瓦釜雷鸣; 莫忘初衷,方得始终。 《🚩🇨🇳🔆🏹🌟👊🚀🦔大秦赋 - 黄埔军校赢家黄氏永春堂 - 中科红旗,高频量化对冲》 「大秦赋 - 借鉴黄河文明史」 秦国三杰,拯救亚洲; 歼灭印裔,取代美国。 秦灭六洲,一统天下; 莫忘初衷,方得始终。 🚩🇨🇳🏹🌟🦔量化对冲,中科红旗;一带一路,一统天下(兵马未动,粮草先行;人民币货币经济学,东亚中国司马错得蜀既得楚;歼灭东南亚所有回教徒和峇峇娘惹并攻占东南亚,尤其是四季仔的印尼回教徒外劳房客、阿塔的孟加拉回教徒外劳房客、瓜雪回教市政局柜台巫婆回教徒奴辱依杀、瓜雪回教土地局巫贼巫婆回教徒汪阿自杀和懦蛤仕蟆和法米仨、瓜雪回教警署巫贼巫婆回教徒、大港回教警署所有巫贼巫婆回教徒、瓜雪RHU(淮西派)花园加德士油站隔壁第三巷门牌卅二号边抽鼻涕边求命边膜拜边失心疯边自残自虐自杀的土司乩童刘瑾貹、瓜雪巴西不能帮门牌T十五号吱吱吾语的失心疯猥亵淫魔土司乩童张佳坤、瓜雪回教警署巫贼回教徒黑米哈山·殡·伊不拉心和马航日语组森美兰人黑米哈山。)、大港巴列特花园第十三巷门牌廿七廿九号土司乩童胖妈和卅一号李东海和李东梅和所有回教徒(尤其是回教徒公仆)和峇峇娘惹党羽、所有印裔(祖籍印尼包括土著和回教徒、祖籍印度的兴都教徒和回教徒包括土著)。 🚩🇨🇳🏹🌟🦔诸子百家:印裔回教徒尽弃,瓦釜雷鸣。儒学、墨学、法学、道学、兵法、阴阳学、佛学、哲学、运筹学、思想录、干支算筹、中华习俗文化宗教语言复兴、学术数学科学科技大秦赋 🚩🇨🇳🏹🌟🦔《大秦赋 - 🇨🇳关雎》 🚩🇨🇳🏹🌟🦔春秋战国,诸子百家; 🚩🇨🇳🏹🌟🦔左氏春秋,鬼谷传奇。 🚩🇨🇳🏹🌟🦔商鞅变法,道法兵家; 🚩🇨🇳🏹🌟🦔四面楚歌,焚经坑番。 🚩🇨🇳🏹🌟🦔一带一路,横跨七洲; 🚩🇨🇳🏹🌟🦔史无前例,一统天下。 🚩🇨🇳🏹🌟🦔高频量化,对冲基金; 🚩🇨🇳🏹🌟🦔只争朝夕,不负韶华。 🚩🇨🇳🏹🌟🦔学海无涯,唯勤是岸; 🚩🇨🇳🏹🌟🦔莫忘初衷,方得始终。 https://gitee.com/eglianhu
1 parent 6f6c472 commit e60311f

2 files changed

Lines changed: 36 additions & 38 deletions

File tree

README.md

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -19,45 +19,43 @@
1919

2020
[^1]: [HTML Color Codes](https://html-color.codes)
2121

22-
## 0) 面试题
22+
## 面试题
2323

2424
<s>The sample question for Interview a job in Binary.com. Here I try to write a web application which is automatically gather data, calculate, forecast, place orders, settlement and also P&L report from tip-to-toe. Here I also conducting few research tasks to test the efficiency of some statistical models, and also refer to a [Master Degree level quantitave assignment](https://github.com/englianhu/Quant-Strategies-HFT) as my studies. Hope that I can be shortlisted to be a member of Binary.com.</s>
2525

26+
应征**次元期权(法人马企)**面试入门测验。借鉴西蒙·柯林斯的https://matchodds.org(或詹姆斯·西蒙斯的高频量化对冲基金---文艺复兴科技)愚生尝试编写个自动采撷数据、科研回测、筹算、算卜预测、自动下单、结算、显示盈亏、风险管理报告、评估再改良高频量化对冲投资战略的一条龙服务的智能网页应用。愚生于此尝试着手于科研多元化计数/机数建模,再评估有效性与可行性,并参阅[硕士程度量化作业(英)](https://github.com/englianhu/Quant-Strategies-HFT)。盼受禄于**次元期权(法人马企)**
2627

28+
## 第一题
2729

28-
应征**次元期权(法人马企)**面试入门测验。借鉴西蒙·柯林斯的https://matchodds.org(或詹姆斯·西蒙斯的高频量化对冲基金---文艺复兴科技)愚生尝试编写个自动采撷数据、科研回测、筹算、算卜预测、自动下单、结算、显示盈亏、风险管理报告、评估再改良高频量化对冲投资战略的一条龙服务的智能网页应用。愚生于此尝试着手于科研多元化计数/机数建模,再评估有效性与可行性,[硕士生量化功课(英)](https://github.com/englianhu/Quant-Strategies-HFT)
30+
### 第一题第一章)解答
2931

30-
## 1) 第一题
32+
愚生使用从阳历二零一四年一月一日至二零一七年一月廿日的每日**美日兑换**阴阳烛加交易量数据,再通过以下一些计数/机数建模来算卜预测最高价与最低价:
3133

32-
### 1.1) 解答
34+
- 自回归移动平均模型
35+
- 指数平滑模型
36+
- 单变量广义自回归条件异方差模型
37+
- 加权指数移动平均模型
38+
- <s>蒙迪卡洛马尔科夫链</s>
39+
- <s>贝叶斯时间序列</s>
40+
- <s>[混频抽样回归](https://zhuanlan.zhihu.com/p/343307253) / [MIDAS:混频数据回归](https://www.lianxh.cn/news/8ab193e6f04cc.html)</s>
3341

34-
I use daily OHLCV USDJPY data (from 2014-01-01 to 2017-01-20) and application of some models to forecast the highest and lowest price :
42+
请查阅[次元期权面试题一(英)](http://rpubs.com/englianhu/binary-Q1) ([旧链接](https://englianhu.github.io/2017/09/binary-forex-trading-Q1.html)[备用网址](http://rpubs.com/englianhu/binary-forex-trading-Q1)[备用网址二(添加均方误差,比较计数/机数模型的精准度)](http://rpubs.com/englianhu/binary-Q1-Added))。
3543

36-
- Auto Arima models
37-
- Exponential Time Series
38-
- Univariate Garch models
39-
- Exponential Weighted Moving Average
40-
- <s>Monte Carlo Markov Chain</s>
41-
- <s>Bayesian Time Series</s>
42-
- <s>Midas</s>
44+
以下文献所使用的阴阳烛加交易量数据有七种货币兑换,从阳历二零一三年一月一日至二零一七年八月卅一日:
4345

44-
Kindly refer to [Binary.com Interview Q1](http://rpubs.com/englianhu/binary-Q1) ([Old link](https://englianhu.github.io/2017/09/binary-forex-trading-Q1.html) or [Alternate link](http://rpubs.com/englianhu/binary-forex-trading-Q1) or [Alternate link 2 (Added MSE comparison)](http://rpubs.com/englianhu/binary-Q1-Added)) for more information.
46+
- 澳美兑换(AUDUSD)
47+
- 欧美兑换(EURUSD)
48+
- 英美兑换(GBPUSD)
49+
- 美加兑换(USDCAD)
50+
- 美瑞兑换(USDCHF)
51+
- 美中兑换(USDCNY)
52+
- 美日兑换(USDJPY)
4553

46-
Well, dataset for below papers daily OHLCV of 7 currencies from 2013-01-01 to 2017-08-31:
54+
一)[次元期权面试题一 - 延伸版(英)](http://rpubs.com/englianhu/binary-Q1E) or ([备用网址](http://rpubs.com/englianhu/316133))尝试使用多元计数/机数模型来评估与比较多元货币每日兑换率。
4755

48-
- AUDUSD
49-
- EURUSD
50-
- GBPUSD
51-
- USDCAD
52-
- USDCHF
53-
- USDCNY
54-
- USDJPY
56+
二)[广义自回归条件异方差模型中的`ARIMA(p,d,q)`参数最优化](http://rpubs.com/englianhu/binary-Q1FiGJRGARCH)筹算出规律`p,d,q`最优值,并将之应用于广义自回归条件异方差模型提升计数/机数模型的算卜/预测精准度。[次元期权面试试题一 - 广义自回归条件异方差模型中的`ARCH in Mean`](http://rpubs.com/englianhu/binary-Q1-archm)比较ARCHM和非ARCHM的原模型。
5557

56-
1) Here I wrote another extention page for Q1 which is analyse the multiple currencies and also models <s>from minutes to</s> daily. You are feel free to browse over [Binary.com Interview Q1 (Extention)](http://rpubs.com/englianhu/binary-Q1E) or ([Alternate link](http://rpubs.com/englianhu/316133)).
57-
58-
2) Here I also find the optimal arma order for GARCH models as you can refer to [GARCH模型中的`ARIMA(p,d,q)`参数最优化](http://rpubs.com/englianhu/binary-Q1FiGJRGARCH). [binary.com 面试试题 I - GARCH模型中的`ARCH in Mean`](http://rpubs.com/englianhu/binary-Q1-archm) compares the ARCHM with previous Non-ARCHM models.
59-
60-
3) You can also refer to [binary.com Interview Question I - Comparison of Univariate GARCH Models](http://rpubs.com/englianhu/binary-Q1Uni-GARCH) which compares the prediction accuracy of 14 GARCH models (not completed) and 9 models (mostly completed from 2013-01-01 to 2017-08-30).
58+
三)You can also refer to [次元期权面试题一 - 单变量广义自回归条件异方差模型(英)](http://rpubs.com/englianhu/binary-Q1Uni-GARCH)比较了十四个广义自回归条件异方差模型系列(有缺失值,不够工整数据)和过滤后的九个计数/机数模型如下(从阳历二零一三年一月一日至二零一七年八月卅一日,工整数据)的算卜/预测值的精准度。
6159

6260
- sGARCH
6361
- fGARCH.GARCH
@@ -69,19 +67,19 @@ Well, dataset for below papers daily OHLCV of 7 currencies from 2013-01-01 to 20
6967
- iGARCH
7068
- csGARCH
7169

72-
Besides, I wrote a shinyApp which display the real-time price through API. Kindly refer to [Q1App](https://beta.rstudioconnect.com/content/3073/) where [Q1App2](https://beta.rstudioconnect.com/content/3138/) is another app for financial value betting.
70+
[Q1App](https://beta.rstudioconnect.com/content/3073)是个通过应用程序编程接口采撷某网站实时汇价的闪霓应用,而[Q1App2](https://beta.rstudioconnect.com/content/3138)是个金融投注的闪霓应用。
7371

74-
[binary.com Interview Question I - Multivariate GARCH Models](http://rpubs.com/englianhu/binary-Q1Multi-GARCH) introduce few multi-variate GARCH models.
72+
[次元期权面试题一 - 多变量广义自回归条件异方差模型(英)](http://rpubs.com/englianhu/binary-Q1Multi-GARCH)介绍、评估并比较多变量广义自回归条件异方差模型系列如下:
7573

7674
- symmetric DCC
7775
- asymmetric DCC
7876
- Flexible DCC
7977
- <s>GO-GARCH</s>
8078
- <s>Copula-GARCH</s>
8179

82-
In order to started the high-frequency-trading statistical modelling, I inspect the dataset via [binary.com面试试题 I - 单变量数据缺失值管理](http://rpubs.com/englianhu/handle-missing-value) and also [binary.com 面试试题 I - 多变量数据缺失值管理 II](http://rpubs.com/englianhu/handle-multivariate-missing-value) but the univariate modelling caused some statistical error. The papers compares multi-methods like `interpolatan`, `kalman`, `locf` and `ma`. The [binary.com Interview Question I - Interday High Frequency Trading Models Comparison](http://rpubs.com/englianhu/binary-Q1Inter-HFT) compares ts, msts, SARIMA, mcsGARCH, <s>midasr, midas-garch, Levy process</s> models.
80+
为了着手于高频量化对冲数据计数/机数建模,尝试审查并整顿数据,文献[次元期权面试试题一 - 单变量数据缺失值管理](http://rpubs.com/englianhu/handle-missing-value)和文献[次元期权面试试题一 - 多变量数据缺失值管理(乙)](http://rpubs.com/englianhu/handle-multivariate-missing-value)但单变量建模出现一些错误(一些是人为的美国洋番黑客洲际入侵犯罪),文献中使用多种弥补数据缺失值的计数/机数筹算方法如`interpolatan``kalman``locf``ma`. The [次元期权面试题一 - 日间高频交易计数/机数建模比较(英)](http://rpubs.com/englianhu/binary-Q1Inter-HFT)比较了ts、mstsSARIMAmcsGARCH<s>midasrmidas-garchLevy process</s> 计数/机数模型。
8381

84-
### 1.2) <span style='color:red'>幕后花絮</span>
82+
### 第一题第二章)<span style='color:red'>幕后花絮</span>
8583

8684
Initially, I wrote a shiny app (as showing in below gif file) but it is heavily budden for loading. Kindly browse over [ShinyApp](https://beta.rstudioconnect.com/content/2367/) (Kindly refer to [binary.com Interview Question I - Lasso, Elastic-Net and Ridge Regression](http://rpubs.com/englianhu/binary-Q1L-EN-R) for more information) which contain the questions and answers of 3 questions. For the staking model, I simply forecast the highest and lowest price, and then :
8785

@@ -92,30 +90,30 @@ Initially, I wrote a shiny app (as showing in below gif file) but it is heavily
9290

9391
Secondly, I wrote another app [testRealTimeTransc](https://beta.rstudioconnect.com/content/3775/) trial version to test the real time trading, and a completed version is [Q1App2](https://beta.rstudioconnect.com/content/3138/).
9492

95-
Due to the paper [Binary.com Interview Q1 - Tick-Data-HiLo For Daily Trading <span style='color:red'>(Blooper)</span>](http://rpubs.com/englianhu/binary-Q1TD) simulated the data and then only noticed I not yet updated the new function, then I wrote **GARCH模型中的`ARIMA(p,d,q)`参数最优化** to compare the accuracy. However my later paper simulated dataset doesn't save the $fit$ in order to retrieve the $\sigma^2$ and VaR values for stop-loss pips when I got the idea. Here I put it as blooper and start **binary-Q1 Multivariate GARCH Models** and later on will write another **FOREX Day Trade Simulation** which will simulate all tick-data but not only HiLo data.
93+
Due to the paper [Binary.com Interview Q1 - Tick-Data-HiLo For Daily Trading <span style='color:red'>(Blooper)</span>](http://rpubs.com/englianhu/binary-Q1TD) simulated the data and then only noticed I not yet updated the new function, then I wrote **广义自回归条件异方差模型中的`ARIMA(p,d,q)`参数最优化** to compare the accuracy. However my later paper simulated dataset doesn't save the $fit$ in order to retrieve the $\sigma^2$ and VaR values for stop-loss pips when I got the idea. Here I put it as blooper and start **binary-Q1 Multivariate GARCH Models** and later on will write another **FOREX Day Trade Simulation** which will simulate all tick-data but not only HiLo data.
9694

97-
### 1.3) 闪霓应用
95+
### 第一题第三章)闪霓应用
9896

9997
- **shinyApp** : `shiny::runGitHub('englianhu/binary.com-interview-question')` - Application which compare the accuracy of multiple `lasso`, `ridge` and `elastic net` models (blooper).
10098
- **Q1App** : `shiny::runGitHub('englianhu/binary.com-interview-question', subdir = 'Q1')` - the application gather, calculate and forecast price. Once the user select currency and the forecast day, the system will auto calculate and plot the graph.
10199
- **testRealTimeTransc** : `shiny::runGitHub('englianhu/binary.com-interview-question', subdir = 'testRealTimeTransc')` - real time trading system which auto gather, calculate the forecast price, and also place orders, as well as settlement and plot P&L everyday.
102100
- **Q1App2** : `shiny::runGitHub('englianhu/binary.com-interview-question', subdir = 'Q1App2')` - The application contain the Banker and Punter section which applied aboved statistical modelling.
103101

104-
## 2) 第二题
102+
## 第二题
105103

106-
### 2.1) 解答
104+
### 第二题第一章)解答
107105

108106
For question 2, I simply write an app, kindly use [Q2App](https://beta.rstudioconnect.com/content/3089/). The bivariate or trivariate poisson model might useful for analyse the probability of fund-in and fund-out by investors in order to manage whole investment pool. Unfortunately there has no such dataset avaiable for fund pool management modelling.
109107

110-
### 2.2) 闪霓应用
108+
### 第二题第二章)闪霓应用
111109

112110
- **Q2** : `shiny::runGitHub('englianhu/binary.com-interview-question', subdir = 'Q2')` - An application which applied queuing theory.
113111

114-
## 3) 第三题
112+
## 第三题
115113

116114
For question 3, due to the question doesn't states we only bet on the matches which overcame a certain edge, therefore I just simply list the scenario. Kindly refer to [Betting strategy](http://rpubs.com/englianhu/317677) for more informtion.
117115

118-
## 4) 参考资源
116+
## 参考资源
119117

120118
### 4.1)第一题
121119

binary-Q1Inter-HFT-RV3E.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ data.frame(自回归综合滑均模型系列)
17081708

17091709
<iframe width="400" height="225" src="https://www.youtube.com/embed/6GglRaX7Ato" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
17101710

1711-
*从北京(三国时期称为「北平」,统计之都、经管之家)到成都(三国时期蜀国国都称为「蜀都」,而礼逆袭操作系统最高权限是sudo su建立蜀都;在天愿做比翼鸟,在地愿做连理枝。)*
1711+
*从北京(三国时期称为「北平」,统计之都、经管之家)到成都(三国时期蜀国国都称为「蜀都」,而礼逆袭操作系统最高权限是`sudo su`建立蜀都;在天愿做比翼鸟,在地愿做连理枝。)*
17121712

17131713
> 直到所有的灯都熄灭了也不停留... 🎶
17141714

0 commit comments

Comments
 (0)