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 条
  • [1] Stock Price Prediction With Long Short-Term Memory Recurrent Neural Network
    Jeenanunta, Chawalit
    Chaysiri, Rujira
    Thong, Laksmey
    [J]. 2018 INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS AND INTELLIGENT TECHNOLOGY & INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY FOR EMBEDDED SYSTEMS (ICESIT-ICICTES), 2018,
  • [2] Forecasting of FOREX Price Trend Using Recurrent Neural Network - Long Short-term Memory
    Dobrovolny, Michal
    Soukal, Ivan
    Lim, Kok Cheng
    Selamat, Ali
    Krejcar, Ondrej
    [J]. HRADEC ECONOMIC DAYS 2020, VOL 10, PT 1, 2020, 10 : 95 - 103
  • [3] Forecasting cryptocurrency prices using Recurrent Neural Network and Long Short-term Memory
    Nasirtafreshi, I.
    [J]. DATA & KNOWLEDGE ENGINEERING, 2022, 139
  • [4] Predict Stock Price Movement Using Long Short-Term Memory Recurrent Neural Network and Support Vector Machine
    Khoa, Bui Thanh
    Vinh, Dinh Phuoc
    Hiep, Tran Thanh
    Quang, Nguyen Dang
    Huynh, Tran Trong
    [J]. QUALITY-ACCESS TO SUCCESS, 2023, 24 (194): : 49 - 59
  • [5] Long Short-Term Memory Recurrent Neural Network for Tidal Level Forecasting
    Yang, Cheng-Hong
    Wu, Chih-Hsien
    Hsieh, Chih-Min
    [J]. IEEE ACCESS, 2020, 8 (08) : 159389 - 159401
  • [6] Short-Term Traffic Congestion Forecasting Using Attention-Based Long Short-Term Memory Recurrent Neural Network
    Zhang, Tianlin
    Liu, Ying
    Cui, Zhenyu
    Leng, Jiaxu
    Xie, Weihong
    Zhang, Liang
    [J]. COMPUTATIONAL SCIENCE - ICCS 2019, PT III, 2019, 11538 : 304 - 314
  • [7] Stock Price Prediction Using Time Convolution Long Short-Term Memory Network
    Zhan, Xukuan
    Li, Yuhua
    Li, Ruixuan
    Gu, Xiwu
    Habimana, Olivier
    Wang, Haozhao
    [J]. KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT (KSEM 2018), PT I, 2018, 11061 : 461 - 468
  • [8] Stock Price Forecasting with Optimized Long Short-Term Memory Network with Manta Ray Foraging Optimization
    Gao, Zhongpo
    Jing, Junwen
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (08) : 363 - 379
  • [9] Short-Term Load Forecasting using A Long Short-Term Memory Network
    Liu, Chang
    Jin, Zhijian
    Gu, Jie
    Qiu, Caiming
    [J]. 2017 IEEE PES INNOVATIVE SMART GRID TECHNOLOGIES CONFERENCE EUROPE (ISGT-EUROPE), 2017,
  • [10] Industrial Financial Forecasting using Long Short-Term Memory Recurrent Neural Networks
    Ali, Muhammad Mohsin
    Babar, Muhammad Imran
    Hamza, Muhammad
    Jehanzeb, Muhammad
    Habib, Saad
    Khan, Muhammad Sajid
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (04) : 88 - 99