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. Shanken, Jay & Tamayo, Ane, 2012. "Payout yield, risk, and mispricing: A Bayesian analysis," Journal of Financial Economics, Elsevier, vol. 105(1), pages 131-152.
    2. Ľ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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. Zhang, Yuzhao, 2014. "Contrarian flows, consumption and expected stock returns," Journal of Banking & Finance, Elsevier, vol. 42(C), pages 101-111.
    13. Jessica A. Wachter, 2010. "Asset Allocation," Annual Review of Financial Economics, Annual Reviews, vol. 2(1), pages 175-206, December.
    14. Pettenuzzo, Davide & Timmermann, Allan & Valkanov, Rossen, 2014. "Forecasting stock returns under economic constraints," Journal of Financial Economics, Elsevier, vol. 114(3), pages 517-553.
    15. Paye, Bradley S. & Timmermann, Allan, 2006. "Instability of return prediction models," Journal of Empirical Finance, Elsevier, vol. 13(3), pages 274-315, June.
    16. Tim Bollerslev & George Tauchen & Hao Zhou, 2009. "Expected Stock Returns and Variance Risk Premia," The Review of Financial Studies, Society for Financial Studies, vol. 22(11), pages 4463-4492, November.
    17. Henkel, Sam James & Martin, J. Spencer & Nardari, Federico, 2011. "Time-varying short-horizon predictability," Journal of Financial Economics, Elsevier, vol. 99(3), pages 560-580, March.
    18. Petkova, Ralitsa & Zhang, Lu, 2005. "Is value riskier than growth?," Journal of Financial Economics, Elsevier, vol. 78(1), pages 187-202, October.
    19. Hai Lin & Daniel Quill & Henk Berkman, 2016. "Information diffusion and the predictability of New Zealand stock market returns," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 56(3), pages 749-785, September.
    20. Davide Pettenuzzo & Allan G. Timmermann & Rossen I. Valkanov, 2008. "Return Predictability under Equilibrium Constraints on the Equity Premium," Working Papers 37, Brandeis University, Department of Economics and International Business School.

    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.