Stock-Price Forecasting Based on XGBoost and LSTM

被引:22
|
作者
Pham Hoang Vuong [1 ]
Trinh Tan Dat [1 ]
Tieu Khoi Mai [1 ]
Pham Hoang Uyen [2 ]
Pham The Bao [1 ]
机构
[1] Sai Gon Univ, Informat Sci Fac, Ho Chi Minh City 700000, Vietnam
[2] Univ Econ & Law, Ho Chi Minh City 700000, Vietnam
来源
关键词
stock-price forecasting; ARIMA; XGBoost; LSTM; deep learning; NETWORKS;
D O I
10.32604/csse.2022.017685
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Using time-series data analysis for stock-price forecasting (SPF) is complex and challenging because many factors can influence stock prices (e.g., inflation, seasonality, economic policy, societal behaviors). Such factors can be analyzed over time for SPF. Machine learning and deep learning have been shown to obtain better forecasts of stock prices than traditional approaches. This study, therefore, proposed a method to enhance the performance of an SPF system based on advanced machine learning and deep learning approaches. First, we applied extreme gradient boosting as a feature-selection technique to extract important features from high-dimensional time-series data and remove redundant features. Then, we fed selected features into a deep long short-term memory (LSTM) network to forecast stock prices. The deep LSTM network was used to reflect the temporal nature of the input time series and fully exploit future contextual information. The complex structure enables this network to capture more stochasticity within the stock price. The method does not change when applied to stock data or Forex data. Experimental results based on a Forex dataset covering 2008-2018 showed that our approach outperformed the baseline autoregressive integrated moving average approach with regard to mean absolute error, mean squared error, and root-mean-square error.
引用
收藏
页码:237 / 246
页数:10
相关论文
共 50 条
  • [1] Forecast of LSTM-XGBoost in Stock Price Based on Bayesian Optimization
    Liwei, Tian
    Li, Feng
    Yu, Sun
    Yuankai, Guo
    [J]. INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2021, 29 (03): : 855 - 868
  • [2] LSTM model optimization on stock price forecasting
    Wang, Yifeng
    Liu, Yuying
    Wang, Meiqing
    Liu, Rong
    [J]. 2018 17TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND APPLICATIONS FOR BUSINESS ENGINEERING AND SCIENCE (DCABES), 2018, : 173 - 177
  • [3] STOCK-PRICE MANIPULATION
    ALLEN, F
    GALE, D
    [J]. REVIEW OF FINANCIAL STUDIES, 1992, 5 (03): : 503 - 529
  • [4] Bank stock price forecasting based on EEMD-LSTM model
    Gan, Guangyan
    Li, Haoxuan
    Zheng, Chunyuan
    [J]. BASIC & CLINICAL PHARMACOLOGY & TOXICOLOGY, 2021, 128 : 202 - 202
  • [5] ON THE VARIANCE OF STOCK-PRICE DISTRIBUTIONS
    BRAGLIA, M
    [J]. ECONOMICS LETTERS, 1990, 33 (02) : 171 - 173
  • [6] A THEORY OF STOCK-PRICE BEHAVIOR
    CLARKSON, GPE
    [J]. IMR-INDUSTRIAL MANAGEMENT REVIEW, 1965, 6 (02): : 93 - 103
  • [7] STOCK-PRICE CLUSTERING AND DISCRETENESS
    HARRIS, L
    [J]. REVIEW OF FINANCIAL STUDIES, 1991, 4 (03): : 389 - 415
  • [8] STOCK SPLITS AND IMPLIED STOCK-PRICE VOLATILITY
    FRENCH, DW
    DUBOFSKY, DA
    [J]. JOURNAL OF PORTFOLIO MANAGEMENT, 1986, 12 (04): : 55 - 59
  • [9] An XGBoost-based multivariate deep learning framework for stock index futures price forecasting
    Wang, Jujie
    Cheng, Qian
    Dong, Ying
    [J]. KYBERNETES, 2023, 52 (10) : 4158 - 4177
  • [10] Algorithm Optimizer in GA-LSTM for Stock Price Forecasting
    Sukestiyarno, Y. L.
    Wiyanti, Dian Tri
    Azizah, Lathifatul
    Widada, Wahyu
    Nugroho, Khathibul Umam Zaid
    [J]. CONTEMPORARY MATHEMATICS, 2024, 5 (02): : 2185 - 2197