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

Deep Stock Representation Learning: From Candlestick Charts to Investment Decisions

Author

Listed:
  • Guosheng Hu
  • Yuxin Hu
  • Kai Yang
  • Zehao Yu
  • Flood Sung
  • Zhihong Zhang
  • Fei Xie
  • Jianguo Liu
  • Neil Robertson
  • Timothy Hospedales
  • Qiangwei Miemie

Abstract

We propose a novel investment decision strategy (IDS) based on deep learning. The performance of many IDSs is affected by stock similarity. Most existing stock similarity measurements have the problems: (a) The linear nature of many measurements cannot capture nonlinear stock dynamics; (b) The estimation of many similarity metrics (e.g. covariance) needs very long period historic data (e.g. 3K days) which cannot represent current market effectively; (c) They cannot capture translation-invariance. To solve these problems, we apply Convolutional AutoEncoder to learn a stock representation, based on which we propose a novel portfolio construction strategy by: (i) using the deeply learned representation and modularity optimisation to cluster stocks and identify diverse sectors, (ii) picking stocks within each cluster according to their Sharpe ratio (Sharpe 1994). Overall this strategy provides low-risk high-return portfolios. We use the Financial Times Stock Exchange 100 Index (FTSE 100) data for evaluation. Results show our portfolio outperforms FTSE 100 index and many well known funds in terms of total return in 2000 trading days.

Suggested Citation

  • Guosheng Hu & Yuxin Hu & Kai Yang & Zehao Yu & Flood Sung & Zhihong Zhang & Fei Xie & Jianguo Liu & Neil Robertson & Timothy Hospedales & Qiangwei Miemie, 2017. "Deep Stock Representation Learning: From Candlestick Charts to Investment Decisions," Papers 1709.03803, arXiv.org, revised Feb 2018.
  • Handle: RePEc:arx:papers:1709.03803
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Tola, Vincenzo & Lillo, Fabrizio & Gallegati, Mauro & Mantegna, Rosario N., 2008. "Cluster analysis for portfolio optimization," Journal of Economic Dynamics and Control, Elsevier, vol. 32(1), pages 235-258, January.
    2. Fama, Eugene F., 1998. "Market efficiency, long-term returns, and behavioral finance," Journal of Financial Economics, Elsevier, vol. 49(3), pages 283-306, September.
    3. Barberis, Nicholas & Shleifer, Andrei & Vishny, Robert, 1998. "A model of investor sentiment," Journal of Financial Economics, Elsevier, vol. 49(3), pages 307-343, September.
    4. David Silver & Aja Huang & Chris J. Maddison & Arthur Guez & Laurent Sifre & George van den Driessche & Julian Schrittwieser & Ioannis Antonoglou & Veda Panneershelvam & Marc Lanctot & Sander Dieleman, 2016. "Mastering the game of Go with deep neural networks and tree search," Nature, Nature, vol. 529(7587), pages 484-489, January.
    5. Nauzer Balsara & Lin Zheng, 2006. "Profiting from past winners and losers," Journal of Asset Management, Palgrave Macmillan, vol. 6(5), pages 329-344, January.
    6. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    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. Shima Nabiee & Nader Bagherzadeh, 2023. "Stock Trend Prediction: A Semantic Segmentation Approach," Papers 2303.09323, arXiv.org.
    2. Ahmet Murat Ozbayoglu & Mehmet Ugur Gudelek & Omer Berat Sezer, 2020. "Deep Learning for Financial Applications : A Survey," Papers 2002.05786, arXiv.org.
    3. Chih-Chieh Hung & Ying-Ju Chen, 2021. "DPP: Deep predictor for price movement from candlestick charts," PLOS ONE, Public Library of Science, vol. 16(6), pages 1-22, June.
    4. MohammadAmin Fazli & Parsa Alian & Ali Owfi & Erfan Loghmani, 2021. "RPS: Portfolio Asset Selection using Graph based Representation Learning," Papers 2111.15634, arXiv.org.
    5. Jungsik Hwang, 2020. "Modeling Financial Time Series using LSTM with Trainable Initial Hidden States," Papers 2007.06848, arXiv.org.
    6. Yash Thesia & Vidhey Oza & Priyank Thakkar, 2022. "A dynamic scenario‐driven technique for stock price prediction and trading," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(3), pages 653-674, April.
    7. Xing Wang & Yijun Wang & Bin Weng & Aleksandr Vinel, 2020. "Stock2Vec: A Hybrid Deep Learning Framework for Stock Market Prediction with Representation Learning and Temporal Convolutional Network," Papers 2010.01197, 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. AltInkIlIç, Oya & Hansen, Robert S., 2009. "On the information role of stock recommendation revisions," Journal of Accounting and Economics, Elsevier, vol. 48(1), pages 17-36, October.
    2. Eero Pätäri & Timo Leivo, 2017. "A Closer Look At Value Premium: Literature Review And Synthesis," Journal of Economic Surveys, Wiley Blackwell, vol. 31(1), pages 79-168, February.
    3. Wu, Chen-Hui & Wu, Chin-Shun & Liu, Victor W., 2009. "The conservatism bias in an emerging stock market: Evidence from Taiwan," Pacific-Basin Finance Journal, Elsevier, vol. 17(4), pages 494-505, September.
    4. Hofmann, Daniel & Keiber, Karl Ludwig & Luczak, Adalbert, 2022. "Up and down together? On the linkage of momentum and reversal," Global Finance Journal, Elsevier, vol. 54(C).
    5. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, February.
    6. Gunduz Caginalp & Mark DeSantis, 2019. "Nonlinear price dynamics of S&P 100 stocks," Papers 1907.04422, arXiv.org.
    7. Gerlich, Nikolas & Rostek, Stefan, 2015. "Estimating serial correlation and self-similarity in financial time series—A diversification approach with applications to high frequency data," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 434(C), pages 84-98.
    8. Schwert, G. William, 2003. "Anomalies and market efficiency," 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 15, pages 939-974, Elsevier.
    9. Andreas Neuhierl & Michael Weber & Michael Weber, 2017. "Monetary Momentum," CESifo Working Paper Series 6648, CESifo.
    10. Lu Zhang, 2017. "The Investment CAPM," European Financial Management, European Financial Management Association, vol. 23(4), pages 545-603, September.
    11. Cohen, Randolph B. & Gompers, Paul A. & Vuolteenaho, Tuomo, 2002. "Who underreacts to cash-flow news? evidence from trading between individuals and institutions," Journal of Financial Economics, Elsevier, vol. 66(2-3), pages 409-462.
    12. Daniel, Kent & Hirshleifer, David & Teoh, Siew Hong, 2002. "Investor psychology in capital markets: evidence and policy implications," Journal of Monetary Economics, Elsevier, vol. 49(1), pages 139-209, January.
    13. Lin, Shengle & Rassenti, Stephen, 2012. "Are under- and over-reaction the same matter? Experimental evidence," Journal of Economic Behavior & Organization, Elsevier, vol. 84(1), pages 39-61.
    14. Chin-Sheng Huang & Chun-Fan You & Hueh-Chen Lin, 2014. "Dividend-Yield Trading Strategies: Evidence from the Chinese Stock Market," International Journal of Economics and Financial Issues, Econjournals, vol. 4(2), pages 382-399.
    15. Winter, Christoph, 2018. "The Impact of Heterogeneous Signals on Stock Price Predictability in a Strategic Trade Model," Working papers 2018/22, Faculty of Business and Economics - University of Basel.
    16. Alhenawi, Yasser, 2015. "On the interaction between momentum effect and size effect," Review of Financial Economics, Elsevier, vol. 26(C), pages 36-46.
    17. Hans-Peter Burghof & Felix Prothmann, 2011. "The 52-week high strategy and information uncertainty," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 25(4), pages 345-378, December.
    18. Safieddine, Assem & Sonti, Ramana, 2007. "Momentum and industry growth," Review of Financial Economics, Elsevier, vol. 16(2), pages 203-215.
    19. Jared Egginton & Jungshik Hur & Vivek Singh, 2019. "The impact of elasticity on disposition effect driven momentum, substitutability, size, and January seasonality," Review of Quantitative Finance and Accounting, Springer, vol. 52(3), pages 759-780, April.
    20. YalçIn, Atakan, 2008. "Gradual information diffusion and contrarian strategies," The Quarterly Review of Economics and Finance, Elsevier, vol. 48(3), pages 579-604, August.

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