Stock Market Analysis and Forecasting using Machine Learning

  • Mr. Ravikumar Chawhan Visvesvaraya Technological University Belagavi, Karnataka, India
  • Dr. Parashuram Baraki Visvesvaraya Technological University Belagavi, Karnataka, India
Keywords: Stock Market Forecasting, Machine Learning, LSTM, Deep Learning, Time-Series Prediction, Neural Networks, Financial Analysis, RMSE

Abstract

Stock market forecasting is a challenging task owing to the highly dynamic and volatile nature of financial markets. This paper presents the design and implementation of a Machine Learning-based stock market analysis and forecasting system that leverages a Long Short-Term Memory (LSTM) neural network for time-series prediction. The system automates the end-to-end pipeline from historical data acquisition using the finance API to preprocessing, model training, multi-step forecasting, and interactive visualization via a React.js frontend. Multiple machine learning algorithms including Linear Regression, Support Vector Machines, Random Forest, and LSTM are evaluated using performance metrics such as Root

Mean Square Error (RMSE), Mean Absolute Error (MAE), and R-squared (R²). Experimental results on stocks including AAPL, MSFT, and TSLA demonstrate that the LSTM model achieves R² values of 0.90–0.96 and RMSE values of 10–25, confirming its effectiveness in capturing temporal dependencies in stock price sequences. The system provides a practical decision-support prototype for investors, traders, and financial analysts.

References

[1] "Machine Learning Algorithms for Prediction of Stock Market," IEEE, 2024.
[2] "A Systematic Literature Survey on Recent Trends in Stock Market Prediction," PeerJ, 2023.
[3] "Artificial Intelligence-Based Stock Market Price Prediction: A Review," Extrica, 2025.
[4] "Evaluating Machine Learning Models for Stock Market Forecasting," Sage Journals, 2025.
[5] "A Comprehensive Survey of Stock Market Prediction Using Machine Learning," IARJSET, 2025.
[6] F. Pedregosa et al., "Scikit-learn: Machine Learning in Python," Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
[7] TensorFlow Developers, TensorFlow and Keras Documentation, 2024. [Online]. Available: https://www.tensorflow.org/
[8] Yahoo Finance API Documentation, Historical Market Data Access, 2024. [Online]. Available: https://finance.yahoo.com/
[9] Facebook Open Source, React Documentation, 2024. [Online].
Available: https://react.dev/
Published
2026-04-19
How to Cite
Chawhan, M. R., & Baraki, D. P. (2026). Stock Market Analysis and Forecasting using Machine Learning. Asian Journal For Convergence In Technology (AJCT) ISSN -2350-1146, 12(1), 331-334. Retrieved from https://asianssr.org/index.php/ajct/article/view/1581

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.