An improved long short-term memory neural network for stock forecast

This paper presents an improved long short-term memory (LSTM) neural network based on particle swarm optimization (PSO), which is applied to predict the closing price of the stock. PSO is introduced to optimize the weights of the LSTM neural network, which reduces the prediction error. After preproc...

Full description

Bibliographic Details
Main Authors: Lv Liujia, Kong Weijian, Qi Jie, Zhang Jue
Format: Article
Language:English
Published: EDP Sciences 2018-01-01
Series:MATEC Web of Conferences
Online Access:https://doi.org/10.1051/matecconf/201823201024
id doaj-7da1c8a4988544f683d0e29f560f73f1
record_format Article
spelling doaj-7da1c8a4988544f683d0e29f560f73f12021-02-02T05:58:00ZengEDP SciencesMATEC Web of Conferences2261-236X2018-01-012320102410.1051/matecconf/201823201024matecconf_eitce2018_01024An improved long short-term memory neural network for stock forecastLv LiujiaKong WeijianQi JieZhang JueThis paper presents an improved long short-term memory (LSTM) neural network based on particle swarm optimization (PSO), which is applied to predict the closing price of the stock. PSO is introduced to optimize the weights of the LSTM neural network, which reduces the prediction error. After preprocessing the historical data of the stock, including opening price, closing price, highest price, lowest price, and daily volume these five attributes, we train the LSTM by employing time series of the historical data. Finally, we apply the proposed LSTM to predict the closing price of the stock in the last two years. Compared with typical algorithms by simulation, we find the LSTM has better performance in reliability and adaptability, and the improved PSO-LSTM algorithm has better accuracy.https://doi.org/10.1051/matecconf/201823201024
collection DOAJ
language English
format Article
sources DOAJ
author Lv Liujia
Kong Weijian
Qi Jie
Zhang Jue
spellingShingle Lv Liujia
Kong Weijian
Qi Jie
Zhang Jue
An improved long short-term memory neural network for stock forecast
MATEC Web of Conferences
author_facet Lv Liujia
Kong Weijian
Qi Jie
Zhang Jue
author_sort Lv Liujia
title An improved long short-term memory neural network for stock forecast
title_short An improved long short-term memory neural network for stock forecast
title_full An improved long short-term memory neural network for stock forecast
title_fullStr An improved long short-term memory neural network for stock forecast
title_full_unstemmed An improved long short-term memory neural network for stock forecast
title_sort improved long short-term memory neural network for stock forecast
publisher EDP Sciences
series MATEC Web of Conferences
issn 2261-236X
publishDate 2018-01-01
description This paper presents an improved long short-term memory (LSTM) neural network based on particle swarm optimization (PSO), which is applied to predict the closing price of the stock. PSO is introduced to optimize the weights of the LSTM neural network, which reduces the prediction error. After preprocessing the historical data of the stock, including opening price, closing price, highest price, lowest price, and daily volume these five attributes, we train the LSTM by employing time series of the historical data. Finally, we apply the proposed LSTM to predict the closing price of the stock in the last two years. Compared with typical algorithms by simulation, we find the LSTM has better performance in reliability and adaptability, and the improved PSO-LSTM algorithm has better accuracy.
url https://doi.org/10.1051/matecconf/201823201024
work_keys_str_mv AT lvliujia animprovedlongshorttermmemoryneuralnetworkforstockforecast
AT kongweijian animprovedlongshorttermmemoryneuralnetworkforstockforecast
AT qijie animprovedlongshorttermmemoryneuralnetworkforstockforecast
AT zhangjue animprovedlongshorttermmemoryneuralnetworkforstockforecast
AT lvliujia improvedlongshorttermmemoryneuralnetworkforstockforecast
AT kongweijian improvedlongshorttermmemoryneuralnetworkforstockforecast
AT qijie improvedlongshorttermmemoryneuralnetworkforstockforecast
AT zhangjue improvedlongshorttermmemoryneuralnetworkforstockforecast
_version_ 1724302349911982080