Stock Picking with Machine Learning
39 Pages Posted: 23 Jun 2020
Date Written: April 22, 2020
We combine insights from machine learning and finance research to build machine learning algorithms for stock selection. Our study builds on weekly data for the historical constituents of the S&P 500 over the period from 1999 to 2019 and includes typical equity factors as well as additional fundamental data, technical indicators, and historical returns. Deep Neural Networks (DNN), Long Short-Term Neural Networks (LSTM), Random Forest, Boosting, and Regularized Logistic Regression models are trained on stock characteristics to predict whether a specific stock outperforms the market over the subsequent week. We analyze a trading strategy that picks stocks with the highest probability predictions to outperform the market. Our empirical results show a substantial and significant outperformance of machine learning based stock selection models compared to a simple equally weighted benchmark. Moreover, we find non-linear machine learning models such as neural networks and tree-based models to outperform more simple regularized logistic regression approaches. The results are robust when applied to the STOXX Europe 600 as alternative asset universe. However, all analyzed machine learning strategies demonstrate a substantial portfolio turnover and transaction costs have to be marginal to capitalize on the strategies.
Keywords: Investment Decisions, Equity Portfolio Management, Stock Selection, Stock Picking, Machine Learning, Neural Networks, Deep Learning, Long Short-Term Neural Networks (LSTM), Random Forest, Boosting
JEL Classification: G11, G17, C58, C63
Suggested Citation: Suggested Citation