The sample question for Interview a job in Binary options.
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 ChainBayesian Time SeriesMidas
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.
Kindly refer to Binary.com Interview Q1 (Alternate link)
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.
Blooper...
Initially, I wrote a shiny app (as showing in below gif file) but it is heavily budden for loading. Kindly browse over Q1 ShinyApp.
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 Q1E.
For question 2, I simply write an app, kindly use Q2App.
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.
- Stock Market Forecasting Using LASSO Linear Regression Model by Sanjiban Sekhar Roy, Dishant Mital, Avik Basu, Ajith Abraham (2015)
- Using LASSO from lars (or glmnet) package in R for variable selection by Juancentro (2014)
- Difference between glmnet() and cv.glmnet() in R? by Amrita Sawant (2015)
- Testing Kelly Criterion and Optimal f in R by Roy Wei (2012)
- Portfolio Optimization and Monte Carlo Simulation by Magnus Erik Hvass Pedersen (2014)
- Glmnet Vignette by Trevor Hastie and Junyang Qian (2014)
- lasso怎么用算法实现? by shuaihuang (2010)
- The Sparse Matrix and {glmnet} by Manuel Amunategui (2014)
- Regularization and Variable Selection via the Elastic Net by Hui Zou and Trevor Hastie
- LASSO, Ridge, and Elastic Net
- 热门数据挖掘模型应用入门(一): LASSO回归 by 侯澄钧 (2016)
- The Lasso Page
- Call_Valuation.R by Mariano (2016)
- Lecture 6 – Stochastic Processes and Monte Carlo (http://zorro-trader.com/manual)
- The
caret
Package by Max Kuhn (2017) - Time Series Cross Validation
- Character-Code.com
- Size Matters – Kelly Optimization by Roy Wei (2012)
- Time Series Cross Validation by William Chiu (2015)
- Forecasting Volatility by Stephen Figlewski (2004)
- Successful Algorithmic Trading by Michael Halls Moore (2015)
- Financial Risk Modelling and Portfolio Optimization with R (2nd Edt) by Bernhard Praff (2016)
- Analyzing Financial Data and Implementing Financial Models using R by Clifford S.Ang (2015)
- Queueing model 534 in Excel
- Queueing model macro in Excel
- Queueing up in R, (continued)
- Waiting in line, waiting on R
- Simulating a Queue in R
- What is the queue data structure in R?
- Implementing a Queue as a Reference Class
- queue implementation?
- Queueing Theory Calculator
- The Pith of Performance by Neil Gunther (2010)
- Computationally Efficient Simulation of Queues - The R Package queuecomputer
- Waiting-Line Models
- Queues with Breakdowns and Customer Discouragement