A comparative analysis of deep learning models and traditional statistical methods for stock price prediction uses data from the Nigerian stock exchange. Historical data, including daily prices and trading volumes, ar...A comparative analysis of deep learning models and traditional statistical methods for stock price prediction uses data from the Nigerian stock exchange. Historical data, including daily prices and trading volumes, are employed to implement models such as Long Short Term Memory (LSTM) networks, Gated Recurrent Units (GRUs), Autoregressive Integrated Moving Average (ARIMA), and Autoregressive Moving Average (ARMA). These models are assessed over three-time horizons: short-term (1 year), medium-term (2.5 years), and long-term (5 years), with performance measured by Mean Squared Error (MSE) and Mean Absolute Error (MAE). The stability of the time series is tested using the Augmented Dickey-Fuller (ADF) test. Results reveal that deep learning models, particularly LSTM, outperform traditional methods by capturing complex, nonlinear patterns in the data, resulting in more accurate predictions. However, these models require greater computational resources and offer less interpretability than traditional approaches. The findings highlight the potential of deep learning for improving financial forecasting and investment strategies. Future research could incorporate external factors such as social media sentiment and economic indicators, refine model architectures, and explore real-time applications to enhance prediction accuracy and scalability.展开更多
The research focuses on improving predictive accuracy in the financial sector through the exploration of machine learning algorithms for stock price prediction. The research follows an organized process combining Agil...The research focuses on improving predictive accuracy in the financial sector through the exploration of machine learning algorithms for stock price prediction. The research follows an organized process combining Agile Scrum and the Obtain, Scrub, Explore, Model, and iNterpret (OSEMN) methodology. Six machine learning models, namely Linear Forecast, Naive Forecast, Simple Moving Average with weekly window (SMA 5), Simple Moving Average with monthly window (SMA 20), Autoregressive Integrated Moving Average (ARIMA), and Long Short-Term Memory (LSTM), are compared and evaluated through Mean Absolute Error (MAE), with the LSTM model performing the best, showcasing its potential for practical financial applications. A Django web application “Predict It” is developed to implement the LSTM model. Ethical concerns related to predictive modeling in finance are addressed. Data quality, algorithm choice, feature engineering, and preprocessing techniques are emphasized for better model performance. The research acknowledges limitations and suggests future research directions, aiming to equip investors and financial professionals with reliable predictive models for dynamic markets.展开更多
The stock market, as one of the hotspots in the financial field, forms a data system with a huge volume of data and complex relationships between various factors, making stock price prediction an area of keen interest...The stock market, as one of the hotspots in the financial field, forms a data system with a huge volume of data and complex relationships between various factors, making stock price prediction an area of keen interest for further in-depth mining and research. Mathematical statistics methods struggle to deal with nonlinear relationships in practical applications, making it difficult to explore deep information about stocks. Meanwhile, machine learning methods, particularly neural network models and composite models, which have achieved outstanding results in other fields, are being applied to the stock market with significant results. However, researchers have found that these methods do not grasp the essential information of the data as well as expected. In response to these issues, researchers are exploring better neural network models and combining them with other methods to analyze stock data. Thus, this paper proposes the ABiGRU composite model, which combines the attention mechanism and bidirectional gated recurrent unit (GRU) that can effectively extract data features for stock price prediction research. Models such as LSTM, GRU, and Bi-LSTM are selected for comparative experiments. To ensure the credibility and representativeness of the research data, daily stock price indices of BYD are chosen for closing price prediction studies across different models. The results show that the ABiGRU model has a lower prediction error and better fitting effect on three index-based stock prices, enhancing the learning efficiency of the neural network model and demonstrating good prediction stability. This suggests that the ABiGRU model is highly adaptable for stock price prediction.展开更多
We use the Autoregressive Integrated Moving Average(ARIMA)model and Facebook Prophet model to predict the closing stock price of Google during the COVID-19 pandemic as well as compare the accuracy of these two models...We use the Autoregressive Integrated Moving Average(ARIMA)model and Facebook Prophet model to predict the closing stock price of Google during the COVID-19 pandemic as well as compare the accuracy of these two models’predictions.We first examine the stationary of the dataset and use ARIMA(0,1,1)to make predictions about the stock price during the pandemic,then we train the Prophet model using the stock price before January 1,2021,and predict the stock price after January 1,2021,to present.We also make a comparison of the prediction graphs of the two models.The empirical results show that the ARIMA model has a better performance in predicting Google’s stock price during the pandemic.展开更多
:Machine Learning(ML)algorithms have been widely used for financial time series prediction and trading through bots.In this work,we propose a Predictive Error Compensated Wavelet Neural Network(PEC-WNN)ML model that i...:Machine Learning(ML)algorithms have been widely used for financial time series prediction and trading through bots.In this work,we propose a Predictive Error Compensated Wavelet Neural Network(PEC-WNN)ML model that improves the prediction of next day closing prices.In the proposed model we use multiple neural networks where the first one uses the closing stock prices from multiple-scale time-domain inputs.An additional network is used for error estimation to compensate and reduce the prediction error of the main network instead of using recurrence.The performance of the proposed model is evaluated using six different stock data samples in the New York stock exchange.The results have demonstrated significant improvement in forecasting accuracy in all cases when the second network is used in accordance with the first one by adding the outputs.The RMSE error is 33%improved when the proposed PEC-WNN model is used compared to the Long ShortTerm Memory(LSTM)model.Furthermore,through the analysis of training mechanisms,we found that using the updated training the performance of the proposed model is improved.The contribution of this study is the applicability of simultaneously different time frames as inputs.Cascading the predictive error compensation not only reduces the error rate but also helps in avoiding overfitting problems.展开更多
Stock price prediction is a typical complex time series prediction problem characterized by dynamics,nonlinearity,and complexity.This paper introduces a generative adversarial network model that incorporates an attent...Stock price prediction is a typical complex time series prediction problem characterized by dynamics,nonlinearity,and complexity.This paper introduces a generative adversarial network model that incorporates an attention mechanism(GAN-LSTM-Attention)to improve the accuracy of stock price prediction.Firstly,the generator of this model combines the Long and Short-Term Memory Network(LSTM),the Attention Mechanism and,the Fully-Connected Layer,focusing on generating the predicted stock price.The discriminator combines the Convolutional Neural Network(CNN)and the Fully-Connected Layer to discriminate between real stock prices and generated stock prices.Secondly,to evaluate the practical application ability and generalization ability of the GAN-LSTM-Attention model,four representative stocks in the United States of America(USA)stock market,namely,Standard&Poor’s 500 Index stock,Apple Incorporatedstock,AdvancedMicroDevices Incorporatedstock,and Google Incorporated stock were selected for prediction experiments,and the prediction performance was comprehensively evaluated by using the three evaluation metrics,namely,mean absolute error(MAE),root mean square error(RMSE),and coefficient of determination(R2).Finally,the specific effects of the attention mechanism,convolutional layer,and fully-connected layer on the prediction performance of the model are systematically analyzed through ablation study.The results of experiment show that the GAN-LSTM-Attention model exhibits excellent performance and robustness in stock price prediction.展开更多
Predicting stock price movement direction is a challenging problem influenced by different factors and capricious events. The conventional stock price prediction machine learning models heavily rely on the internal fi...Predicting stock price movement direction is a challenging problem influenced by different factors and capricious events. The conventional stock price prediction machine learning models heavily rely on the internal financial features, especially the stock price history. However, there are many outside-of-company features that deeply interact with the companies’ stock price performance, especially during the COVID period. In this study, we selected 9 COVID vaccine companies and collected their relevant features over the past 20 months. We added handcrafted external information, including COVID-related statistics and company-specific vaccine progress information. We implemented, evaluated, and compared several machine learning models, including Multilayer Perceptron Neural Networks with logistic regression and decision trees with boosting and bagging algorithms. The results suggest that the application of feature engineering and data mining techniques can effectively enhance the performance of models predicting stock price movement during the COVID period. The results show that COVID-related handcrafted features help to increase the model prediction accuracy by 7.3% and AUROC by 6.5% on average. Further exploration showed that with data selection the decision tree model with gradient, boosting algorithm achieved 70% in AUROC and 66% in the accuracy.展开更多
There are many factors to influence stock prices indeed. The research method combining models and examples is applied to study how the factors affect stock prices here. Firstly, the principal component analysis is use...There are many factors to influence stock prices indeed. The research method combining models and examples is applied to study how the factors affect stock prices here. Firstly, the principal component analysis is used to deal with a set of variables as the input of a BP Neural Network. Therefore, not only is the number of variables less, but also most of the information of original variables is kept. Then, the BP Neural Network is established to analyze and predict stock prices. Finally, the analysis of Chinese stock market illustrates that the method predicting stock prices is satisfying and feasible.展开更多
In the paper, based on the data of Shanghai and Shenzhen 300 stock index in 2011, the ARIMA model was established by using Eviews 6, and the historical trend of stock price was found out. The model was used to provide...In the paper, based on the data of Shanghai and Shenzhen 300 stock index in 2011, the ARIMA model was established by using Eviews 6, and the historical trend of stock price was found out. The model was used to provide a reference for the investors.展开更多
文摘A comparative analysis of deep learning models and traditional statistical methods for stock price prediction uses data from the Nigerian stock exchange. Historical data, including daily prices and trading volumes, are employed to implement models such as Long Short Term Memory (LSTM) networks, Gated Recurrent Units (GRUs), Autoregressive Integrated Moving Average (ARIMA), and Autoregressive Moving Average (ARMA). These models are assessed over three-time horizons: short-term (1 year), medium-term (2.5 years), and long-term (5 years), with performance measured by Mean Squared Error (MSE) and Mean Absolute Error (MAE). The stability of the time series is tested using the Augmented Dickey-Fuller (ADF) test. Results reveal that deep learning models, particularly LSTM, outperform traditional methods by capturing complex, nonlinear patterns in the data, resulting in more accurate predictions. However, these models require greater computational resources and offer less interpretability than traditional approaches. The findings highlight the potential of deep learning for improving financial forecasting and investment strategies. Future research could incorporate external factors such as social media sentiment and economic indicators, refine model architectures, and explore real-time applications to enhance prediction accuracy and scalability.
文摘The research focuses on improving predictive accuracy in the financial sector through the exploration of machine learning algorithms for stock price prediction. The research follows an organized process combining Agile Scrum and the Obtain, Scrub, Explore, Model, and iNterpret (OSEMN) methodology. Six machine learning models, namely Linear Forecast, Naive Forecast, Simple Moving Average with weekly window (SMA 5), Simple Moving Average with monthly window (SMA 20), Autoregressive Integrated Moving Average (ARIMA), and Long Short-Term Memory (LSTM), are compared and evaluated through Mean Absolute Error (MAE), with the LSTM model performing the best, showcasing its potential for practical financial applications. A Django web application “Predict It” is developed to implement the LSTM model. Ethical concerns related to predictive modeling in finance are addressed. Data quality, algorithm choice, feature engineering, and preprocessing techniques are emphasized for better model performance. The research acknowledges limitations and suggests future research directions, aiming to equip investors and financial professionals with reliable predictive models for dynamic markets.
文摘The stock market, as one of the hotspots in the financial field, forms a data system with a huge volume of data and complex relationships between various factors, making stock price prediction an area of keen interest for further in-depth mining and research. Mathematical statistics methods struggle to deal with nonlinear relationships in practical applications, making it difficult to explore deep information about stocks. Meanwhile, machine learning methods, particularly neural network models and composite models, which have achieved outstanding results in other fields, are being applied to the stock market with significant results. However, researchers have found that these methods do not grasp the essential information of the data as well as expected. In response to these issues, researchers are exploring better neural network models and combining them with other methods to analyze stock data. Thus, this paper proposes the ABiGRU composite model, which combines the attention mechanism and bidirectional gated recurrent unit (GRU) that can effectively extract data features for stock price prediction research. Models such as LSTM, GRU, and Bi-LSTM are selected for comparative experiments. To ensure the credibility and representativeness of the research data, daily stock price indices of BYD are chosen for closing price prediction studies across different models. The results show that the ABiGRU model has a lower prediction error and better fitting effect on three index-based stock prices, enhancing the learning efficiency of the neural network model and demonstrating good prediction stability. This suggests that the ABiGRU model is highly adaptable for stock price prediction.
文摘We use the Autoregressive Integrated Moving Average(ARIMA)model and Facebook Prophet model to predict the closing stock price of Google during the COVID-19 pandemic as well as compare the accuracy of these two models’predictions.We first examine the stationary of the dataset and use ARIMA(0,1,1)to make predictions about the stock price during the pandemic,then we train the Prophet model using the stock price before January 1,2021,and predict the stock price after January 1,2021,to present.We also make a comparison of the prediction graphs of the two models.The empirical results show that the ARIMA model has a better performance in predicting Google’s stock price during the pandemic.
基金This study is based on the research project“Development of Cyberdroid based on Cognitive Intelligent system applications”(2019–2020)funded by Crypttech company(https://www.crypttech.com/en/)within the contract by ITUNOVA,Istanbul Technical University Technology Transfer Office.
文摘:Machine Learning(ML)algorithms have been widely used for financial time series prediction and trading through bots.In this work,we propose a Predictive Error Compensated Wavelet Neural Network(PEC-WNN)ML model that improves the prediction of next day closing prices.In the proposed model we use multiple neural networks where the first one uses the closing stock prices from multiple-scale time-domain inputs.An additional network is used for error estimation to compensate and reduce the prediction error of the main network instead of using recurrence.The performance of the proposed model is evaluated using six different stock data samples in the New York stock exchange.The results have demonstrated significant improvement in forecasting accuracy in all cases when the second network is used in accordance with the first one by adding the outputs.The RMSE error is 33%improved when the proposed PEC-WNN model is used compared to the Long ShortTerm Memory(LSTM)model.Furthermore,through the analysis of training mechanisms,we found that using the updated training the performance of the proposed model is improved.The contribution of this study is the applicability of simultaneously different time frames as inputs.Cascading the predictive error compensation not only reduces the error rate but also helps in avoiding overfitting problems.
基金funded by the project supported by the Natural Science Foundation of Heilongjiang Provincial(Grant Number LH2023F033)the Science and Technology Innovation Talent Project of Harbin(Grant Number 2022CXRCCG006).
文摘Stock price prediction is a typical complex time series prediction problem characterized by dynamics,nonlinearity,and complexity.This paper introduces a generative adversarial network model that incorporates an attention mechanism(GAN-LSTM-Attention)to improve the accuracy of stock price prediction.Firstly,the generator of this model combines the Long and Short-Term Memory Network(LSTM),the Attention Mechanism and,the Fully-Connected Layer,focusing on generating the predicted stock price.The discriminator combines the Convolutional Neural Network(CNN)and the Fully-Connected Layer to discriminate between real stock prices and generated stock prices.Secondly,to evaluate the practical application ability and generalization ability of the GAN-LSTM-Attention model,four representative stocks in the United States of America(USA)stock market,namely,Standard&Poor’s 500 Index stock,Apple Incorporatedstock,AdvancedMicroDevices Incorporatedstock,and Google Incorporated stock were selected for prediction experiments,and the prediction performance was comprehensively evaluated by using the three evaluation metrics,namely,mean absolute error(MAE),root mean square error(RMSE),and coefficient of determination(R2).Finally,the specific effects of the attention mechanism,convolutional layer,and fully-connected layer on the prediction performance of the model are systematically analyzed through ablation study.The results of experiment show that the GAN-LSTM-Attention model exhibits excellent performance and robustness in stock price prediction.
文摘Predicting stock price movement direction is a challenging problem influenced by different factors and capricious events. The conventional stock price prediction machine learning models heavily rely on the internal financial features, especially the stock price history. However, there are many outside-of-company features that deeply interact with the companies’ stock price performance, especially during the COVID period. In this study, we selected 9 COVID vaccine companies and collected their relevant features over the past 20 months. We added handcrafted external information, including COVID-related statistics and company-specific vaccine progress information. We implemented, evaluated, and compared several machine learning models, including Multilayer Perceptron Neural Networks with logistic regression and decision trees with boosting and bagging algorithms. The results suggest that the application of feature engineering and data mining techniques can effectively enhance the performance of models predicting stock price movement during the COVID period. The results show that COVID-related handcrafted features help to increase the model prediction accuracy by 7.3% and AUROC by 6.5% on average. Further exploration showed that with data selection the decision tree model with gradient, boosting algorithm achieved 70% in AUROC and 66% in the accuracy.
文摘There are many factors to influence stock prices indeed. The research method combining models and examples is applied to study how the factors affect stock prices here. Firstly, the principal component analysis is used to deal with a set of variables as the input of a BP Neural Network. Therefore, not only is the number of variables less, but also most of the information of original variables is kept. Then, the BP Neural Network is established to analyze and predict stock prices. Finally, the analysis of Chinese stock market illustrates that the method predicting stock prices is satisfying and feasible.
文摘In the paper, based on the data of Shanghai and Shenzhen 300 stock index in 2011, the ARIMA model was established by using Eviews 6, and the historical trend of stock price was found out. The model was used to provide a reference for the investors.