Cargando…
A performance comparison of machine learning models for stock market prediction with novel investment strategy
Stock market forecasting is one of the most challenging problems in today’s financial markets. According to the efficient market hypothesis, it is almost impossible to predict the stock market with 100% accuracy. However, Machine Learning (ML) methods can improve stock market predictions to some ext...
Autores principales: | , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10513304/ https://www.ncbi.nlm.nih.gov/pubmed/37733720 http://dx.doi.org/10.1371/journal.pone.0286362 |
_version_ | 1785108539101937664 |
---|---|
author | Khan, Azaz Hassan Shah, Abdullah Ali, Abbas Shahid, Rabia Zahid, Zaka Ullah Sharif, Malik Umar Jan, Tariqullah Zafar, Mohammad Haseeb |
author_facet | Khan, Azaz Hassan Shah, Abdullah Ali, Abbas Shahid, Rabia Zahid, Zaka Ullah Sharif, Malik Umar Jan, Tariqullah Zafar, Mohammad Haseeb |
author_sort | Khan, Azaz Hassan |
collection | PubMed |
description | Stock market forecasting is one of the most challenging problems in today’s financial markets. According to the efficient market hypothesis, it is almost impossible to predict the stock market with 100% accuracy. However, Machine Learning (ML) methods can improve stock market predictions to some extent. In this paper, a novel strategy is proposed to improve the prediction efficiency of ML models for financial markets. Nine ML models are used to predict the direction of the stock market. First, these models are trained and validated using the traditional methodology on a historic data captured over a 1-day time frame. Then, the models are trained using the proposed methodology. Following the traditional methodology, Logistic Regression achieved the highest accuracy of 85.51% followed by XG Boost and Random Forest. With the proposed strategy, the Random Forest model achieved the highest accuracy of 91.27% followed by XG Boost, ADA Boost and ANN. In the later part of the paper, it is shown that only classification report is not sufficient to validate the performance of ML model for stock market prediction. A simulation model of the financial market is used in order to evaluate the risk, maximum draw down and returns associate with each ML model. The overall results demonstrated that the proposed strategy not only improves the stock market returns but also reduces the risks associated with each ML model. |
format | Online Article Text |
id | pubmed-10513304 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-105133042023-09-22 A performance comparison of machine learning models for stock market prediction with novel investment strategy Khan, Azaz Hassan Shah, Abdullah Ali, Abbas Shahid, Rabia Zahid, Zaka Ullah Sharif, Malik Umar Jan, Tariqullah Zafar, Mohammad Haseeb PLoS One Research Article Stock market forecasting is one of the most challenging problems in today’s financial markets. According to the efficient market hypothesis, it is almost impossible to predict the stock market with 100% accuracy. However, Machine Learning (ML) methods can improve stock market predictions to some extent. In this paper, a novel strategy is proposed to improve the prediction efficiency of ML models for financial markets. Nine ML models are used to predict the direction of the stock market. First, these models are trained and validated using the traditional methodology on a historic data captured over a 1-day time frame. Then, the models are trained using the proposed methodology. Following the traditional methodology, Logistic Regression achieved the highest accuracy of 85.51% followed by XG Boost and Random Forest. With the proposed strategy, the Random Forest model achieved the highest accuracy of 91.27% followed by XG Boost, ADA Boost and ANN. In the later part of the paper, it is shown that only classification report is not sufficient to validate the performance of ML model for stock market prediction. A simulation model of the financial market is used in order to evaluate the risk, maximum draw down and returns associate with each ML model. The overall results demonstrated that the proposed strategy not only improves the stock market returns but also reduces the risks associated with each ML model. Public Library of Science 2023-09-21 /pmc/articles/PMC10513304/ /pubmed/37733720 http://dx.doi.org/10.1371/journal.pone.0286362 Text en © 2023 Khan et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Khan, Azaz Hassan Shah, Abdullah Ali, Abbas Shahid, Rabia Zahid, Zaka Ullah Sharif, Malik Umar Jan, Tariqullah Zafar, Mohammad Haseeb A performance comparison of machine learning models for stock market prediction with novel investment strategy |
title | A performance comparison of machine learning models for stock market prediction with novel investment strategy |
title_full | A performance comparison of machine learning models for stock market prediction with novel investment strategy |
title_fullStr | A performance comparison of machine learning models for stock market prediction with novel investment strategy |
title_full_unstemmed | A performance comparison of machine learning models for stock market prediction with novel investment strategy |
title_short | A performance comparison of machine learning models for stock market prediction with novel investment strategy |
title_sort | performance comparison of machine learning models for stock market prediction with novel investment strategy |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10513304/ https://www.ncbi.nlm.nih.gov/pubmed/37733720 http://dx.doi.org/10.1371/journal.pone.0286362 |
work_keys_str_mv | AT khanazazhassan aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT shahabdullah aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT aliabbas aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT shahidrabia aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT zahidzakaullah aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT sharifmalikumar aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT jantariqullah aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT zafarmohammadhaseeb aperformancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT khanazazhassan performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT shahabdullah performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT aliabbas performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT shahidrabia performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT zahidzakaullah performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT sharifmalikumar performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT jantariqullah performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy AT zafarmohammadhaseeb performancecomparisonofmachinelearningmodelsforstockmarketpredictionwithnovelinvestmentstrategy |