Convolutional Neural Network for Stock Price Prediction Using Transfer Learning

8 Pages Posted: 31 Dec 2020

See all articles by Yohei Komori

Yohei Komori

WorldQuant LLC - WorldQuant University; Mizuho Securities Co. Ltd

Date Written: December 29, 2020

Abstract

The goal of this paper is to build a trading algorithm by applying image recognition neural network - Convolutional Neural Network(CNN) - to the 2D technical candle stick charts. First, this paper shows a research survey of the previous paper. Second, this paper explains the basic theory of CNN model and how it can works on chart images. Next, this project performs an experimental study of CNN on S&P 500 index from January 1, 1985 to June 30, 2020. The CNN model structure used in this paper is transferred from inception v3 with three additional layers, and the technical indicators used in the input chart image are simple moving average (25 days). The label data used in the model are categorical - either up, flat, or down. The model has 50% accuracy on the test set when conducting three-days ahead forecast, which is higher than the simple momentum strategy and contrarian strategy, indicating its high alpha generating potential. One-day ahead forecast and five-days ahead forecast have lower accuracy than the three-days forecast. This means you might have the best performance when you close your position at T + 3.

Keywords: trading algorithm, convolutional neural network, candle sticks, transfer learning

JEL Classification: C45

Suggested Citation

Komori, Yohei, Convolutional Neural Network for Stock Price Prediction Using Transfer Learning (December 29, 2020). Available at SSRN: https://ssrn.com/abstract=3756702 or http://dx.doi.org/10.2139/ssrn.3756702

Yohei Komori (Contact Author)

WorldQuant LLC - WorldQuant University ( email )

Place St Charles
201 St Charles Ave #2500
New Orleans, LA 70170
United States

Mizuho Securities Co. Ltd ( email )

Tokyo
1 Chome-5-1 Ōtemachi
Chiyoda-ku, 100-0004
Japan

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
1,594
Abstract Views
4,131
Rank
25,148
PlumX Metrics