The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods
Individual investors often struggle to predict stock prices due to the limitations imposed by the computational capacities of personal laptop Graphics Processing Units (GPUs) when running intensive deep learning models. This study proposes solving these GPU constraints by integrating deep learning m...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-09-01
|
Series: | Systems |
Subjects: | |
Online Access: | https://www.mdpi.com/2079-8954/11/9/470 |
_version_ | 1797576580835311616 |
---|---|
author | SeongJae Yu Sung-Byung Yang Sang-Hyeak Yoon |
author_facet | SeongJae Yu Sung-Byung Yang Sang-Hyeak Yoon |
author_sort | SeongJae Yu |
collection | DOAJ |
description | Individual investors often struggle to predict stock prices due to the limitations imposed by the computational capacities of personal laptop Graphics Processing Units (GPUs) when running intensive deep learning models. This study proposes solving these GPU constraints by integrating deep learning models with technical analysis methods. This integration significantly reduces analysis time and equips individual investors with the ability to identify stocks that may yield potential gains or losses in an efficient manner. Thus, a comprehensive buy and sell algorithm, compatible with average laptop GPU performance, is introduced in this study. This algorithm offers a lightweight analysis method that emphasizes factors identified by technical analysis methods, thereby providing a more accessible and efficient approach for individual investors. To evaluate the efficacy of this approach, we assessed the performance of eight deep learning models: long short-term memory (LSTM), a convolutional neural network (CNN), bidirectional LSTM (BiLSTM), CNN Attention, a bidirectional gated recurrent unit (BiGRU) CNN BiLSTM Attention, BiLSTM Attention CNN, CNN BiLSTM Attention, and CNN Attention BiLSTM. These models were used to predict stock prices for Samsung Electronics and Celltrion Healthcare. The CNN Attention BiLSTM model displayed superior performance among these models, with the lowest validation mean absolute error value. In addition, an experiment was conducted using WandB Sweep to determine the optimal hyperparameters for four individual hybrid models. These optimal parameters were then implemented in each model to validate their back-testing rate of return. The CNN Attention BiLSTM hybrid model emerged as the highest-performing model, achieving an approximate rate of return of 5 percent. Overall, this study offers valuable insights into the performance of various deep learning and hybrid models in predicting stock prices. These findings can assist individual investors in selecting appropriate models that align with their investment strategies, thereby increasing their likelihood of success in the stock market. |
first_indexed | 2024-03-10T21:55:00Z |
format | Article |
id | doaj.art-e9bbf27e82b24eaebe1f5d3daf141624 |
institution | Directory Open Access Journal |
issn | 2079-8954 |
language | English |
last_indexed | 2024-03-10T21:55:00Z |
publishDate | 2023-09-01 |
publisher | MDPI AG |
record_format | Article |
series | Systems |
spelling | doaj.art-e9bbf27e82b24eaebe1f5d3daf1416242023-11-19T13:13:25ZengMDPI AGSystems2079-89542023-09-0111947010.3390/systems11090470The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis MethodsSeongJae Yu0Sung-Byung Yang1Sang-Hyeak Yoon2Department of Big Data Analytics, Graduate School, Kyung Hee University, 26 Kyungheedae-ro, Seoul 02447, Republic of KoreaDepartment of Business Administration/Big Data Analytics, School of Management, Kyung Hee University, 26 Kyungheedae-ro, Seoul 02447, Republic of KoreaSchool of Industrial Management, Korea University of Technology and Education, 1600 Chungjeol-ro, Cheonan-si 31253, Republic of KoreaIndividual investors often struggle to predict stock prices due to the limitations imposed by the computational capacities of personal laptop Graphics Processing Units (GPUs) when running intensive deep learning models. This study proposes solving these GPU constraints by integrating deep learning models with technical analysis methods. This integration significantly reduces analysis time and equips individual investors with the ability to identify stocks that may yield potential gains or losses in an efficient manner. Thus, a comprehensive buy and sell algorithm, compatible with average laptop GPU performance, is introduced in this study. This algorithm offers a lightweight analysis method that emphasizes factors identified by technical analysis methods, thereby providing a more accessible and efficient approach for individual investors. To evaluate the efficacy of this approach, we assessed the performance of eight deep learning models: long short-term memory (LSTM), a convolutional neural network (CNN), bidirectional LSTM (BiLSTM), CNN Attention, a bidirectional gated recurrent unit (BiGRU) CNN BiLSTM Attention, BiLSTM Attention CNN, CNN BiLSTM Attention, and CNN Attention BiLSTM. These models were used to predict stock prices for Samsung Electronics and Celltrion Healthcare. The CNN Attention BiLSTM model displayed superior performance among these models, with the lowest validation mean absolute error value. In addition, an experiment was conducted using WandB Sweep to determine the optimal hyperparameters for four individual hybrid models. These optimal parameters were then implemented in each model to validate their back-testing rate of return. The CNN Attention BiLSTM hybrid model emerged as the highest-performing model, achieving an approximate rate of return of 5 percent. Overall, this study offers valuable insights into the performance of various deep learning and hybrid models in predicting stock prices. These findings can assist individual investors in selecting appropriate models that align with their investment strategies, thereby increasing their likelihood of success in the stock market.https://www.mdpi.com/2079-8954/11/9/470attention mechanismstock forecastingdeep learningtechnical analysis methodlightweight automated stock trading system |
spellingShingle | SeongJae Yu Sung-Byung Yang Sang-Hyeak Yoon The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods Systems attention mechanism stock forecasting deep learning technical analysis method lightweight automated stock trading system |
title | The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods |
title_full | The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods |
title_fullStr | The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods |
title_full_unstemmed | The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods |
title_short | The Design of an Intelligent Lightweight Stock Trading System Using Deep Learning Models: Employing Technical Analysis Methods |
title_sort | design of an intelligent lightweight stock trading system using deep learning models employing technical analysis methods |
topic | attention mechanism stock forecasting deep learning technical analysis method lightweight automated stock trading system |
url | https://www.mdpi.com/2079-8954/11/9/470 |
work_keys_str_mv | AT seongjaeyu thedesignofanintelligentlightweightstocktradingsystemusingdeeplearningmodelsemployingtechnicalanalysismethods AT sungbyungyang thedesignofanintelligentlightweightstocktradingsystemusingdeeplearningmodelsemployingtechnicalanalysismethods AT sanghyeakyoon thedesignofanintelligentlightweightstocktradingsystemusingdeeplearningmodelsemployingtechnicalanalysismethods AT seongjaeyu designofanintelligentlightweightstocktradingsystemusingdeeplearningmodelsemployingtechnicalanalysismethods AT sungbyungyang designofanintelligentlightweightstocktradingsystemusingdeeplearningmodelsemployingtechnicalanalysismethods AT sanghyeakyoon designofanintelligentlightweightstocktradingsystemusingdeeplearningmodelsemployingtechnicalanalysismethods |