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

Using Company Specific Headlines and Convolutional Neural Networks to Predict Stock Fluctuations

Author

Listed:
  • Jonathan Readshaw
  • Stefano Giani

Abstract

This work presents a Convolutional Neural Network (CNN) for the prediction of next-day stock fluctuations using company-specific news headlines. Experiments to evaluate model performance using various configurations of word-embeddings and convolutional filter widths are reported. The total number of convolutional filters used is far fewer than is common, reducing the dimensionality of the task without loss of accuracy. Furthermore, multiple hidden layers with decreasing dimensionality are employed. A classification accuracy of 61.7\% is achieved using pre-learned embeddings, that are fine-tuned during training to represent the specific context of this task. Multiple filter widths are also implemented to detect different length phrases that are key for classification. Trading simulations are conducted using the presented classification results. Initial investments are more than tripled over a 838 day testing period using the optimal classification configuration and a simple trading strategy. Two novel methods are presented to reduce the risk of the trading simulations. Adjustment of the sigmoid class threshold and re-labelling headlines using multiple classes form the basis of these methods. A combination of these approaches is found to more than double the Average Trade Profit (ATP) achieved during baseline simulations.

Suggested Citation

  • Jonathan Readshaw & Stefano Giani, 2020. "Using Company Specific Headlines and Convolutional Neural Networks to Predict Stock Fluctuations," Papers 2006.12426, arXiv.org.
  • Handle: RePEc:arx:papers:2006.12426
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. P. M. Lerman, 1980. "Fitting Segmented Regression Models by Grid Search," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 29(1), pages 77-84, March.
    2. Ghysels, Eric & Santa-Clara, Pedro & Valkanov, Rossen, 2005. "There is a risk-return trade-off after all," Journal of Financial Economics, Elsevier, vol. 76(3), pages 509-548, June.
    3. Werner Antweiler & Murray Z. Frank, 2004. "Is All That Talk Just Noise? The Information Content of Internet Stock Message Boards," Journal of Finance, American Finance Association, vol. 59(3), pages 1259-1294, June.
    4. 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.
    5. Bomfim, Antulio N., 2003. "Pre-announcement effects, news effects, and volatility: Monetary policy and the stock market," Journal of Banking & Finance, Elsevier, vol. 27(1), pages 133-151, January.
    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. Wang, Wenzhao & Duxbury, Darren, 2021. "Institutional investor sentiment and the mean-variance relationship: Global evidence," Journal of Economic Behavior & Organization, Elsevier, vol. 191(C), pages 415-441.
    2. Ung, Sze Nie & Gebka, Bartosz & Anderson, Robert D.J., 2023. "Is sentiment the solution to the risk–return puzzle? A (cautionary) note," Journal of Behavioral and Experimental Finance, Elsevier, vol. 37(C).
    3. Bin Liu & Ramesh Govindan & Brian Uzzi, 2016. "Do Emotions Expressed Online Correlate with Actual Changes in Decision-Making?: The Case of Stock Day Traders," PLOS ONE, Public Library of Science, vol. 11(1), pages 1-11, January.
    4. Stylianos X. Koufadakis, 2015. "Asymmetries on Closed End Country Funds Premium and Monetary Policy Announcements: An Approach Trough the Perspective of Foreign Countries," SPOUDAI Journal of Economics and Business, SPOUDAI Journal of Economics and Business, University of Piraeus, vol. 65(3-4), pages 29-65, july-Dece.
    5. Sensoy, Ahmet & Tabak, Benjamin M., 2016. "Dynamic efficiency of stock markets and exchange rates," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 353-371.
    6. Sun, Andrew & Lachanski, Michael & Fabozzi, Frank J., 2016. "Trade the tweet: Social media text mining and sparse matrix factorization for stock market prediction," International Review of Financial Analysis, Elsevier, vol. 48(C), pages 272-281.
    7. Hailiang Huang & Yanhong Li & Yingying Zhang, 2018. "Investors’ attention and overpricing of IPO: an empirical study on China’s growth enterprise market," Information Systems and e-Business Management, Springer, vol. 16(4), pages 761-774, November.
    8. Baker, Malcolm & Wurgler, Jeffrey & Yuan, Yu, 2012. "Global, local, and contagious investor sentiment," Journal of Financial Economics, Elsevier, vol. 104(2), pages 272-287.
    9. Duygu Ider & Stefan Lessmann, 2022. "Forecasting Cryptocurrency Returns from Sentiment Signals: An Analysis of BERT Classifiers and Weak Supervision," Papers 2204.05781, arXiv.org, revised Mar 2023.
    10. Vojtěch Fiala & Svatopluk Kapounek & Ondřej Veselý, 2015. "Impact of Social Media on the Stock Market: Evidence from Tweets," European Journal of Business Science and Technology, Mendel University in Brno, Faculty of Business and Economics, vol. 1(1), pages 24-35.
    11. Philipp Stephan & Rüdiger Nitzsch, 2013. "Do individual investors’ stock recommendations in online communities contain investment value?," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 27(2), pages 149-186, June.
    12. Massimiliano Caporin & Francesco Poli, 2017. "Building News Measures from Textual Data and an Application to Volatility Forecasting," Econometrics, MDPI, vol. 5(3), pages 1-46, August.
    13. 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.
    14. Goodell, John W. & Kumar, Satish & Lim, Weng Marc & Pattnaik, Debidutta, 2021. "Artificial intelligence and machine learning in finance: Identifying foundations, themes, and research clusters from bibliometric analysis," Journal of Behavioral and Experimental Finance, Elsevier, vol. 32(C).
    15. Caporale, Guglielmo Maria & Spagnolo, Fabio & Spagnolo, Nicola, 2018. "Exchange rates and macro news in emerging markets," Research in International Business and Finance, Elsevier, vol. 46(C), pages 516-527.
    16. Abdi, Farshid & Kormanyos, Emily & Pelizzon, Loriana & Getmansky, Mila & Simon, Zorka, 2021. "Market impact of government communication: The case of presidential tweets," SAFE Working Paper Series 314, Leibniz Institute for Financial Research SAFE, revised 2021.
    17. Blankespoor, Elizabeth & deHaan, Ed & Marinovic, Iván, 2020. "Disclosure processing costs, investors’ information choice, and equity market outcomes: A review," Journal of Accounting and Economics, Elsevier, vol. 70(2).
    18. Mao, Huina & Counts, Scott & Bollen, Johan, 2015. "Quantifying the effects of online bullishness on international financial markets," Statistics Paper Series 09, European Central Bank.
    19. Thai-Ha Le & Donghyun Park & Cong-Phu-Khanh Tran & Binh Tran-Nam, 2018. "The Impact of the Hai Yang Shi You 981 Event on Vietnam’s Stock Markets," Journal of Emerging Market Finance, Institute for Financial Management and Research, vol. 17(3_suppl), pages 344-375, December.
    20. Boubaker, Sabri & Liu, Zhenya & Zhai, Ling, 2021. "Big data, news diversity and financial market crash," Technological Forecasting and Social Change, Elsevier, vol. 168(C).

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