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

Predicting Stock Price Movement as an Image Classification Problem

Author

Listed:
  • Matej Steinbacher

Abstract

The paper studies intraday price movement of stocks that is considered as an image classification problem. Using a CNN-based model we make a compelling case for the high-level relationship between the first hour of trading and the close. The algorithm managed to adequately separate between the two opposing classes and investing according to the algorithm's predictions outperformed all alternative constructs but the theoretical maximum. To support the thesis, we ran several additional tests. The findings in the paper highlight the suitability of computer vision techniques for studying financial markets and in particular prediction of stock price movements.

Suggested Citation

  • Matej Steinbacher, 2023. "Predicting Stock Price Movement as an Image Classification Problem," Papers 2303.01111, arXiv.org.
  • Handle: RePEc:arx:papers:2303.01111
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Ivo Welch & Amit Goyal, 2008. "A Comprehensive Look at The Empirical Performance of Equity Premium Prediction," The Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1455-1508, July.
    2. Barberis, Nicholas & Thaler, Richard, 2003. "A survey of behavioral finance," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, edition 1, volume 1, chapter 18, pages 1053-1128, Elsevier.
    3. Hyun Sik Sim & Hae In Kim & Jae Joon Ahn, 2019. "Is Deep Learning for Image Recognition Applicable to Stock Market Prediction?," Complexity, Hindawi, vol. 2019, pages 1-10, February.
    4. Campbell, John Y., 1987. "Stock returns and the term structure," Journal of Financial Economics, Elsevier, vol. 18(2), pages 373-399, June.
    5. Keim, Donald B. & Stambaugh, Robert F., 1986. "Predicting returns in the stock and bond markets," Journal of Financial Economics, Elsevier, vol. 17(2), pages 357-390, December.
    6. Fama, Eugene F. & Schwert, G. William, 1977. "Asset returns and inflation," Journal of Financial Economics, Elsevier, vol. 5(2), pages 115-146, November.
    7. Bodie, Zvi, 1976. "Common Stocks as a Hedge against Inflation," Journal of Finance, American Finance Association, vol. 31(2), pages 459-470, May.
    8. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    9. Nicholas Barberis, 2000. "Investing for the Long Run when Returns Are Predictable," Journal of Finance, American Finance Association, vol. 55(1), pages 225-264, February.
    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. Davide Pettenuzzo & Francesco Ravazzolo, 2016. "Optimal Portfolio Choice Under Decision‐Based Model Combinations," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(7), pages 1312-1332, November.
    2. Hubert Dichtl, 2020. "Investing in the S&P 500 index: Can anything beat the buy‐and‐hold strategy?," Review of Financial Economics, John Wiley & Sons, vol. 38(2), pages 352-378, April.
    3. Ľuboš Pástor & Robert F. Stambaugh, 2009. "Predictive Systems: Living with Imperfect Predictors," Journal of Finance, American Finance Association, vol. 64(4), pages 1583-1628, August.
    4. Shanken, Jay & Tamayo, Ane, 2012. "Payout yield, risk, and mispricing: A Bayesian analysis," Journal of Financial Economics, Elsevier, vol. 105(1), pages 131-152.
    5. Davide Pettenuzzo & Francesco Ravazzolo, 2016. "Optimal Portfolio Choice Under Decision‐Based Model Combinations," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(7), pages 1312-1332, November.
    6. Arısoy, Yakup Eser & Altay-Salih, Aslıhan & Akdeniz, Levent, 2015. "Aggregate volatility expectations and threshold CAPM," The North American Journal of Economics and Finance, Elsevier, vol. 34(C), pages 231-253.
    7. Leland E. Farmer & Lawrence Schmidt & Allan Timmermann, 2023. "Pockets of Predictability," Journal of Finance, American Finance Association, vol. 78(3), pages 1279-1341, June.
    8. Christopher J. Neely & David E. Rapach & Jun Tu & Guofu Zhou, 2014. "Forecasting the Equity Risk Premium: The Role of Technical Indicators," Management Science, INFORMS, vol. 60(7), pages 1772-1791, July.
    9. Smith, Simon C., 2021. "International stock return predictability," International Review of Financial Analysis, Elsevier, vol. 78(C).
    10. Demetrescu, Matei & Georgiev, Iliyan & Rodrigues, Paulo M.M. & Taylor, A.M. Robert, 2022. "Testing for episodic predictability in stock returns," Journal of Econometrics, Elsevier, vol. 227(1), pages 85-113.
    11. Massimo Guidolin & Alexei G. Orlov, 2022. "Can Investors Benefit from Hedge Fund Strategies? Utility-Based, Out-of-Sample Evidence," Quarterly Journal of Finance (QJF), World Scientific Publishing Co. Pte. Ltd., vol. 12(03), pages 1-61, September.
    12. Guidolin, Massimo & Hyde, Stuart, 2012. "Can VAR models capture regime shifts in asset returns? A long-horizon strategic asset allocation perspective," Journal of Banking & Finance, Elsevier, vol. 36(3), pages 695-716.
    13. Yacine AÏT‐SAHALI & Michael W. Brandt, 2001. "Variable Selection for Portfolio Choice," Journal of Finance, American Finance Association, vol. 56(4), pages 1297-1351, August.
    14. T.J. Flavin & M.R. Wickens, 2003. "Macroeconomic influences on optimal asset allocation," Review of Financial Economics, John Wiley & Sons, vol. 12(2), pages 207-231.
    15. Li, Xiyang & Chen, Xiaoyue & Li, Bin & Singh, Tarlok & Shi, Kan, 2022. "Predictability of stock market returns: New evidence from developed and developing countries," Global Finance Journal, Elsevier, vol. 54(C).
    16. 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.
    17. Wachter, Jessica A. & Warusawitharana, Missaka, 2009. "Predictable returns and asset allocation: Should a skeptical investor time the market?," Journal of Econometrics, Elsevier, vol. 148(2), pages 162-178, February.
    18. Zhang, Yuzhao, 2014. "Contrarian flows, consumption and expected stock returns," Journal of Banking & Finance, Elsevier, vol. 42(C), pages 101-111.
    19. Maio, Paulo & Santa-Clara, Pedro, 2012. "Multifactor models and their consistency with the ICAPM," Journal of Financial Economics, Elsevier, vol. 106(3), pages 586-613.
    20. Jessica A. Wachter, 2010. "Asset Allocation," Annual Review of Financial Economics, Annual Reviews, vol. 2(1), pages 175-206, December.

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