Study on the application of LSTM-LightGBM Model in stock rise and fall prediction

This paper proposes a hybrid financial time series forecast model based on LSTM and LightGBM, namely LSTM_LightGBM model. Use the LightGBM model to train the processed stock historical data set, and save the training results. Then the opening price, closing price, highest price, lowest price, tradin...

Full description

Bibliographic Details
Main Authors: Guo Yuankai, Li Yangyang, Xu Yuan
Format: Article
Language:English
Published: EDP Sciences 2021-01-01
Series:MATEC Web of Conferences
Online Access:https://www.matec-conferences.org/articles/matecconf/pdf/2021/05/matecconf_cscns20_05011.pdf
_version_ 1831736446138974208
author Guo Yuankai
Li Yangyang
Xu Yuan
author_facet Guo Yuankai
Li Yangyang
Xu Yuan
author_sort Guo Yuankai
collection DOAJ
description This paper proposes a hybrid financial time series forecast model based on LSTM and LightGBM, namely LSTM_LightGBM model. Use the LightGBM model to train the processed stock historical data set, and save the training results. Then the opening price, closing price, highest price, lowest price, trading volume and adjusted closing price are separately input into the LSTM model for prediction. The prediction result of each attribute is used as the test set of the prediction after LightGBM training. Constantly adjust the parameters of each model, and finally get the optimal stock price forecast model. The model is validated with the rise and fall of AAPL stock. Through the comparison of evaluation index root mean square error RMSE, mean absolute error MAE, prediction accuracy Accuracy and f1_score. It is found that the LSTM_LightGBM model exhibits stable and better prediction performance in the stock prediction. That is to say, the LSTM_LightGBM model proposed in this paper is stable and feasible in the stock price fluctuation forecast.
first_indexed 2024-12-21T12:45:55Z
format Article
id doaj.art-5d7fff07239f417fb56b401e54cf891f
institution Directory Open Access Journal
issn 2261-236X
language English
last_indexed 2024-12-21T12:45:55Z
publishDate 2021-01-01
publisher EDP Sciences
record_format Article
series MATEC Web of Conferences
spelling doaj.art-5d7fff07239f417fb56b401e54cf891f2022-12-21T19:03:39ZengEDP SciencesMATEC Web of Conferences2261-236X2021-01-013360501110.1051/matecconf/202133605011matecconf_cscns20_05011Study on the application of LSTM-LightGBM Model in stock rise and fall predictionGuo Yuankai0Li Yangyang1Xu Yuan2Ankang Vocational Technical College, College of EngineeringXunyang Second Middle School, History Teaching GroupAnkang Vocational Technical College, College of EngineeringThis paper proposes a hybrid financial time series forecast model based on LSTM and LightGBM, namely LSTM_LightGBM model. Use the LightGBM model to train the processed stock historical data set, and save the training results. Then the opening price, closing price, highest price, lowest price, trading volume and adjusted closing price are separately input into the LSTM model for prediction. The prediction result of each attribute is used as the test set of the prediction after LightGBM training. Constantly adjust the parameters of each model, and finally get the optimal stock price forecast model. The model is validated with the rise and fall of AAPL stock. Through the comparison of evaluation index root mean square error RMSE, mean absolute error MAE, prediction accuracy Accuracy and f1_score. It is found that the LSTM_LightGBM model exhibits stable and better prediction performance in the stock prediction. That is to say, the LSTM_LightGBM model proposed in this paper is stable and feasible in the stock price fluctuation forecast.https://www.matec-conferences.org/articles/matecconf/pdf/2021/05/matecconf_cscns20_05011.pdf
spellingShingle Guo Yuankai
Li Yangyang
Xu Yuan
Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
MATEC Web of Conferences
title Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
title_full Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
title_fullStr Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
title_full_unstemmed Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
title_short Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
title_sort study on the application of lstm lightgbm model in stock rise and fall prediction
url https://www.matec-conferences.org/articles/matecconf/pdf/2021/05/matecconf_cscns20_05011.pdf
work_keys_str_mv AT guoyuankai studyontheapplicationoflstmlightgbmmodelinstockriseandfallprediction
AT liyangyang studyontheapplicationoflstmlightgbmmodelinstockriseandfallprediction
AT xuyuan studyontheapplicationoflstmlightgbmmodelinstockriseandfallprediction