All Projects → englianhu → binary.com-interview-question

englianhu / binary.com-interview-question

Licence: GPL-3.0 license
The sample question for Interview a job in Binary options

Programming Languages

HTML
75241 projects
r
7636 projects
Visual Basic .NET
514 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
TeX
3793 projects

Projects that are alternatives of or similar to binary.com-interview-question

models-by-example
By-hand code for models and algorithms. An update to the 'Miscellaneous-R-Code' repo.
Stars: ✭ 43 (-17.31%)
Mutual labels:  bayesian, ridge-regression
BayesianTutorials
Implementing MCMC sampling from scratch in R for various Bayesian models
Stars: ✭ 75 (+44.23%)
Mutual labels:  bayesian, mcmc
cmdstanr
CmdStanR: the R interface to CmdStan
Stars: ✭ 82 (+57.69%)
Mutual labels:  bayesian, mcmc
DynamicHMCExamples.jl
Examples for Bayesian inference using DynamicHMC.jl and related packages.
Stars: ✭ 33 (-36.54%)
Mutual labels:  bayesian, mcmc
Bda py demos
Bayesian Data Analysis demos for Python
Stars: ✭ 781 (+1401.92%)
Mutual labels:  bayesian, mcmc
BAS
BAS R package https://merliseclyde.github.io/BAS/
Stars: ✭ 36 (-30.77%)
Mutual labels:  bayesian, mcmc
Probabilistic Models
Collection of probabilistic models and inference algorithms
Stars: ✭ 217 (+317.31%)
Mutual labels:  bayesian, mcmc
go-topics
Latent Dirichlet Allocation
Stars: ✭ 23 (-55.77%)
Mutual labels:  bayesian, mcmc
Bda r demos
Bayesian Data Analysis demos for R
Stars: ✭ 409 (+686.54%)
Mutual labels:  bayesian, mcmc
Bayadera
High-performance Bayesian Data Analysis on the GPU in Clojure
Stars: ✭ 342 (+557.69%)
Mutual labels:  bayesian, mcmc
LogDensityProblems.jl
A common framework for implementing and using log densities for inference.
Stars: ✭ 26 (-50%)
Mutual labels:  bayesian, mcmc
Gpstuff
GPstuff - Gaussian process models for Bayesian analysis
Stars: ✭ 106 (+103.85%)
Mutual labels:  bayesian, mcmc
MultiBUGS
Multi-core BUGS for fast Bayesian inference of large hierarchical models
Stars: ✭ 28 (-46.15%)
Mutual labels:  bayesian, mcmc
betting-strategy-and-model-validation
No description or website provided.
Stars: ✭ 18 (-65.38%)
Mutual labels:  betting, investment
walker
Bayesian Generalized Linear Models with Time-Varying Coefficients
Stars: ✭ 38 (-26.92%)
Mutual labels:  bayesian, mcmc
BayesHMM
Full Bayesian Inference for Hidden Markov Models
Stars: ✭ 35 (-32.69%)
Mutual labels:  bayesian, mcmc
ADMM
Implemented ADMM for solving convex optimization problems such as Lasso, Ridge regression
Stars: ✭ 66 (+26.92%)
Mutual labels:  ridge-regression, lasso-regression
Machine Learning For Trading
Code for Machine Learning for Algorithmic Trading, 2nd edition.
Stars: ✭ 4,979 (+9475%)
Mutual labels:  investment, investment-strategies
Bayesplot
bayesplot R package for plotting Bayesian models
Stars: ✭ 276 (+430.77%)
Mutual labels:  bayesian, mcmc
Posterior
The posterior R package
Stars: ✭ 75 (+44.23%)
Mutual labels:  bayesian, mcmc


二元期权(binary.com)量化分析员/量化交易员面试题

大秦赋 (Chinese Emperor)
春秋战国《礼记•经解
孔子曰:『君子慎始,差若毫厘,缪以千里。』

《礼记·经解》孔子曰:<span style='color:#A9A9A9'; background-color:#696969;'>「君子慎始。差若毫厘,谬以千里。」1

引用:「快懂百科」《礼记•经解》第一范文网:差之毫厘,谬以千里的故事「百度百科」春秋时期孔子作品《礼记•经解》「當代中國」差之毫釐 謬以千里

0) 面试题

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 as my studies. Hope that I can be shortlisted to be a member of Binary.com.

1) 第一题

1.1) 解答

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 :

  • Auto Arima models
  • Exponential Time Series
  • Univariate Garch models
  • Exponential Weighted Moving Average
  • Monte Carlo Markov Chain
  • Bayesian Time Series
  • Midas

Kindly refer to Binary.com Interview Q1 (Old link or Alternate link or Alternate link 2 (Added MSE comparison)) for more information.

Well, dataset for below papers daily OHLCV of 7 currencies from 2013-01-01 to 2017-08-31:

  • AUDUSD
  • EURUSD
  • GBPUSD
  • USDCAD
  • USDCHF
  • USDCNY
  • USDJPY
  1. Here I wrote another extention page for Q1 which is analyse the multiple currencies and also models from minutes to daily. You are feel free to browse over Binary.com Interview Q1 (Extention) or (Alternate link).

  2. Here I also find the optimal arma order for GARCH models as you can refer to GARCH模型中的ARIMA(p,d,q)参数最优化. binary.com 面试试题 I - GARCH模型中的ARCH in Mean compares the ARCHM with previous Non-ARCHM models.

  3. You can also refer to binary.com Interview Question I - Comparison of Univariate GARCH Models which compares the prediction accuracy of 14 GARCH models (not completed) and 9 models (mostly completed from 2013-01-01 to 2017-08-30).

  • sGARCH
  • fGARCH.GARCH
  • fGARCH.TGARCH
  • fGARCH.NGARCH
  • fGARCH.NAGARCH
  • fGARCH.GJRGARCH
  • gjrGARCH
  • iGARCH
  • csGARCH

Besides, I wrote a shinyApp which display the real-time price through API. Kindly refer to Q1App where Q1App2 is another app for financial value betting.

binary.com Interview Question I - Multivariate GARCH Models introduce few multi-variate GARCH models.

  • symmetric DCC
  • asymmetric DCC
  • Flexible DCC
  • GO-GARCH
  • Copula-GARCH

In order to started the high-frequency-trading statistical modelling, I inspect the dataset via binary.com面试试题 I - 单变量数据缺失值管理 and also binary.com 面试试题 I - 多变量数据缺失值管理 II 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 compares ts, msts, SARIMA, mcsGARCH, midasr, midas-garch, Levy process models.

1.2) 幕后花絮

Initially, I wrote a shiny app (as showing in below gif file) but it is heavily budden for loading. Kindly browse over ShinyApp (Kindly refer to binary.com Interview Question I - Lasso, Elastic-Net and Ridge Regression 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 :

  • Kelly criterion and using highest or lowest price for closing transaction, otherwise using closing price if the forecasted lowest/highest price is not occur.
  • Placed $100 an each of the forecasted variance value and do the settlement based on the real variance value.

Secondly, I wrote another app testRealTimeTransc trial version to test the real time trading, and a completed version is Q1App2.

Due to the paper Binary.com Interview Q1 - Tick-Data-HiLo For Daily Trading (Blooper) 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.

1.3) 闪霓应用

  • shinyApp : shiny::runGitHub('englianhu/binary.com-interview-question') - Application which compare the accuracy of multiple lasso, ridge and elastic net models (blooper).
  • 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.
  • 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.
  • Q1App2 : shiny::runGitHub('englianhu/binary.com-interview-question', subdir = 'Q1App2') - The application contain the Banker and Punter section which applied aboved statistical modelling.

2) 第二题

2.1) 解答

For question 2, I simply write an app, kindly use Q2App. 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.

2.2) 闪霓应用

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

3) 第三题

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 for more informtion.

4) 参考资源

4.1)第一题

  1. Stock Market Forecasting Using LASSO Linear Regression Model by Sanjiban Sekhar Roy, Dishant Mital, Avik Basu, Ajith Abraham (2015)❤‍🔥
  2. Using LASSO from lars (or glmnet) package in R for variable selection by Juancentro (2014)
  3. Difference between glmnet() and cv.glmnet() in R? by Amrita Sawant (2015)
  4. Testing Kelly Criterion and Optimal f in R by Roy Wei (2012) ❤‍🔥
  5. Portfolio Optimization and Monte Carlo Simulation by Magnus Erik Hvass Pedersen (2014) ❤‍🔥
  6. Glmnet Vignette by Trevor Hastie and Junyang Qian (2014)
  7. lasso怎么用算法实现? by shuaihuang (2010)
  8. The Sparse Matrix and {glmnet} by Manuel Amunategui (2014)
  9. Regularization and Variable Selection via the Elastic Net by Hui Zou and Trevor Hastie
  10. LASSO, Ridge, and Elastic Net ❤‍🔥
  11. 热门数据挖掘模型应用入门(一): LASSO回归 by 侯澄钧 (2016)
  12. The Lasso Page
  13. Call_Valuation.R by Mariano (2016)
  14. Lecture 6 – Stochastic Processes and Monte Carlo (http://zorro-trader.com/manual) ❤‍🔥 ❤‍🔥
  15. The caret Package by Max Kuhn (2017) ❤‍🔥
  16. Time Series Cross Validation ❤‍🔥
  17. Character-Code.com
  18. Size Matters – Kelly Optimization by Roy Wei (2012) ❤‍🔥
  19. Time Series Cross Validation by William Chiu (2015) ❤‍🔥
  20. Forecasting Volatility by Stephen Figlewski (2004)
  21. Successful Algorithmic Trading by Michael Halls Moore (2015) ❤‍🔥 ❤‍🔥
  22. Financial Risk Modelling and Portfolio Optimization with R (2nd Edt) by Bernhard Praff (2016) ❤‍🔥
  23. Analyzing Financial Data and Implementing Financial Models using R by Clifford S.Ang (2015) ❤‍🔥

4.2) 第二题

  1. Queueing model 534 in Excel ❤‍🔥
  2. Queueing model macro in Excel ❤‍🔥
  3. Queueing up in R, (continued)
  4. Waiting in line, waiting on R
  5. Simulating a Queue in R
  6. What is the queue data structure in R?
  7. Implementing a Queue as a Reference Class
  8. queue implementation?
  9. Queueing Theory Calculator ❤‍🔥
  10. The Pith of Performance by Neil Gunther (2010)
  11. Computationally Efficient Simulation of Queues - The R Package queuecomputer
  12. Waiting-Line Models
  13. Queues with Breakdowns and Customer Discouragement

4.3) 第三题

  1. Data APIs/feeds available as packages in R
  2. Application of Kelly Criterion model in Sportsbook Investment

量化交易

1.1) 简介

I moved the data to https://github.com/englianhu/binary.com-interview-question-data.

Below are some seasonal time series models:

1.2) 幕后花絮

Deriv.com - Interday High Frequency Trading Models Comparison Blooper built seasonal models.


Sςιβrοκεrs Trαdιηg®
世博量化®企业知识产权及版权所有,盗版必究。

Footnotes

  1. HTML Color Codes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].