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

Financial Markets Prediction with Deep Learning

Author

Listed:
  • Jia Wang
  • Tong Sun
  • Benyuan Liu
  • Yu Cao
  • Degang Wang

Abstract

Financial markets are difficult to predict due to its complex systems dynamics. Although there have been some recent studies that use machine learning techniques for financial markets prediction, they do not offer satisfactory performance on financial returns. We propose a novel one-dimensional convolutional neural networks (CNN) model to predict financial market movement. The customized one-dimensional convolutional layers scan financial trading data through time, while different types of data, such as prices and volume, share parameters (kernels) with each other. Our model automatically extracts features instead of using traditional technical indicators and thus can avoid biases caused by selection of technical indicators and pre-defined coefficients in technical indicators. We evaluate the performance of our prediction model with strictly backtesting on historical trading data of six futures from January 2010 to October 2017. The experiment results show that our CNN model can effectively extract more generalized and informative features than traditional technical indicators, and achieves more robust and profitable financial performance than previous machine learning approaches.

Suggested Citation

  • Jia Wang & Tong Sun & Benyuan Liu & Yu Cao & Degang Wang, 2021. "Financial Markets Prediction with Deep Learning," Papers 2104.05413, arXiv.org.
  • Handle: RePEc:arx:papers:2104.05413
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Andrew W. Lo, A. Craig MacKinlay, 1988. "Stock Market Prices do not Follow Random Walks: Evidence from a Simple Specification Test," The Review of Financial Studies, Society for Financial Studies, vol. 1(1), pages 41-66.
    2. Timmermann, Allan & Granger, Clive W. J., 2004. "Efficient market hypothesis and forecasting," International Journal of Forecasting, Elsevier, vol. 20(1), pages 15-27.
    3. Andrew W. Lo & Harry Mamaysky & Jiang Wang, 2000. "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation," Journal of Finance, American Finance Association, vol. 55(4), pages 1705-1765, August.
    4. Ryan Sullivan & Allan Timmermann & Halbert White, 1999. "Data‐Snooping, Technical Trading Rule Performance, and the Bootstrap," Journal of Finance, American Finance Association, vol. 54(5), pages 1647-1691, October.
    5. Cheol‐Ho Park & Scott H. Irwin, 2007. "What Do We Know About The Profitability Of Technical Analysis?," Journal of Economic Surveys, Wiley Blackwell, vol. 21(4), pages 786-826, September.
    6. Gencay, Ramazan, 1998. "The predictability of security returns with simple technical trading rules," Journal of Empirical Finance, Elsevier, vol. 5(4), pages 347-359, October.
    7. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    8. Brock, William & Lakonishok, Josef & LeBaron, Blake, 1992. "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns," Journal of Finance, American Finance Association, vol. 47(5), pages 1731-1764, December.
    9. F. FernAndez-RodrIguez & S. Sosvilla-Rivero & J. Andrada-FElix, 2003. "Technical analysis in foreign exchange markets: evidence from the EMS," Applied Financial Economics, Taylor & Francis Journals, vol. 13(2), pages 113-122.
    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. Cheol‐Ho Park & Scott H. Irwin, 2007. "What Do We Know About The Profitability Of Technical Analysis?," Journal of Economic Surveys, Wiley Blackwell, vol. 21(4), pages 786-826, September.
    2. Gerritsen, Dirk F., 2016. "Are chartists artists? The determinants and profitability of recommendations based on technical analysis," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 179-196.
    3. Jying‐Nan Wang & Hung‐Chun Liu & Jiangze Du & Yuan‐Teng Hsu, 2019. "Economic benefits of technical analysis in portfolio management: Evidence from global stock markets," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 24(2), pages 890-902, April.
    4. Qing Zhou & Robert Faff, 2017. "The complementary role of cross-sectional and time-series information in forecasting stock returns," Australian Journal of Management, Australian School of Business, vol. 42(1), pages 113-139, February.
    5. Rapach, David & Zhou, Guofu, 2013. "Forecasting Stock Returns," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 328-383, Elsevier.
    6. Chong, Terence Tai-Leung & Lam, Tau-Hing & Yan, Isabel Kit-Ming, 2012. "Is the Chinese stock market really inefficient?," China Economic Review, Elsevier, vol. 23(1), pages 122-137.
    7. Farias Nazário, Rodolfo Toríbio & e Silva, Jéssica Lima & Sobreiro, Vinicius Amorim & Kimura, Herbert, 2017. "A literature review of technical analysis on stock markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 66(C), pages 115-126.
    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. Jin, Xiaoye, 2021. "What do we know about the popularity of technical analysis in foreign exchange markets? A skewness preference perspective," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 71(C).
    10. Christopher J. Neely & Paul A. Weller, 2011. "Technical analysis in the foreign exchange market," Working Papers 2011-001, Federal Reserve Bank of St. Louis.
    11. Li-Xin Wang, 2014. "Dynamical Models of Stock Prices Based on Technical Trading Rules Part I: The Models," Papers 1401.1888, arXiv.org, revised Feb 2016.
    12. Matheus José Silva de Souza & Danilo Guimarães Franco Ramos & Marina Garcia Pena & Vinicius Amorim Sobreiro & Herbert Kimura, 2018. "Examination of the profitability of technical analysis based on moving average strategies in BRICS," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 4(1), pages 1-18, December.
    13. Zhu, Yingzi & Zhou, Guofu, 2009. "Technical analysis: An asset allocation perspective on the use of moving averages," Journal of Financial Economics, Elsevier, vol. 92(3), pages 519-544, June.
    14. Ebert, Sebastian & Hilpert, Christian, 2019. "Skewness preference and the popularity of technical analysis," Journal of Banking & Finance, Elsevier, vol. 109(C).
    15. Pereira, Pedro L. Valls, 2009. "Ombro-cabeça-ombro: testando a lucratividade do padrão gráfico de análise técnica no mercado de ações brasileiro," Textos para discussão 181, FGV EESP - Escola de Economia de São Paulo, Fundação Getulio Vargas (Brazil).
    16. Yochanan Shachmurove & Uri BenZion & Paul Klein & Joseph Yagil, 2001. "A Moving Average Comparison of the Tel-Aviv 25 and S&P 500 Stock Indices," Penn CARESS Working Papers 4731f3394c43bebf4d3191c81, Penn Economics Department.
    17. Jacinta Chan Phooi M’ng & Rozaimah Zainudin, 2016. "Assessing the Efficacy of Adjustable Moving Averages Using ASEAN-5 Currencies," PLOS ONE, Public Library of Science, vol. 11(8), pages 1-19, August.
    18. Hung, Chiayu & Lai, Hung-Neng, 2022. "Information asymmetry and the profitability of technical analysis," Journal of Banking & Finance, Elsevier, vol. 134(C).
    19. Shynkevich, Andrei, 2012. "Performance of technical analysis in growth and small cap segments of the US equity market," Journal of Banking & Finance, Elsevier, vol. 36(1), pages 193-208.
    20. Cajueiro, Daniel O. & Tabak, Benjamin M., 2006. "Testing for predictability in equity returns for European transition markets," Economic Systems, Elsevier, vol. 30(1), pages 56-78, March.

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