IDEAS home Printed from https://ideas.repec.org/a/wly/jforec/v42y2023i7p1729-1749.html
   My bibliography  Save this article

A hybrid forecasting model based on deep learning feature extraction and statistical arbitrage methods for stock trading strategies

Author

Listed:
  • Weiqian Zhang
  • Songsong Li
  • Zhichang Guo
  • Yizhe Yang

Abstract

The time series data of financial markets are nonlinear, owing to rapid data accumulation. Thus, research on stock price prediction has always been a challenge. This study proposes a quantitative trading strategy that combines basic quantitative trading rules and deep learning methods to help investors realize arbitrage. We combine basic quantitative trading arbitrage with deep learning frameworks to fully extract market characteristics and develop trading strategies for investors. The hybrid forecasting model is a new signal‐trading system that uses a genetic algorithm to obtain optimal parameters for the technical indicator timing method of the moving average price. The deep learning structure of the CNN‐Bi‐LSTM, with the attention mechanism and modified loss function, optimizes the trading signal to achieve local optimization. Its core concept is to determine the trading signal through the local trend of price fluctuations and then correct the trading signal through the prediction results. A‐shares in the Chinese market trading data are used as the statistical arbitrage analysis process to output actual trading signals and verify the effectiveness of the system. The results demonstrate that an arbitrage strategy based only on moving average trading rules is ineffective. With the optimization of the deep learning CNN‐Bi‐LSTM framework, the arbitrage ability improves significantly. The optimized strategy can increase the final profit by 1.6042 to the greatest extent. The annualized revenue increased by 35.16%, and the winning rate increased by 15.22%. In addition, we consider the transaction costs during the simulated transaction process. An optimized trading strategy can effectively seize arbitrage opportunities; hence, its profitability and stability are significantly improved.

Suggested Citation

  • Weiqian Zhang & Songsong Li & Zhichang Guo & Yizhe Yang, 2023. "A hybrid forecasting model based on deep learning feature extraction and statistical arbitrage methods for stock trading strategies," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1729-1749, November.
  • Handle: RePEc:wly:jforec:v:42:y:2023:i:7:p:1729-1749
    DOI: 10.1002/for.2978
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/for.2978
    Download Restriction: no

    File URL: https://libkey.io/10.1002/for.2978?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Kim, Jae H. & Shamsuddin, Abul, 2008. "Are Asian stock markets efficient? Evidence from new multiple variance ratio tests," Journal of Empirical Finance, Elsevier, vol. 15(3), pages 518-532, June.
    2. 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.
    3. Neely, Christopher J. & Weller, Paul A. & Ulrich, Joshua M., 2009. "The Adaptive Markets Hypothesis: Evidence from the Foreign Exchange Market," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 44(2), pages 467-488, April.
    4. Doukas, John A. & Kim, Chansog (Francis) & Pantzalis, Christos, 2010. "Arbitrage Risk and Stock Mispricing," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 45(4), pages 907-934, August.
    5. Maria Rosa Borges, 2010. "Efficient market hypothesis in European stock markets," The European Journal of Finance, Taylor & Francis Journals, vol. 16(7), pages 711-726.
    6. Vikram Bali & Ajay Kumar & Satyam Gangwar, 2020. "A Novel Approach for Wind Speed Forecasting Using LSTM-ARIMA Deep Learning Models," International Journal of Agricultural and Environmental Information Systems (IJAEIS), IGI Global, vol. 11(3), pages 13-30, July.
    7. Brennan, Michael J & Schwartz, Eduardo S, 1990. "Arbitrage in Stock Index Futures," The Journal of Business, University of Chicago Press, vol. 63(1), pages 7-31, January.
    8. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    9. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    10. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    11. repec:pri:cepsud:91malkiel is not listed on IDEAS
    12. 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.
    13. Gu, Ming & Kang, Wenjin & Xu, Bu, 2018. "Limits of arbitrage and idiosyncratic volatility: Evidence from China stock market," Journal of Banking & Finance, Elsevier, vol. 86(C), pages 240-258.
    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. Stéphane Goutte & David Guerreiro & Bilel Sanhaji & Sophie Saglio & Julien Chevallier, 2019. "International Financial Markets," Post-Print halshs-02183053, HAL.
    2. Kim, Jae H. & Shamsuddin, Abul & Lim, Kian-Ping, 2011. "Stock return predictability and the adaptive markets hypothesis: Evidence from century-long U.S. data," Journal of Empirical Finance, Elsevier, vol. 18(5), pages 868-879.
    3. Sensoy, Ahmet & Tabak, Benjamin M., 2015. "Time-varying long term memory in the European Union stock markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 436(C), pages 147-158.
    4. Jitka Veselá & Alžběta Zíková, 2022. "Are the Czech, Polish, German and Dutch markets taking a random walk? [Konají český, polský, německý a nizozemský trh náhodnou procházku?]," Český finanční a účetní časopis, Prague University of Economics and Business, vol. 2022(2), pages 19-38.
    5. Akber, Ushna & Muhammad, Nabeel, 2013. "Is Pakistan Stock Market moving towards Weak-form efficiency? Evidence from the Karachi Stock Exchange and the Random Walk Nature of free-float of shares of KSE 30 Index," MPRA Paper 49128, University Library of Munich, Germany.
    6. Andrew Phiri, 2022. "Changing efficiency of BRICS currency markets during the COVID-19 pandemic," Economic Change and Restructuring, Springer, vol. 55(3), pages 1673-1699, August.
    7. repec:prg:jnlcfu:v:2022:y:2022:i:2:id:575 is not listed on IDEAS
    8. Ashok Chanabasangouda Patil & Shailesh Rastogi, 2019. "Time-Varying Price–Volume Relationship and Adaptive Market Efficiency: A Survey of the Empirical Literature," JRFM, MDPI, vol. 12(2), pages 1-18, June.
    9. Siddique, Maryam, 2023. "Does the Adaptive Market Hypothesis Exist in Equity Market? Evidence from Pakistan Stock Exchange," OSF Preprints 9b5dx, Center for Open Science.
    10. Asif, Raheel & Frömmel, Michael, 2022. "Testing Long memory in exchange rates and its implications for the adaptive market hypothesis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).
    11. Azubuike Samuel Agbam, 2015. "Tests of Random Walk and Efficient Market Hypothesis in Developing Economies: Evidence from Nigerian Capital Market," International Journal of Management Sciences, Research Academy of Social Sciences, vol. 5(1), pages 1-53.
    12. Sensoy, Ahmet & Aras, Guler & Hacihasanoglu, Erk, 2015. "Predictability dynamics of Islamic and conventional equity markets," The North American Journal of Economics and Finance, Elsevier, vol. 31(C), pages 222-248.
    13. Cristi Spulbar & Ramona Birau & Lucian Florin Spulbar, 2021. "A Critical Survey on Efficient Market Hypothesis (EMH), Adaptive Market Hypothesis (AMH) and Fractal Markets Hypothesis (FMH) Considering Their Implication on Stock Markets Behavior," Ovidius University Annals, Economic Sciences Series, Ovidius University of Constantza, Faculty of Economic Sciences, vol. 0(2), pages 1161-1165, December.
    14. Saqib Farid & Rubeena Tashfeen & Tahseen Mohsan & Arsal Burhan, 2023. "Forecasting stock prices using a data mining method: Evidence from emerging market," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 1911-1917, April.
    15. Ziliotto, Arianna & Serati, Massimiliano, 2015. "The semi-strong efficiency debate: In search of a new testing framework," Research in International Business and Finance, Elsevier, vol. 34(C), pages 412-438.
    16. Brice Corgnet & Cary Deck & Mark DeSantis & David Porter, 2022. "Forecasting Skills in Experimental Markets: Illusion or Reality?," Management Science, INFORMS, vol. 68(7), pages 5216-5232, July.
    17. Pernagallo, Giuseppe & Torrisi, Benedetto, 2020. "Blindfolded monkeys or financial analysts: Who is worth your money? New evidence on informational inefficiencies in the U.S. stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 539(C).
    18. Rompotis, Gerasimos G., 2011. "Testing weak-form efficiency of exchange traded funds market," MPRA Paper 36020, University Library of Munich, Germany.
    19. Boya, Christophe M., 2019. "From efficient markets to adaptive markets: Evidence from the French stock exchange," Research in International Business and Finance, Elsevier, vol. 49(C), pages 156-165.
    20. Kamal, Mona, 2014. "Studying the Validity of the Efficient Market Hypothesis (EMH) in the Egyptian Exchange (EGX) after the 25th of January Revolution," MPRA Paper 54708, University Library of Munich, Germany.
    21. Ushna Akber & Nabeel Muhammad, 2014. "Is Pakistan Stock Market Moving towards Weak-Form Efficiency? Evidence from The Karachi Stock Exchange and the Random Walk Nature of Free-Float of Shares of KSE 30 Index," Asian Economic and Financial Review, Asian Economic and Social Society, vol. 4(6), pages 808-836, June.

    More about this item

    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:wly:jforec:v:42:y:2023:i:7:p:1729-1749. 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: Wiley Content Delivery (email available below). General contact details of provider: http://www3.interscience.wiley.com/cgi-bin/jhome/2966 .

    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.