13,795 research outputs found

    Attention-based CNN-LSTM and XGBoost hybrid model for stock prediction

    Full text link
    Stock market plays an important role in the economic development. Due to the complex volatility of the stock market, the research and prediction on the change of the stock price, can avoid the risk for the investors. The traditional time series model ARIMA can not describe the nonlinearity, and can not achieve satisfactory results in the stock prediction. As neural networks are with strong nonlinear generalization ability, this paper proposes an attention-based CNN-LSTM and XGBoost hybrid model to predict the stock price. The model constructed in this paper integrates the time series model, the Convolutional Neural Networks with Attention mechanism, the Long Short-Term Memory network, and XGBoost regressor in a non-linear relationship, and improves the prediction accuracy. The model can fully mine the historical information of the stock market in multiple periods. The stock data is first preprocessed through ARIMA. Then, the deep learning architecture formed in pretraining-finetuning framework is adopted. The pre-training model is the Attention-based CNN-LSTM model based on sequence-to-sequence framework. The model first uses convolution to extract the deep features of the original stock data, and then uses the Long Short-Term Memory networks to mine the long-term time series features. Finally, the XGBoost model is adopted for fine-tuning. The results show that the hybrid model is more effective and the prediction accuracy is relatively high, which can help investors or institutions to make decisions and achieve the purpose of expanding return and avoiding risk. Source code is available at https://github.com/zshicode/Attention-CLX-stock-prediction.Comment: arXiv admin note: text overlap with arXiv:2202.1380

    Application of Deep-Learning-Based Models for Prediction of Stock Price in the Iranian Stock Market

    Get PDF
    The capital or stock market along with the money market is one of the most important parts of financial sector of the nation’s economy, providing long-term financing required for efficient production and service activities. The total stock price index as reflector of stock market fluctuation is important for finance practitioners and policy-makers. Therefore, in this research, a comparative investigation was presented on two superior deep-learning-based models, including long short-term memory (LSTM), and convolutional neural network long short-term memory (CNN)-LSTM, applied for analysing prediction of the total stock price index of Tehran stock exchange (TSE) market. The complete dataset utilized in the current analysis covered the period from September 23, 2011 to June 22, 2021 with a total of 3,739 trading days in the TSE market. Forecasting accuracy and performance of the two proposed models were appraised using root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE) criteria. Based on the results, the CNN-LSTM showed the lowest values of the aforementioned metrics compared to the LSTM model, and it was found that the CNN-LSTM model could be effective in providing the best prediction performance of the total stock price index on the TSE market. Eventually, graphically and numerically, various prediction results obtained from the proposed models were analysed for more comprehensive analysis

    Deep Learning-based Gated Recurrent Unit Approach to Stock Market Forecasting: An Analysis of Intel\u27s Stock Data

    Get PDF
    The stock price index prediction is a very challenging task that\u27s because the market has a very complicated nonlinear movement system. This fluctuation is influenced by many different factors. Multiple examples demonstrate the suitability of Machine Learning (ML) models like Neural Network algorithms (NN) and Long Short-Term Memory (LSTM) for such time series predictions, as well as how frequently they produce satisfactory outcomes. However, relatively few studies have employed robust feature engineering sequence models to forecast future prices. In this paper, we propose a cutting-edge stock price prediction model based on a Deep Learning (DL) technique. We chose the stock data for Intel, the firm with one of the quickest growths in the past ten years. The experimental results demonstrate that, for predicting this particular stock time series, our suggested model outperforms the current Gated Recurrent Unit (GRU) model. Our prediction approach reduces inaccuracy by taking into account the random nature of data on a big scale

    Robust Analysis of Stock Price Time Series Using CNN and LSTM-Based Deep Learning Models

    Full text link
    Prediction of stock price and stock price movement patterns has always been a critical area of research. While the well-known efficient market hypothesis rules out any possibility of accurate prediction of stock prices, there are formal propositions in the literature demonstrating accurate modeling of the predictive systems that can enable us to predict stock prices with a very high level of accuracy. In this paper, we present a suite of deep learning-based regression models that yields a very high level of accuracy in stock price prediction. To build our predictive models, we use the historical stock price data of a well-known company listed in the National Stock Exchange (NSE) of India during the period December 31, 2012 to January 9, 2015. The stock prices are recorded at five minutes intervals of time during each working day in a week. Using these extremely granular stock price data, we build four convolutional neural network (CNN) and five long- and short-term memory (LSTM)-based deep learning models for accurate forecasting of the future stock prices. We provide detailed results on the forecasting accuracies of all our proposed models based on their execution time and their root mean square error (RMSE) values.Comment: The paper is the accepted version of our work in the 4th IEEE International Conference on Electronics, Communication, and Aerospace Technology (ICECA'20), November 5 - 7, 2020, Coimbatore, INDIA, The paper consists of 10 pages. It contains 12 figures and 8 table

    A Novel Distributed Representation of News (DRNews) for Stock Market Predictions

    Full text link
    In this study, a novel Distributed Representation of News (DRNews) model is developed and applied in deep learning-based stock market predictions. With the merit of integrating contextual information and cross-documental knowledge, the DRNews model creates news vectors that describe both the semantic information and potential linkages among news events through an attributed news network. Two stock market prediction tasks, namely the short-term stock movement prediction and stock crises early warning, are implemented in the framework of the attention-based Long Short Term-Memory (LSTM) network. It is suggested that DRNews substantially enhances the results of both tasks comparing with five baselines of news embedding models. Further, the attention mechanism suggests that short-term stock trend and stock market crises both receive influences from daily news with the former demonstrates more critical responses on the information related to the stock market {\em per se}, whilst the latter draws more concerns on the banking sector and economic policies.Comment: 25 page
    • …
    corecore