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

Using a Deep Learning Model to Simulate Human Stock Trader's Methods of Chart Analysis

Author

Listed:
  • Sungwoo Kang
  • Jong-Kook Kim

Abstract

Despite the efficient market hypothesis, many studies suggest the existence of inefficiencies in the stock market leading to the development of techniques to gain above-market returns. Systematic trading has undergone significant advances in recent decades with deep learning schemes emerging as a powerful tool for analyzing and predicting market behavior. In this paper, a method is proposed that is inspired by how professional technical analysts trade. This scheme looks at stock prices of the previous 600 days and predicts whether the stock price will rise or fall 10% or 20% within the next D days. The proposed method uses the Resnet's (a deep learning model) skip connections and logits to increase the probability of the prediction. The model was trained and tested using historical data from both the Korea and US stock markets. The backtest is done using the data from 2020 to 2022. Using the proposed method for the Korea market it gave return of 75.36% having Sharpe ratio of 1.57, which far exceeds the market return by 36% and 0.61, respectively. On the US market it gives total return of 27.17% with Sharpe ratio of 0.61, which outperforms other benchmarks such as NASDAQ, S&P500, DOW JONES index by 17.69% and 0.27, respectively.

Suggested Citation

  • Sungwoo Kang & Jong-Kook Kim, 2023. "Using a Deep Learning Model to Simulate Human Stock Trader's Methods of Chart Analysis," Papers 2304.14870, arXiv.org, revised Apr 2024.
  • Handle: RePEc:arx:papers:2304.14870
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Ghosh, Pushpendu & Neufeld, Ariel & Sahoo, Jajati Keshari, 2022. "Forecasting directional movements of stock prices for intraday trading using LSTM and random forests," Finance Research Letters, Elsevier, vol. 46(PA).
    2. 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.
    3. Maqsood, Haider & Mehmood, Irfan & Maqsood, Muazzam & Yasir, Muhammad & Afzal, Sitara & Aadil, Farhan & Selim, Mahmoud Mohamed & Muhammad, Khan, 2020. "A local and global event sentiment based efficient stock exchange forecasting using deep learning," International Journal of Information Management, Elsevier, vol. 50(C), pages 432-451.
    4. Rosdyana Mangir Irawan Kusuma & Trang-Thi Ho & Wei-Chun Kao & Yu-Yen Ou & Kai-Lung Hua, 2019. "Using Deep Learning Neural Networks and Candlestick Chart Representation to Predict Stock Market," Papers 1903.12258, arXiv.org.
    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. Harrison Hong & Terence Lim & Jeremy C. Stein, 2000. "Bad News Travels Slowly: Size, Analyst Coverage, and the Profitability of Momentum Strategies," Journal of Finance, American Finance Association, vol. 55(1), pages 265-295, February.
    2. Berg, Joyce E. & Rietz, Thomas A., 2019. "Longshots, overconfidence and efficiency on the Iowa Electronic Market," International Journal of Forecasting, Elsevier, vol. 35(1), pages 271-287.
    3. Rojahn, Joachim & Röhl, Christian W. & Frère, Eric, 2010. "Optimum Portfolio ETF Indices: Benchmarking für multidimensional diversifizierte Wertpapierportfolios," Berichte aus der Forschung der FOM 75202, FOM Hochschule für Oekonomie & Management.
    4. Shi, Huai-Long & Zhou, Wei-Xing, 2022. "Factor volatility spillover and its implications on factor premia," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 80(C).
    5. David A. Volkman, 1999. "Market Volatility And Perverse Timing Performance Of Mutual Fund Managers," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 22(4), pages 449-470, December.
    6. Pastor, Lubos & Stambaugh, Robert F., 2003. "Liquidity Risk and Expected Stock Returns," Journal of Political Economy, University of Chicago Press, vol. 111(3), pages 642-685, June.
    7. Klaus Grobys & James W. Kolari & Jere Rutanen, 2022. "Factor momentum, option-implied volatility scaling, and investor sentiment," Journal of Asset Management, Palgrave Macmillan, vol. 23(2), pages 138-155, March.
    8. Constantinos Antoniou & John A. Doukas & Avanidhar Subrahmanyam, 2016. "Investor Sentiment, Beta, and the Cost of Equity Capital," Management Science, INFORMS, vol. 62(2), pages 347-367, February.
    9. Agarwal, Vikas & Gay, Gerald D. & Ling, Leng, 2011. "Window dressing in mutual funds," CFR Working Papers 11-07, University of Cologne, Centre for Financial Research (CFR).
    10. Siddiqi, Hammad, 2015. "Anchoring and Adjustment Heuristic: A Unified Explanation for Equity Puzzles," MPRA Paper 68729, University Library of Munich, Germany.
    11. Philip A. Stork, 2011. "The intertemporal mechanics of European stock price momentum," Studies in Economics and Finance, Emerald Group Publishing Limited, vol. 28(3), pages 217-232, August.
    12. Brad M. Barber & Yi‐Tsung Lee & Yu‐Jane Liu & Terrance Odean, 2007. "Is the Aggregate Investor Reluctant to Realise Losses? Evidence from Taiwan," European Financial Management, European Financial Management Association, vol. 13(3), pages 423-447, June.
    13. Dimitrios D. Thomakos & Michail S. Koubouros, 2011. "The Role of Realised Volatility in the Athens Stock Exchange," Multinational Finance Journal, Multinational Finance Journal, vol. 15(1-2), pages 87-124, March - J.
    14. 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.
    15. Tobias J. Moskowitz & Mark Grinblatt, 2002. "What Do We Really Know About the Cross-Sectional Relation Between Past and Expected Returns?," Yale School of Management Working Papers ysm259, Yale School of Management.
    16. 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.
    17. John H. Cochrane, 1999. "New facts in finance," Economic Perspectives, Federal Reserve Bank of Chicago, vol. 23(Q III), pages 36-58.
    18. Turan G. Bali & Robert F. Engle & Yi Tang, 2017. "Dynamic Conditional Beta Is Alive and Well in the Cross Section of Daily Stock Returns," Management Science, INFORMS, vol. 63(11), pages 3760-3779, November.
    19. David Peón & Anxo Calvo, 2012. "Using Behavioral Economics to Analyze Credit Policies in the Banking Industry," European Research Studies Journal, European Research Studies Journal, vol. 0(3), pages 145-160.
    20. Cakici, Nusret & Zaremba, Adam, 2022. "Salience theory and the cross-section of stock returns: International and further evidence," Journal of Financial Economics, Elsevier, vol. 146(2), pages 689-725.

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