Forecasting of the Stock Price Using Recurrent Neural Network - Long Short-term Memory

被引:0
|
作者
Dobrovolny, Michal [1 ]
Soukal, Ivan [1 ]
Salamat, Ali [2 ]
Cierniak-Emerych, Anna [3 ]
Krejcar, Ondrej [1 ]
机构
[1] Univ Hradec Kralove, Hradec Kralove, Czech Republic
[2] Univ Teknol Malaysia, Kuala Lumpur, Malaysia
[3] Univ Econ Wroclaw, Wroclaw, Poland
来源
关键词
neural networks; stock price; forecasting; long short-term memory;
D O I
10.36689/uhk/hed/2021-01-014
中图分类号
F [经济];
学科分类号
02 ;
摘要
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.
引用
收藏
页码:145 / 154
页数:10
相关论文
共 50 条
  • [21] A hybrid model based on bidirectional long short-term memory neural network and Catboost for short-term electricity spot price forecasting
    Zhang, Fan
    Fleyeh, Hasan
    Bales, Chris
    [J]. JOURNAL OF THE OPERATIONAL RESEARCH SOCIETY, 2022, 73 (02) : 301 - 325
  • [22] Stock market forecasting using deep learning with long short-term memory and gated recurrent unit
    Sivadasan, E. T.
    Sundaram, N. Mohana
    Santhosh, R.
    [J]. SOFT COMPUTING, 2024, 28 (04) : 3267 - 3282
  • [23] Stock market forecasting using deep learning with long short-term memory and gated recurrent unit
    E. T. Sivadasan
    N. Mohana Sundaram
    R. Santhosh
    [J]. Soft Computing, 2024, 28 : 3267 - 3282
  • [24] Trading Saudi Stock Market Shares using Multivariate Recurrent Neural Network with a Long Short-term Memory Layer
    Alturki, Fahd A.
    Aldughaiyem, Abdullah M.
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (09) : 522 - 528
  • [25] Research on A Forecasting Model of Wind Power based on Recurrent Neural Network with Long Short-term Memory
    Li, Anying
    Cheng, Lei
    [J]. 2019 22ND INTERNATIONAL CONFERENCE ON ELECTRICAL MACHINES AND SYSTEMS (ICEMS 2019), 2019, : 1776 - 1779
  • [26] Chemical Substance Classification Using Long Short-Term Memory Recurrent Neural Network
    Zhang, Jinlei
    Liu, Junxiu
    Luo, Yuling
    Fu, Qiang
    Bi, Jinjie
    Qiu, Senhui
    Cao, Yi
    Ding, Xuemei
    [J]. 2017 17TH IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGY (ICCT 2017), 2017, : 1994 - 1997
  • [27] Short-term load forecasting using BiLinear recurrent neural network
    Shin, Sung Hwan
    Park, Dong-Chul
    [J]. Advances in Neural Networks - ISNN 2007, Pt 3, Proceedings, 2007, 4493 : 111 - 116
  • [28] Short-term energy load forecasting using recurrent neural network
    Rashid, T
    Kechadi, T
    Huang, BQ
    [J]. Proceedings of the Eighth IASTED International Conference on Artificial Intelligence and Soft Computing, 2004, : 276 - 281
  • [29] Very Short Term Wind Speed Forecasting Using Convolutional Long Short Term Memory Recurrent Neural Network
    Nahid, Firuz Ahamed
    Ongsakul, Weerakorn
    Manjiparambil, Nimal Madhu
    [J]. 2020 INTERNATIONAL CONFERENCE AND UTILITY EXHIBITION ON ENERGY, ENVIRONMENT AND CLIMATE CHANGE (ICUE 2020), 2020,
  • [30] Forecasting nonadiabatic dynamics using hybrid convolutional neural network/long short-term memory network
    Wu, Daxin
    Hu, Zhubin
    Li, Jiebo
    Sun, Xiang
    [J]. JOURNAL OF CHEMICAL PHYSICS, 2021, 155 (22):