IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2109.15059.html
   My bibliography  Save this paper

Stock Price Prediction Under Anomalous Circumstances

Author

Listed:
  • Jinlong Ruan
  • Wei Wu
  • Jiebo Luo

Abstract

The stock market is volatile and complicated, especially in 2020. Because of a series of global and regional "black swans," such as the COVID-19 pandemic, the U.S. stock market triggered the circuit breaker three times within one week of March 9 to 16, which is unprecedented throughout history. Affected by the whole circumstance, the stock prices of individual corporations also plummeted by rates that were never predicted by any pre-developed forecasting models. It reveals that there was a lack of satisfactory models that could predict the changes in stocks prices when catastrophic, highly unlikely events occur. To fill the void of such models and to help prevent investors from heavy losses during uncertain times, this paper aims to capture the movement pattern of stock prices under anomalous circumstances. First, we detect outliers in sequential stock prices by fitting a standard ARIMA model and identifying the points where predictions deviate significantly from actual values. With the selected data points, we train ARIMA and LSTM models at the single-stock level, industry level, and general market level, respectively. Since the public moods affect the stock market tremendously, a sentiment analysis is also incorporated into the models in the form of sentiment scores, which are converted from comments about specific stocks on Reddit. Based on 100 companies' stock prices in the period of 2016 to 2020, the models achieve an average prediction accuracy of 98% which can be used to optimize existing prediction methodologies.

Suggested Citation

  • Jinlong Ruan & Wei Wu & Jiebo Luo, 2021. "Stock Price Prediction Under Anomalous Circumstances," Papers 2109.15059, arXiv.org.
  • Handle: RePEc:arx:papers:2109.15059
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2109.15059
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Kenny, Geoff & Meyler, Aidan & Quinn, Terry, 1998. "Forecasting Irish inflation using ARIMA models," Research Technical Papers 3/RT/98, Central Bank of Ireland.
    2. Guo, Kun & Sun, Yi & Qian, Xin, 2017. "Can investor sentiment be used to predict the stock price? Dynamic analysis based on China stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 469(C), pages 390-396.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Salvatore Carta & Andrea Medda & Alessio Pili & Diego Reforgiato Recupero & Roberto Saia, 2018. "Forecasting E-Commerce Products Prices by Combining an Autoregressive Integrated Moving Average (ARIMA) Model and Google Trends Data," Future Internet, MDPI, vol. 11(1), pages 1-19, December.
    2. Abdullah Ghazo, 2021. "Applying the ARIMA Model to the Process of Forecasting GDP and CPI in the Jordanian Economy," International Journal of Financial Research, International Journal of Financial Research, Sciedu Press, vol. 12(3), pages 70-77, May.
    3. Kenny, Geoff & Meyler, Aidan & Quinn, Terry, 1998. "Bayesian VAR Models for Forecasting Irish Inflation," Research Technical Papers 4/RT/98, Central Bank of Ireland.
    4. Zhao, Ruwei, 2020. "Quantifying the cross sectional relation of daily happiness sentiment and stock return: Evidence from US," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 538(C).
    5. Jian Guo & Saizhuo Wang & Lionel M. Ni & Heung-Yeung Shum, 2022. "Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligence," Papers 2301.04020, arXiv.org.
    6. KUMAR Manoj & ANAND Madhu, 2014. "An Application Of Time Series Arima Forecasting Model For Predicting Sugarcane Production In India," Studies in Business and Economics, Lucian Blaga University of Sibiu, Faculty of Economic Sciences, vol. 9(1), pages 81-94, April.
    7. Meyler, Aidan, 1999. "A Statistical Measure Of Core Inflation," Research Technical Papers 2/RT/99, Central Bank of Ireland.
    8. Tamerlan Mashadihasanli, 2022. "Stock Market Price Forecasting Using the Arima Model: an Application to Istanbul, Turkiye," Journal of Economic Policy Researches, Istanbul University, Faculty of Economics, vol. 9(2), pages 439-454, July.
    9. Jeff Tayman & Stanley Smith & Jeffrey Lin, 2007. "Precision, bias, and uncertainty for state population forecasts: an exploratory analysis of time series models," Population Research and Policy Review, Springer;Southern Demographic Association (SDA), vol. 26(3), pages 347-369, June.
    10. Gao, Yang & Wang, Yaojun & Wang, Chao & Liu, Chao, 2018. "Internet attention and information asymmetry: Evidence from Qihoo 360 search data on the Chinese stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 510(C), pages 802-811.
    11. Ning Wang & Shanhui Ke & Yibo Chen & Tao Yan & Andrew Lim, 2019. "Textual Sentiment of Chinese Microblog Toward the Stock Market," International Journal of Information Technology & Decision Making (IJITDM), World Scientific Publishing Co. Pte. Ltd., vol. 18(02), pages 649-671, March.
    12. Quinn, Terry & Kenny, Geoff & Meyler, Aidan, 1999. "Inflation Analysis: An Overview," Research Technical Papers 1/RT/99, Central Bank of Ireland.
    13. Yue-Jun Zhang & Shu-Hui Li, 2019. "The impact of investor sentiment on crude oil market risks: evidence from the wavelet approach," Quantitative Finance, Taylor & Francis Journals, vol. 19(8), pages 1357-1371, August.
    14. Mohammad Almasarweh & S. AL Wadi, 2018. "ARIMA Model in Predicting Banking Stock Market Data," Modern Applied Science, Canadian Center of Science and Education, vol. 12(11), pages 309-309, November.
    15. Pegah Eslamieh & Mehdi Shajari & Ahmad Nickabadi, 2023. "User2Vec: A Novel Representation for the Information of the Social Networks for Stock Market Prediction Using Convolutional and Recurrent Neural Networks," Mathematics, MDPI, vol. 11(13), pages 1-26, July.
    16. Aguilar, Ruben & Valdivia, Daney, 2011. "Precios de exportación de gas natural para Bolivia: Modelación y pooling de pronósticos [Bolivian natural gas export prices: Modeling and forecast pooling]," MPRA Paper 35485, University Library of Munich, Germany.
    17. Shao, Ying-Hui & Yang, Yan-Hong & Zhou, Wei-Xing, 2022. "How does economic policy uncertainty comove with stock markets: New evidence from symmetric thermal optimal path method," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 604(C).
    18. Mohammad Rafiqul Islam & Nguyet Nguyen, 2020. "Comparison of Financial Models for Stock Price Prediction," JRFM, MDPI, vol. 13(8), pages 1-19, August.
    19. Shiying Tu & Jiehu Huang & Huailong Mu & Juan Lu & Ying Li, 2024. "Combining Autoregressive Integrated Moving Average Model and Gaussian Process Regression to Improve Stock Price Forecast," Mathematics, MDPI, vol. 12(8), pages 1-15, April.
    20. Sallahuddin Hassan & Zalila Othman, 2018. "Forecasting on the long-term sustainability of the employees provident fund in Malaysia via the Box-Jenkins’ ARIMA model," Business and Economic Horizons (BEH), Prague Development Center, vol. 14(1), pages 43-53, January.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2109.15059. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.