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. 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.
    2. 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.
    3. MohammadAmin Fazli & Parsa Alian & Ali Owfi & Erfan Loghmani, 2021. "RPS: Portfolio Asset Selection using Graph based Representation Learning," Papers 2111.15634, arXiv.org.
    4. Shima Nabiee & Nader Bagherzadeh, 2023. "Stock Trend Prediction: A Semantic Segmentation Approach," Papers 2303.09323, arXiv.org.
    5. Ahmet Murat Ozbayoglu & Mehmet Ugur Gudelek & Omer Berat Sezer, 2020. "Deep Learning for Financial Applications : A Survey," Papers 2002.05786, arXiv.org.
    6. 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.
    7. Jungsik Hwang, 2020. "Modeling Financial Time Series using LSTM with Trainable Initial Hidden States," Papers 2007.06848, 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. Edmonds, Christopher T. & Edmonds, Jennifer E. & Fu, Richard & Jenkins, David S., 2018. "Price momentum and the premium for meeting or beating analysts' forecasts of earnings," Advances in accounting, Elsevier, vol. 42(C), pages 34-47.
    2. 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.
    3. 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.
    4. Muhammad A. Cheema & Gilbert V. Nartea, 2017. "Cross-Sectional and Time-Series Momentum Returns and Market Dynamics: Are Islamic Stocks Different?," Working Papers in Economics 17/14, University of Canterbury, Department of Economics and Finance.
    5. 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.
    6. Li, Jun & Yu, Jianfeng, 2012. "Investor attention, psychological anchors, and stock return predictability," Journal of Financial Economics, Elsevier, vol. 104(2), pages 401-419.
    7. 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).
    8. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, September.
    9. Gunduz Caginalp & Mark DeSantis, 2019. "Nonlinear price dynamics of S&P 100 stocks," Papers 1907.04422, arXiv.org.
    10. Committee, Nobel Prize, 2013. "Understanding Asset Prices," Nobel Prize in Economics documents 2013-1, Nobel Prize Committee.
    11. Sadka, Ronnie, 2006. "Momentum and post-earnings-announcement drift anomalies: The role of liquidity risk," Journal of Financial Economics, Elsevier, vol. 80(2), pages 309-349, May.
    12. Kaizoji, Taisei & Leiss, Matthias & Saichev, Alexander & Sornette, Didier, 2015. "Super-exponential endogenous bubbles in an equilibrium model of fundamentalist and chartist traders," Journal of Economic Behavior & Organization, Elsevier, vol. 112(C), pages 289-310.
    13. 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.
    14. Choi, Darwin & Hui, Sam K., 2014. "The role of surprise: Understanding overreaction and underreaction to unanticipated events using in-play soccer betting market," Journal of Economic Behavior & Organization, Elsevier, vol. 107(PB), pages 614-629.
    15. 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.
    16. Andreas Neuhierl & Michael Weber & Michael Weber, 2017. "Monetary Momentum," CESifo Working Paper Series 6648, CESifo.
    17. Lu Zhang, 2017. "The Investment CAPM," European Financial Management, European Financial Management Association, vol. 23(4), pages 545-603, September.
    18. 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.
    19. Ron Bird & Xiaojun Gao & Danny Yeung, 2017. "Time-series and cross-sectional momentum strategies under alternative implementation strategies," Australian Journal of Management, Australian School of Business, vol. 42(2), pages 230-251, May.
    20. 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.

    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.