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

Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating

Author

Listed:
  • Jaideep Singh
  • Matloob Khushi

Abstract

To reject the Efficient Market Hypothesis a set of 5 technical indicators and 23 fundamental indicators was identified to establish the possibility of generating excess returns on the stock market. Leveraging these data points and various classification machine learning models, trading data of the 505 equities on the US S&P500 over the past 20 years was analysed to develop a classifier effective for our cause. From any given day, we were able to predict the direction of change in price by 1% up to 10 days in the future. The predictions had an overall accuracy of 83.62% with a precision of 85% for buy signals and a recall of 100% for sell signals. Moreover, we grouped equities by their sector and repeated the experiment to see if grouping similar assets together positively effected the results but concluded that it showed no significant improvements in the performance rejecting the idea of sector-based analysis. Also, using feature ranking we could identify an even smaller set of 6 indicators while maintaining similar accuracies as that from the original 28 features and also uncovered the importance of buy, hold and sell analyst ratings as they came out to be the top contributors in the model. Finally, to evaluate the effectiveness of the classifier in real-life situations, it was backtested on FAANG equities using a modest trading strategy where it generated high returns of above 60% over the term of the testing dataset. In conclusion, our proposed methodology with the combination of purposefully picked features shows an improvement over the previous studies, and our model predicts the direction of 1% price changes on the 10th day with high confidence and with enough buffer to even build a robotic trading system.

Suggested Citation

  • Jaideep Singh & Matloob Khushi, 2021. "Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating," Papers 2103.09106, arXiv.org.
  • Handle: RePEc:arx:papers:2103.09106
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Cheung, Yin-Wong & Chinn, Menzie D. & Pascual, Antonio Garcia, 2005. "Empirical exchange rate models of the nineties: Are any fit to survive?," Journal of International Money and Finance, Elsevier, vol. 24(7), pages 1150-1175, November.
    2. Womack, Kent L, 1996. "Do Brokerage Analysts' Recommendations Have Investment Value?," Journal of Finance, American Finance Association, vol. 51(1), pages 137-167, March.
    3. Tae Wan Kim & Matloob Khushi, 2020. "Portfolio Optimization with 2D Relative-Attentional Gated Transformer," Papers 2101.03138, arXiv.org.
    4. Pesaran, M Hashem & Timmermann, Allan, 1995. "Predictability of Stock Returns: Robustness and Economic Significance," Journal of Finance, American Finance Association, vol. 50(4), pages 1201-1228, September.
    5. Sung Jun Park & Ki Young Park, 2018. "Can Investors Profit from Security Analyst Recommendations?," Working papers 2018rwp-131, Yonsei University, Yonsei Economics Research Institute.
    6. Ling Qi & Matloob Khushi & Josiah Poon, 2021. "Event-Driven LSTM For Forex Price Prediction," Papers 2102.01499, arXiv.org.
    7. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    8. Nam, Jouahn & Wang, Jun & Xing, Cunyu & Zhang, Ge, 2018. "Are hated stocks good investments?," The North American Journal of Economics and Finance, Elsevier, vol. 43(C), pages 19-29.
    9. Zezheng Zhang & Matloob Khushi, 2020. "GA-MSSR: Genetic Algorithm Maximizing Sharpe and Sterling Ratio Method for RoboTrading," Papers 2008.09471, arXiv.org.
    10. Marks, Joseph & Yezegel, Ari, 2018. "Do aggregate analyst recommendations predict market returns in international markets?," International Review of Financial Analysis, Elsevier, vol. 59(C), pages 234-254.
    11. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    12. Corredor, Pilar & Ferrer, Elena & Santamaria, Rafael, 2019. "The role of sentiment and stock characteristics in the translation of analysts’ forecasts into recommendations," The North American Journal of Economics and Finance, Elsevier, vol. 49(C), pages 252-272.
    13. Premti, Arjan & Garcia-Feijoo, Luis & Madura, Jeff, 2017. "Information content of analyst recommendations in the banking industry," International Review of Financial Analysis, Elsevier, vol. 49(C), pages 35-47.
    14. Chiang, Ming-Ti & Lin, Mei-Chen, 2019. "Market sentiment and herding in analysts’ stock recommendations," The North American Journal of Economics and Finance, Elsevier, vol. 48(C), pages 48-64.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Dushmanta Kumar Padhi & Neelamadhab Padhy & Akash Kumar Bhoi & Jana Shafi & Muhammad Fazal Ijaz, 2021. "A Fusion Framework for Forecasting Financial Market Direction Using Enhanced Ensemble Models and Technical Indicators," Mathematics, MDPI, vol. 9(21), pages 1-31, October.
    2. Srivinay & B. C. Manujakshi & Mohan Govindsa Kabadi & Nagaraj Naik, 2022. "A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network," Data, MDPI, vol. 7(5), pages 1-11, April.
    3. Mimansa Rana & Nanxiang Mao & Ming Ao & Xiaohui Wu & Poning Liang & Matloob Khushi, 2021. "Clustering and attention model based for intelligent trading," Papers 2107.06782, arXiv.org, revised Aug 2021.
    4. Htet Htet Htun & Michael Biehl & Nicolai Petkov, 2023. "Survey of feature selection and extraction techniques for stock market prediction," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-25, December.
    5. Yunze Li & Yanan Xie & Chen Yu & Fangxing Yu & Bo Jiang & Matloob Khushi, 2021. "Feature importance recap and stacking models for forex price prediction," Papers 2107.14092, arXiv.org.
    6. Mukul Jaggi & Priyanka Mandal & Shreya Narang & Usman Naseem & Matloob Khushi, 2021. "Text Mining of Stocktwits Data for Predicting Stock Prices," Papers 2103.16388, arXiv.org.

    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. Peter F. Christoffersen & Francis X. Diebold, 2006. "Financial Asset Returns, Direction-of-Change Forecasting, and Volatility Dynamics," Management Science, INFORMS, vol. 52(8), pages 1273-1287, August.
    2. Wu, Chen-Hui, 2022. "The informativeness of brokerage reports: Privately-circulated versus publicly-disseminated news," International Review of Financial Analysis, Elsevier, vol. 83(C).
    3. Yunze Li & Yanan Xie & Chen Yu & Fangxing Yu & Bo Jiang & Matloob Khushi, 2021. "Feature importance recap and stacking models for forex price prediction," Papers 2107.14092, arXiv.org.
    4. Monica Martinez-Blasco & Vanessa Serrano & Francesc Prior & Jordi Cuadros, 2023. "Analysis of an event study using the Fama–French five-factor model: teaching approaches including spreadsheets and the R programming language," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-34, December.
    5. Mary J. Benner, 2010. "Securities Analysts and Incumbent Response to Radical Technological Change: Evidence from Digital Photography and Internet Telephony," Organization Science, INFORMS, vol. 21(1), pages 42-62, February.
    6. Chen, Yong & Kelly, Bryan & Wu, Wei, 2020. "Sophisticated investors and market efficiency: Evidence from a natural experiment," Journal of Financial Economics, Elsevier, vol. 138(2), pages 316-341.
    7. repec:ipg:wpaper:2013-020 is not listed on IDEAS
    8. Geweke, J. & Joel Horowitz & Pesaran, M.H., 2006. "Econometrics: A Bird’s Eye View," Cambridge Working Papers in Economics 0655, Faculty of Economics, University of Cambridge.
    9. Accominotti, Olivier & Chambers, David, 2016. "If You're So Smart: John Maynard Keynes and Currency Speculation in the Interwar Years," The Journal of Economic History, Cambridge University Press, vol. 76(2), pages 342-386, June.
    10. Ryan Bartens & Shakill Hassan, 2010. "Value, size and momentum portfolios in real time: the cross section of South African stocks," Australian Journal of Management, Australian School of Business, vol. 35(2), pages 181-202, August.
    11. dos Santos Maciel, Leandro, 2023. "Brazilian stock-market efficiency before and after COVID-19: The roles of fractality and predictability," Global Finance Journal, Elsevier, vol. 58(C).
    12. Lim, Terence & Lo, Andrew W. & Merton, Robert C. & Scholes, Myron S., 2006. "The Derivatives Sourcebook," Foundations and Trends(R) in Finance, now publishers, vol. 1(5–6), pages 365-572, April.
    13. Timmermann, Allan & Granger, Clive W. J., 2004. "Efficient market hypothesis and forecasting," International Journal of Forecasting, Elsevier, vol. 20(1), pages 15-27.
    14. Manuel Ammann & Christian Zenkner, 2003. "Tactical Asset Allocation mit Genetischen Algorithmen," Swiss Journal of Economics and Statistics (SJES), Swiss Society of Economics and Statistics (SSES), vol. 139(I), pages 1-40, March.
    15. Liping Wang & Jiawei Li & Lifan Zhao & Zhizhuo Kou & Xiaohan Wang & Xinyi Zhu & Hao Wang & Yanyan Shen & Lei Chen, 2023. "Methods for Acquiring and Incorporating Knowledge into Stock Price Prediction: A Survey," Papers 2308.04947, arXiv.org.
    16. Souček, Michael & Wasserek, Thomas, 2014. "Impact of analyst recommendations on stock returns: Evidence from the German stock market," Discussion Papers 358, European University Viadrina Frankfurt (Oder), Department of Business Administration and Economics.
    17. Gupta, Rangan & Hammoudeh, Shawkat & Modise, Mampho P. & Nguyen, Duc Khuong, 2014. "Can economic uncertainty, financial stress and consumer sentiments predict U.S. equity premium?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 33(C), pages 367-378.
    18. Gerritsen, Dirk F., 2016. "Are chartists artists? The determinants and profitability of recommendations based on technical analysis," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 179-196.
    19. Jaroslava Durčáková & Martin Mandel & Vladimír Tomšík, 2005. "Dynamický model nekryté úrokové parity (teorie a empirická verifikace v tranzitivních ekonomikách) [Dynamic model of uncovered interest rate parity (theory and empirical verification in the transit," Politická ekonomie, Prague University of Economics and Business, vol. 2005(3), pages 291-303.
    20. João M. Sousa & Ricardo M. Sousa, 2019. "Asset Returns Under Model Uncertainty: Evidence from the Euro Area, the US and the UK," Computational Economics, Springer;Society for Computational Economics, vol. 54(1), pages 139-176, June.
    21. Iregui, Ana María & Núñez, Héctor M. & Otero, Jesús, 2021. "Testing the efficiency of inflation and exchange rate forecast revisions in a changing economic environment," Journal of Economic Behavior & Organization, Elsevier, vol. 187(C), pages 290-314.

    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:2103.09106. 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.