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

A dynamic scenario‐driven technique for stock price prediction and trading

Author

Listed:
  • Yash Thesia
  • Vidhey Oza
  • Priyank Thakkar

Abstract

It has always been a challenge to accurately forecast the behavior of a stock market due to its extremely nonlinear and dynamic nature. Numerous studies have shown that technical indicators describing stocks in conjunction with machine learning models can serve as useful tools for forecasting in the stock market. There are various challenges, and one of them is the choice of the right technical indicators and prediction models. It is believed that there is no optimal set of technical indicators that work well in all market scenarios in a dynamic environment such as the stock market. The statement also applies to different prediction models. There is no definite winner, and different settings can emerge as winners in different market scenarios. On this premise, we propose DSdT: a dynamic scenario‐driven technique for stock price prediction and trading strategy enhancement. The proposed novel technique uses the scenario recognition and integration module to identify and integrate the current market scenario into the forecasting pipeline, resulting in a scenario‐driven stock price prediction. We use a large set of technical indicators and a shallow neural network equipped with a gating mechanism to capture and integrate the current market scenario in the prediction process. Experiments are performed on 11 stocks of the Indian Stock Market. The proposed approach yields mean absolute percentage error (MAPE) of 1.67% compared with 2.4% of its closest nonscenario‐driven counterpart for the next day's stock price prediction task. A trading strategy is also devised using the proposed technique, and the returns are compared with different baselines. Results show that the devised trading strategy yields an approximate average return of 54% compared with 25% of the return obtained by the nearest benchmark.

Suggested Citation

  • 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.
  • Handle: RePEc:wly:jforec:v:41:y:2022:i:3:p:653-674
    DOI: 10.1002/for.2848
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1002/for.2848?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. O. B. Sezer & M. Ozbayoglu & E. Dogdu, 2017. "An Artificial Neural Network-based Stock Trading System Using Technical Analysis and Big Data Framework," Papers 1712.09592, arXiv.org.
    2. Junyi Li & Xitong Wang & Yaoyang Lin & Arunesh Sinha & Micheal P. Wellman, 2020. "Generating Realistic Stock Market Order Streams," Papers 2006.04212, arXiv.org.
    3. 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.
    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. MohammadAmin Fazli & Parsa Alian & Ali Owfi & Erfan Loghmani, 2021. "RPS: Portfolio Asset Selection using Graph based Representation Learning," Papers 2111.15634, arXiv.org.
    2. Jireh Yi-Le Chan & Steven Mun Hong Leow & Khean Thye Bea & Wai Khuen Cheng & Seuk Wai Phoong & Zeng-Wei Hong & Jim-Min Lin & Yen-Lin Chen, 2022. "A Correlation-Embedded Attention Module to Mitigate Multicollinearity: An Algorithmic Trading Application," Mathematics, MDPI, vol. 10(8), pages 1-13, April.
    3. Xintong Wang & Christopher Hoang & Yevgeniy Vorobeychik & Michael P. Wellman, 2021. "Spoofing the Limit Order Book: A Strategic Agent-Based Analysis," Games, MDPI, vol. 12(2), pages 1-43, May.
    4. Mehmet Sahiner & David G. McMillan & Dimos Kambouroudis, 2023. "Do artificial neural networks provide improved volatility forecasts: Evidence from Asian markets," Journal of Economics and Finance, Springer;Academy of Economics and Finance, vol. 47(3), pages 723-762, September.
    5. Shima Nabiee & Nader Bagherzadeh, 2023. "Stock Trend Prediction: A Semantic Segmentation Approach," Papers 2303.09323, 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.
    8. Sangyeon Kim & Myungjoo Kang, 2019. "Financial series prediction using Attention LSTM," Papers 1902.10877, arXiv.org.
    9. Mostafa Shabani & Martin Magris & George Tzagkarakis & Juho Kanniainen & Alexandros Iosifidis, 2022. "Predicting the State of Synchronization of Financial Time Series using Cross Recurrence Plots," Papers 2210.14605, arXiv.org, revised Nov 2022.
    10. Zijian Shi & Yu Chen & John Cartlidge, 2021. "The LOB Recreation Model: Predicting the Limit Order Book from TAQ History Using an Ordinary Differential Equation Recurrent Neural Network," Papers 2103.01670, arXiv.org.
    11. Rama Cont & Mihai Cucuringu & Renyuan Xu & Chao Zhang, 2022. "Tail-GAN: Learning to Simulate Tail Risk Scenarios," Papers 2203.01664, arXiv.org, revised Mar 2023.
    12. Zijian Shi & John Cartlidge, 2021. "The Limit Order Book Recreation Model (LOBRM): An Extended Analysis," Papers 2107.00534, arXiv.org.
    13. Yong Shi & Bo Li & Wen Long & Wei Dai, 2022. "Method for Improving the Performance of Technical Analysis Indicators By Neural Network Models," Computational Economics, Springer;Society for Computational Economics, vol. 59(3), pages 1027-1068, March.
    14. Ahmet Murat Ozbayoglu & Mehmet Ugur Gudelek & Omer Berat Sezer, 2020. "Deep Learning for Financial Applications : A Survey," Papers 2002.05786, arXiv.org.
    15. 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.
    16. Ma, Chenyao & Yan, Sheng, 2022. "Deep learning in the Chinese stock market: The role of technical indicators," Finance Research Letters, Elsevier, vol. 49(C).
    17. Feng Han & Xiaojuan Ma & Jiheng Zhang, 2022. "Simulating Multi-Asset Classes Prices Using Wasserstein Generative Adversarial Network: A Study of Stocks, Futures and Cryptocurrency," JRFM, MDPI, vol. 15(1), pages 1-21, January.
    18. Luo, Suyuan & Lin, Xudong & Zheng, Zunxin, 2019. "A novel CNN-DDPG based AI-trader: Performance and roles in business operations," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 131(C), pages 68-79.
    19. Andrea Coletta & Matteo Prata & Michele Conti & Emanuele Mercanti & Novella Bartolini & Aymeric Moulin & Svitlana Vyetrenko & Tucker Balch, 2021. "Towards Realistic Market Simulations: a Generative Adversarial Networks Approach," Papers 2110.13287, arXiv.org.
    20. Victor Storchan & Svitlana Vyetrenko & Tucker Balch, 2021. "Learning who is in the market from time series: market participant discovery through adversarial calibration of multi-agent simulators," Papers 2108.00664, arXiv.org.

    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:41:y:2022:i:3:p:653-674. 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.