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

Profitability Analysis in Stock Investment Using an LSTM-Based Deep Learning Model

Author

Listed:
  • Jaydip Sen
  • Abhishek Dutta
  • Sidra Mehtab

Abstract

Designing robust systems for precise prediction of future prices of stocks has always been considered a very challenging research problem. Even more challenging is to build a system for constructing an optimum portfolio of stocks based on the forecasted future stock prices. We present a deep learning-based regression model built on a long-and-short-term memory network (LSTM) network that automatically scraps the web and extracts historical stock prices based on a stock's ticker name for a specified pair of start and end dates, and forecasts the future stock prices. We deploy the model on 75 significant stocks chosen from 15 critical sectors of the Indian stock market. For each of the stocks, the model is evaluated for its forecast accuracy. Moreover, the predicted values of the stock prices are used as the basis for investment decisions, and the returns on the investments are computed. Extensive results are presented on the performance of the model. The analysis of the results demonstrates the efficacy and effectiveness of the system and enables us to compare the profitability of the sectors from the point of view of the investors in the stock market.

Suggested Citation

  • Jaydip Sen & Abhishek Dutta & Sidra Mehtab, 2021. "Profitability Analysis in Stock Investment Using an LSTM-Based Deep Learning Model," Papers 2104.06259, arXiv.org.
  • Handle: RePEc:arx:papers:2104.06259
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Jaydip SEN & Tamal DATTA CHAUDHURI, 2016. "An Alternative Framework for Time Series Decomposition and Forecastingand its Relevance for Portfolio Choice – A Comparative Study of the Indian Consumer Durable and Small Cap Sectors," Journal of Economics Library, KSP Journals, vol. 3(2), pages 303-326, June.
    2. Sidra Mehtab & Jaydip Sen, 2020. "Stock Price Prediction Using CNN and LSTM-Based Deep Learning Models," Papers 2010.13891, arXiv.org.
    3. Sidra Mehtab & Jaydip Sen, 2019. "A Robust Predictive Model for Stock Price Prediction Using Deep Learning and Natural Language Processing," Papers 1912.07700, arXiv.org.
    4. Wang, Lu & Ma, Feng & Liu, Jing & Yang, Lin, 2020. "Forecasting stock price volatility: New evidence from the GARCH-MIDAS model," International Journal of Forecasting, Elsevier, vol. 36(2), pages 684-694.
    5. Chen, Wang & Ma, Feng & Wei, Yu & Liu, Jing, 2020. "Forecasting oil price volatility using high-frequency data: New evidence," International Review of Economics & Finance, Elsevier, vol. 66(C), pages 1-12.
    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. Jaydip Sen & Abhishek Dutta & Sidra Mehtab, 2021. "Stock Portfolio Optimization Using a Deep Learning LSTM Model," Papers 2111.04709, arXiv.org.
    2. Jaydip Sen & Sidra Mehtab & Abhishek Dutta, 2021. "Volatility Modeling of Stocks from Selected Sectors of the Indian Economy Using GARCH," Papers 2105.13898, arXiv.org.
    3. Jaydip Sen & Ashwin Kumar R S & Geetha Joseph & Kaushik Muthukrishnan & Koushik Tulasi & Praveen Varukolu, 2022. "Precise Stock Price Prediction for Robust Portfolio Design from Selected Sectors of the Indian Stock Market," Papers 2201.05570, arXiv.org.
    4. Jaydip Sen & Rajdeep Sen & Abhishek Dutta, 2021. "Machine Learning in Finance-Emerging Trends and Challenges," Papers 2110.11999, arXiv.org.
    5. Hyeonseok Moon & Taemin Lee & Jaehyung Seo & Chanjun Park & Sugyeong Eo & Imatitikua D. Aiyanyo & Jeongbae Park & Aram So & Kyoungwha Ok & Kinam Park, 2022. "Return on Advertising Spend Prediction with Task Decomposition-Based LSTM Model," Mathematics, MDPI, vol. 10(10), pages 1-12, May.
    6. Jaydip Sen & Sidra Mehtab, 2021. "Design and Analysis of Robust Deep Learning Models for Stock Price Prediction," Papers 2106.09664, 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. Jaydip Sen & Sidra Mehtab, 2021. "Design and Analysis of Robust Deep Learning Models for Stock Price Prediction," Papers 2106.09664, arXiv.org.
    2. Jaydip Sen & Saikat Mondal & Sidra Mehtab, 2021. "Analysis of Sectoral Profitability of the Indian Stock Market Using an LSTM Regression Model," Papers 2111.04976, arXiv.org.
    3. Sidra Mehtab & Jaydip Sen & Subhasis Dasgupta, 2020. "Robust Analysis of Stock Price Time Series Using CNN and LSTM-Based Deep Learning Models," Papers 2011.08011, arXiv.org, revised Jan 2021.
    4. Jaydip Sen & Subhasis Dasgupta, 2023. "Portfolio Optimization: A Comparative Study," Papers 2307.05048, arXiv.org.
    5. Ananda Chatterjee & Hrisav Bhowmick & Jaydip Sen, 2021. "Stock Price Prediction Using Time Series, Econometric, Machine Learning, and Deep Learning Models," Papers 2111.01137, arXiv.org.
    6. Lu, Fei & Ma, Feng & Li, Pan & Huang, Dengshi, 2022. "Natural gas volatility predictability in a data-rich world," International Review of Financial Analysis, Elsevier, vol. 83(C).
    7. Jaydip Sen, 2022. "Designing Efficient Pair-Trading Strategies Using Cointegration for the Indian Stock Market," Papers 2211.07080, arXiv.org.
    8. Chaturvedi, Priya & Kumar, Kuldeep, 2022. "Econometric modelling of exchange rate volatility using mixed-frequency data," MPRA Paper 115222, University Library of Munich, Germany.
    9. Sidra Mehtab & Jaydip Sen, 2020. "Stock Price Prediction Using Convolutional Neural Networks on a Multivariate Timeseries," Papers 2001.09769, arXiv.org.
    10. Zhang, Li & Wang, Lu & Peng, Lijuan & Luo, Keyu, 2023. "Measuring the response of clean energy stock price volatility to extreme shocks," Renewable Energy, Elsevier, vol. 206(C), pages 1289-1300.
    11. Lu Wang & Feng Ma & Guoshan Liu & Qiaoqi Lang, 2023. "Do extreme shocks help forecast oil price volatility? The augmented GARCH‐MIDAS approach," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 2056-2073, April.
    12. Xiafei Li & Dongxin Li & Xuhui Zhang & Guiwu Wei & Lan Bai & Yu Wei, 2021. "Forecasting regular and extreme gold price volatility: The roles of asymmetry, extreme event, and jump," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1501-1523, December.
    13. Jaydip Sen & Rajdeep Sen & Abhishek Dutta, 2021. "Machine Learning in Finance-Emerging Trends and Challenges," Papers 2110.11999, arXiv.org.
    14. Jaydip Sen & Arup Dasgupta & Partha Pratim Sengupta & Sayantani Roy Choudhury, 2023. "A Comparative Study of Portfolio Optimization Methods for the Indian Stock Market," Papers 2310.14748, arXiv.org.
    15. Jaydip Sen & Ashwin Kumar R S & Geetha Joseph & Kaushik Muthukrishnan & Koushik Tulasi & Praveen Varukolu, 2022. "Precise Stock Price Prediction for Robust Portfolio Design from Selected Sectors of the Indian Stock Market," Papers 2201.05570, arXiv.org.
    16. Sidra Mehtab & Jaydip Sen, 2020. "Stock Price Prediction Using CNN and LSTM-Based Deep Learning Models," Papers 2010.13891, arXiv.org.
    17. Jaydip Sen & Abhishek Dutta, 2022. "Design and Analysis of Optimized Portfolios for Selected Sectors of the Indian Stock Market," Papers 2210.03943, arXiv.org.
    18. Jaydip Sen & Aditya Jaiswal & Anshuman Pathak & Atish Kumar Majee & Kushagra Kumar & Manas Kumar Sarkar & Soubhik Maji, 2023. "A Comparative Analysis of Portfolio Optimization Using Mean-Variance, Hierarchical Risk Parity, and Reinforcement Learning Approaches on the Indian Stock Market," Papers 2305.17523, arXiv.org.
    19. Ghani, Maria & Guo, Qiang & Ma, Feng & Li, Tao, 2022. "Forecasting Pakistan stock market volatility: Evidence from economic variables and the uncertainty index," International Review of Economics & Finance, Elsevier, vol. 80(C), pages 1180-1189.
    20. Wang, Hu & Li, Shouwei, 2021. "Asymmetric volatility spillovers between crude oil and China's financial markets," Energy, Elsevier, vol. 233(C).

    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.06259. 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.