Title: | Stock-price forecasting based on XGBoost and LSTM |
Author(s): | Pham Hoang Vuong |
Keywords: | Stock-price forecasting; ARIMA; XGBoost; LSTM; Deep learning |
Abstract: | 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. |
Issue Date: | 2022 |
Publisher: | Tech Science Press |
Series/Report no.: | Vol. 40, No.1 |
URI: | http://digital.lib.ueh.edu.vn/handle/UEH/63881 |
DOI: | https://doi.org/10.32604/CSSE.2022.017685 |
ISSN: | 0267-6192 |
Appears in Collections: | INTERNATIONAL PUBLICATIONS
|