anthonyng2 / Machine Learning For Finance
Labels
Projects that are alternatives of or similar to Machine Learning For Finance
Machine Learning For Finance
1. Regression Based Machine Learning for Algorithmic Trading
Machine Learning for Finance, Algorithmic Trading and Investing Slides
These set of slides explained the current asset management environment and the advanced of technology on asset management. Categories of Machine and Deep Learning are explained. A brief introduction on linear regression and associated assumptions are covered. Stylized statistical properties of financial time series and asset returns are presented highlighting the challenges.
To ease learners to understand machine learning, linear regression has been used as the conduit. Firstly, the shortcoming of linear regression is highlighted. We then follow by the steps of model building and covering concepts such as hyperparameters, cross-validation, model validation, bias-variance tradeoff. The 6 stages of professional quant strategy is also covered to provide some perspective on where machine learning fits in.
1.1 Pairs Trading & Machine Learning
Linear Regression
A Walk Through on How to Design Your Own Pairs Trading Using Linear Model
Notebook - Introduction to Linear Regression and Machine Learning Model Building Process
Moving to Backtesting
Statsmodel - Linear Regression
Quantopian IDE codes for Pairs Trading using Linear Regression Model - statsmodel Pre 2008 and Quantopian IDE codes for Pairs Trading using Linear Regression Model - statsmodel Post 2008
This backtest utilise Python statsmodel to build the linear regression model. We then move on to illustrate how one can use the Python scikit-learn model to do likewise.
scikit-learn - Linear Regression
Quantopian IDE codes for Pairs Trading using Linear Regression Model - scikit-learn
scikit-learn - Lasso Regression
scikit-learn - Ridge Regression
scikit-learn - Bayesian Ridge Regression
scikit-learn - ElasticNet Regression
1.2 Pairs Trading and Kalman Filter
Pairs Trading Design with Kalman Filter
1.3 Trend Following & Machine Learning
Trend Following Strategies with Machine Learning
1.4 References:
UCL - Characterization of Financial Time Series
Empirical Properties of Asset Returns: Stylized Facts and Statistical Issues. Rama Cont
2. Classification Based Machine Learning for Algorithmic Trading
This portion is under active development at the moment. I have uploaded some of my codes and backtesting results. A common use of classification ML is to predict the next day's result. You can find some examples here. Some of the ML classification methods were capable of achieving prediction accuracy of pver 60%. Does that translate directly to returns and out-performance over simple buy-and-hold strategy? Check out the backtesting tearsheets for the answer.