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

Stock Portfolio Optimization Using a Deep Learning LSTM Model

Author

Listed:
  • Jaydip Sen
  • Abhishek Dutta
  • Sidra Mehtab

Abstract

Predicting future stock prices and their movement patterns is a complex problem. Hence, building a portfolio of capital assets using the predicted prices to achieve the optimization between its return and risk is an even more difficult task. This work has carried out an analysis of the time series of the historical prices of the top five stocks from the nine different sectors of the Indian stock market from January 1, 2016, to December 31, 2020. Optimum portfolios are built for each of these sectors. For predicting future stock prices, a long-and-short-term memory (LSTM) model is also designed and fine-tuned. After five months of the portfolio construction, the actual and the predicted returns and risks of each portfolio are computed. The predicted and the actual returns of each portfolio are found to be high, indicating the high precision of the LSTM model.

Suggested Citation

  • Jaydip Sen & Abhishek Dutta & Sidra Mehtab, 2021. "Stock Portfolio Optimization Using a Deep Learning LSTM Model," Papers 2111.04709, arXiv.org.
  • Handle: RePEc:arx:papers:2111.04709
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Audrino, Francesco & Sigrist, Fabio & Ballinari, Daniele, 2020. "The impact of sentiment and attention measures on stock market volatility," International Journal of Forecasting, Elsevier, vol. 36(2), pages 334-357.
    2. Marco Corazza & Giacomo di Tollo & Giovanni Fasano & Raffaele Pesenti, 2021. "A novel hybrid PSO-based metaheuristic for costly portfolio selection problems," Annals of Operations Research, Springer, vol. 304(1), pages 109-137, September.
    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. Jaydip Sen & Abhishek Dutta & Sidra Mehtab, 2021. "Profitability Analysis in Stock Investment Using an LSTM-Based Deep Learning Model," Papers 2104.06259, arXiv.org.
    5. 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.
    6. Jaydip Sen & Sidra Mehtab, 2021. "Accurate Stock Price Forecasting Using Robust and Optimized Deep Learning Models," Papers 2103.15096, arXiv.org.
    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, 2022. "Designing Efficient Pair-Trading Strategies Using Cointegration for the Indian Stock Market," Papers 2211.07080, 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. 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 & Arpit Awad & Aaditya Raj & Gourav Ray & Pusparna Chakraborty & Sanket Das & Subhasmita Mishra, 2022. "Stock Performance Evaluation for Portfolio Design from Different Sectors of the Indian Stock Market," Papers 2208.07166, arXiv.org.
    5. Jaydip Sen & Subhasis Dasgupta, 2023. "Portfolio Optimization: A Comparative Study," Papers 2307.05048, arXiv.org.
    6. Jaydip Sen & Abhishek Dutta, 2022. "A Comparative Study of Hierarchical Risk Parity Portfolio and Eigen Portfolio on the NIFTY 50 Stocks," Papers 2210.00984, arXiv.org.
    7. Kiran Bisht & Arun Kumar, 2022. "Stock Portfolio Selection Hybridizing Fuzzy Base-Criterion Method and Evidence Theory in Triangular Fuzzy Environment," SN Operations Research Forum, Springer, vol. 3(4), pages 1-32, December.
    8. 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.
    9. 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.

    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 & Subhasis Dasgupta, 2023. "Portfolio Optimization: A Comparative Study," Papers 2307.05048, arXiv.org.
    2. 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.
    3. Jaydip Sen & Sidra Mehtab, 2021. "Design and Analysis of Robust Deep Learning Models for Stock Price Prediction," Papers 2106.09664, arXiv.org.
    4. Jaydip Sen & Rajdeep Sen & Abhishek Dutta, 2021. "Machine Learning in Finance-Emerging Trends and Challenges," Papers 2110.11999, arXiv.org.
    5. Jaydip Sen & Sidra Mehtab & Abhishek Dutta & Saikat Mondal, 2022. "Hierarchical Risk Parity and Minimum Variance Portfolio Design on NIFTY 50 Stocks," Papers 2202.02728, arXiv.org.
    6. Jaydip Sen & Abhishek Dutta, 2022. "Design and Analysis of Optimized Portfolios for Selected Sectors of the Indian Stock Market," Papers 2210.03943, arXiv.org.
    7. Jaydip Sen & Abhishek Dutta, 2022. "A Comparative Study of Hierarchical Risk Parity Portfolio and Eigen Portfolio on the NIFTY 50 Stocks," Papers 2210.00984, arXiv.org.
    8. 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.
    9. Jaydip Sen & Saikat Mondal & Gourab Nath, 2022. "Robust Portfolio Design and Stock Price Prediction Using an Optimized LSTM Model," Papers 2204.01850, arXiv.org.
    10. Jaydip Sen & Sidra Mehtab & Abhishek Dutta & Saikat Mondal, 2022. "Precise Stock Price Prediction for Optimized Portfolio Design Using an LSTM Model," Papers 2203.01326, arXiv.org.
    11. 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.
    12. Zhu, Haibin & Bai, Lu & He, Lidan & Liu, Zhi, 2023. "Forecasting realized volatility with machine learning: Panel data perspective," Journal of Empirical Finance, Elsevier, vol. 73(C), pages 251-271.
    13. Doris Chenguang Wu & Shiteng Zhong & Richard T R Qiu & Ji Wu, 2022. "Are customer reviews just reviews? Hotel forecasting using sentiment analysis," Tourism Economics, , vol. 28(3), pages 795-816, May.
    14. Wilms, Ines & Rombouts, Jeroen & Croux, Christophe, 2021. "Multivariate volatility forecasts for stock market indices," International Journal of Forecasting, Elsevier, vol. 37(2), pages 484-499.
    15. Liang, Chao & Tang, Linchun & Li, Yan & Wei, Yu, 2020. "Which sentiment index is more informative to forecast stock market volatility? Evidence from China," International Review of Financial Analysis, Elsevier, vol. 71(C).
    16. 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.
    17. Mathieu Rosenbaum & Jianfei Zhang, 2022. "On the universality of the volatility formation process: when machine learning and rough volatility agree," Papers 2206.14114, arXiv.org.
    18. Jaydip Sen, 2022. "Designing Efficient Pair-Trading Strategies Using Cointegration for the Indian Stock Market," Papers 2211.07080, arXiv.org.
    19. Wenting Liu & Zhaozhong Gui & Guilin Jiang & Lihua Tang & Lichun Zhou & Wan Leng & Xulong Zhang & Yujiang Liu, 2023. "Stock Volatility Prediction Based on Transformer Model Using Mixed-Frequency Data," Papers 2309.16196, arXiv.org.
    20. Vladimir Pyrlik & Pavel Elizarov & Aleksandra Leonova, 2021. "Forecasting Realized Volatility Using Machine Learning and Mixed-Frequency Data (the Case of the Russian Stock Market)," CERGE-EI Working Papers wp713, The Center for Economic Research and Graduate Education - Economics Institute, Prague.

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