Predicting the Stock Market
DOI:
https://doi.org/10.58445/rars.3740Keywords:
LSTM (Long Short-Term Memory), Stock Price Prediction, Time Series ForecastingAbstract
This study examines whether historical stock data and moving averages improve the accuracy of LSTM models in predicting prices for technology and pharmaceutical companies. Using data from six major firms, the models were trained to identify patterns and forecast short-term price movements. The results show that while LSTM models can capture general trends, especially for more stable pharmaceutical stocks, their predictions are not consistently accurate, particularly for more volatile technology stocks. Short-term forecasts showed moderate success, but long-term predictions were unreliable due to error buildup and market unpredictability. Overall, the study concludes that historical data and moving averages help with trend detection but are not enough for precise stock prediction, as many external factors like news and economic events significantly influence stock prices.
References
Akana, Tom, et al. While about Half of Americans Report Owning Stocks Either Personally or Jointly with a Household. www.philadelphiafed.org/-/media/FRBP/Assets/Consumer-Finance/Briefs/Why-Some-Americans-Dont-Invest-in-the-Stock-Market.pdf.
Alberto, Sergio, et al. “The Retail Investor Report.” UMKC School of Law Institutional Repository, 2023, irlaw.umkc.edu/faculty_works/928/.
Beers, Brian. “Why Do Stock Prices Change Based on News Reports?” Investopedia, 2019, www.investopedia.com/ask/answers/155.asp.
Mikulic, Matej. “Global Pharmaceutical Industry.” Statista, 10 Jan. 2024, www.statista.com/topics/1764/global-pharmaceutical-industry/#topicOverview.
Monfared, Melissa. “Google’s Stock Price Prediction ▴ LSTM.” Kaggle.com, Kaggle, 21 Sept. 2024, www.kaggle.com/code/melissamonfared/google-s-stock-price-prediction-lstm.
Sayah, Fares. “📊Stock Market Analysis 📈 + Prediction Using LSTM.” Kaggle.com, www.kaggle.com/code/faressayah/stock-market-analysis-prediction-using-lstm.
Speights, Keith. “Biotech vs Pharma: What’s the Difference?” The Motley Fool, 6 Feb. 2026, www.fool.com/investing/stock-market/market-sectors/healthcare/biotech-vs-pharma/.
Velasquez, Francisco. Tech Volatility Creates the Perfect Environment to “Nibble” on Fintech, Market Veteran Says. 4 Feb. 2026. https://finance.yahoo.com/news/tech-volatility-creates-the-perfect-environment-to-nibble-on-fintech-market-veteran-says-172729443.html?guccounter=1&guce_referrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&guce_referrer_sig=AQAAADFbk1IcVYkEjHKCxo-WHq534vST_RebSnsN020ilgnO51bqj6iT2GoBKVXLcUbGNhL-AIrCw3ioDQAlyfySjqjELOsyOSA2dHGTSdwuapu-F7kPOqDzJpMVCcCYgn-bNyA3OV-prY0lQeDDEy4j7lVTuSQRK5dANSVTfOhhqqrt.
Additional Files
Posted
Categories
License
Copyright (c) 2026 Manav Patel

This work is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license