Forecasting of the stock price using recurrent neural network – long short-term memory

We employ a recurrent neural network with Long short-term memory for the task of stock price forecasting. We chose three stocks from the same sub-industry: Visa, Mastercard, and PayPal. This paper aims to test the LSTM network's prediction on stock prices and propose the best settings for selec...

Full description

Saved in:
Bibliographic Details
Main Authors: Dobrovolny, Michal, Soukal, Ivan, Salamat, Ali, Cierniak-Emerych, Anna, Krejcar, Ondrej
Format: Conference or Workshop Item
Published: 2021
Subjects:
Online Access:http://eprints.utm.my/id/eprint/95913/
http://dx.doi.org/10.36689/uhk/hed/2021-01-014
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.utm.95913
record_format eprints
spelling my.utm.959132022-06-29T07:45:40Z http://eprints.utm.my/id/eprint/95913/ Forecasting of the stock price using recurrent neural network – long short-term memory Dobrovolny, Michal Soukal, Ivan Salamat, Ali Cierniak-Emerych, Anna Krejcar, Ondrej QA Mathematics TA Engineering (General). Civil engineering (General) We employ a recurrent neural network with Long short-term memory for the task of stock price forecasting. We chose three stocks from the same sub-industry: Visa, Mastercard, and PayPal. This paper aims to test the LSTM network's prediction on stock prices and propose the best settings for selected stock price forecasting. The secondary goal is to assess how the settings differed in the case of two highly correlated stocks (Visa-Mastercard year correlation coefficient average: 0.97) and the case of only weak correlated stock (Visa-PayPal correlation coefficient average: 0.39). We tested 117 different settings of LSTM neural networks. The settings differed by the number of epochs/splits (from ten to fifty-eight by the step of four) and the range (minute, hour, and day). Our dataset was the stock price from 1.6.2020 to 15.1.2021. The best performing network has been trained on a 10-day period for Visa and 10-minute for Mastercard and PYPL. However, the differences were negligible, so we did not find the number of epochs as a key setting, unlike in the case of FOREX. 2021 Conference or Workshop Item PeerReviewed Dobrovolny, Michal and Soukal, Ivan and Salamat, Ali and Cierniak-Emerych, Anna and Krejcar, Ondrej (2021) Forecasting of the stock price using recurrent neural network – long short-term memory. In: 19th International Scientific Conference on Hradec Economic Days, 25 March 2021 - 26 March 2021, Hradec Kralove, Czech Republic. http://dx.doi.org/10.36689/uhk/hed/2021-01-014
institution Universiti Teknologi Malaysia
building UTM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Malaysia
content_source UTM Institutional Repository
url_provider http://eprints.utm.my/
topic QA Mathematics
TA Engineering (General). Civil engineering (General)
spellingShingle QA Mathematics
TA Engineering (General). Civil engineering (General)
Dobrovolny, Michal
Soukal, Ivan
Salamat, Ali
Cierniak-Emerych, Anna
Krejcar, Ondrej
Forecasting of the stock price using recurrent neural network – long short-term memory
description We employ a recurrent neural network with Long short-term memory for the task of stock price forecasting. We chose three stocks from the same sub-industry: Visa, Mastercard, and PayPal. This paper aims to test the LSTM network's prediction on stock prices and propose the best settings for selected stock price forecasting. The secondary goal is to assess how the settings differed in the case of two highly correlated stocks (Visa-Mastercard year correlation coefficient average: 0.97) and the case of only weak correlated stock (Visa-PayPal correlation coefficient average: 0.39). We tested 117 different settings of LSTM neural networks. The settings differed by the number of epochs/splits (from ten to fifty-eight by the step of four) and the range (minute, hour, and day). Our dataset was the stock price from 1.6.2020 to 15.1.2021. The best performing network has been trained on a 10-day period for Visa and 10-minute for Mastercard and PYPL. However, the differences were negligible, so we did not find the number of epochs as a key setting, unlike in the case of FOREX.
format Conference or Workshop Item
author Dobrovolny, Michal
Soukal, Ivan
Salamat, Ali
Cierniak-Emerych, Anna
Krejcar, Ondrej
author_facet Dobrovolny, Michal
Soukal, Ivan
Salamat, Ali
Cierniak-Emerych, Anna
Krejcar, Ondrej
author_sort Dobrovolny, Michal
title Forecasting of the stock price using recurrent neural network – long short-term memory
title_short Forecasting of the stock price using recurrent neural network – long short-term memory
title_full Forecasting of the stock price using recurrent neural network – long short-term memory
title_fullStr Forecasting of the stock price using recurrent neural network – long short-term memory
title_full_unstemmed Forecasting of the stock price using recurrent neural network – long short-term memory
title_sort forecasting of the stock price using recurrent neural network – long short-term memory
publishDate 2021
url http://eprints.utm.my/id/eprint/95913/
http://dx.doi.org/10.36689/uhk/hed/2021-01-014
_version_ 1738510298740948992
score 13.209306