IDEAS home Printed from https://ideas.repec.org/a/gam/jforec/v6y2024i4p53-1077d1524593.html

Constructing Cybersecurity Stocks Portfolio Using AI

Author

Listed:
  • Avishay Aiche

    (Western Galilee College, Acre 2412101, Israel)

  • Zvi Winer

    (Western Galilee College, Acre 2412101, Israel)

  • Gil Cohen

    (Western Galilee College, Acre 2412101, Israel)

Abstract

This study explores the application of artificial intelligence, specifically ChatGPT-4o, in constructing and managing a portfolio of cybersecurity stocks over the period from Q1 2018 to Q1 2024. Leveraging advanced machine learning models, fundamental analysis, sentiment analysis, and optimization techniques, the AI-driven portfolio significantly outperformed leading cybersecurity ETFs, as well as broader market indices such as the Nasdaq 100 (QQQ) and S&P 500 (SPY). The methodology employed included data collection, stock filtering, predictive modeling using Random Forests and Support Vector Machines (SVMs), sentiment analysis through natural language processing (NLP), and portfolio optimization using Mean-Variance Optimization (MVO), with quarterly rebalancing to ensure responsiveness to evolving market conditions. The AI-selected portfolio achieved a total return of 273%, with strong risk-adjusted performance as demonstrated by key metrics such as the Sharpe ratio, highlighting the effectiveness of an AI-based approach in navigating market complexities and generating superior returns. The results of this study indicate that AI-driven portfolio management can uncover investment opportunities that traditional methods may overlook, offering a competitive edge in the cybersecurity sector and promising enhanced predictive accuracy, efficiency, and overall investment success as AI technologies continue to evolve.

Suggested Citation

  • Avishay Aiche & Zvi Winer & Gil Cohen, 2024. "Constructing Cybersecurity Stocks Portfolio Using AI," Forecasting, MDPI, vol. 6(4), pages 1-13, November.
  • Handle: RePEc:gam:jforec:v:6:y:2024:i:4:p:53-1077:d:1524593
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-9394/6/4/53/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-9394/6/4/53/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Haenlein, Michael & Kaplan, Andreas, 2021. "Artificial intelligence and robotics: Shaking up the business world and society at large," Journal of Business Research, Elsevier, vol. 124(C), pages 405-407.
    2. Dimitri Percia David & Alain Mermoud & S'ebastien Gillard, 2021. "Cyber-Security Investment in the Context of Disruptive Technologies: Extension of the Gordon-Loeb Model," Papers 2112.04310, arXiv.org.
    3. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    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. Wei Dai & Yuan An & Wen Long, 2021. "Price change prediction of ultra high frequency financial data based on temporal convolutional network," Papers 2107.00261, arXiv.org.
    2. repec:bjc:journl:v:12:y:2025:i:10:p:2945-2962 is not listed on IDEAS
    3. Shao, Zhen & Zheng, Qingru & Yang, Shanlin & Gao, Fei & Cheng, Manli & Zhang, Qiang & Liu, Chen, 2020. "Modeling and forecasting the electricity clearing price: A novel BELM based pattern classification framework and a comparative analytic study on multi-layer BELM and LSTM," Energy Economics, Elsevier, vol. 86(C).
    4. Erdinc Akyildirim & Oguzhan Cepni & Shaen Corbet & Gazi Salah Uddin, 2023. "Forecasting mid-price movement of Bitcoin futures using machine learning," Annals of Operations Research, Springer, vol. 330(1), pages 553-584, November.
    5. Yang Dexiang & Mu Shengdong & Yunjie Liu & Gu Jijian & Lien Chaolung, 2023. "An Improved Deep-Learning-Based Financial Market Forecasting Model in the Digital Economy," Mathematics, MDPI, vol. 11(6), pages 1-18, March.
    6. Xiaohua Zeng & Changzhou Liang & Qian Yang & Fei Wang & Jieping Cai, 2025. "Enhancing stock index prediction: A hybrid LSTM-PSO model for improved forecasting accuracy," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-31, January.
    7. Abraham Itzhak Weinberg, 2025. "Hybrid Quantum-Classical Ensemble Learning for S\&P 500 Directional Prediction," Papers 2512.15738, arXiv.org.
    8. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    9. Zhenya Liu & Nawazish Mirza & Rongyu You & Yaosong Zhan, 2026. "Understanding the complexity of futures markets investing in China: evidence from deep learning techniques," Annals of Operations Research, Springer, vol. 357(1), pages 409-440, February.
    10. Yoganathan, Vignesh & Osburg, Victoria-Sophie, 2024. "The mind in the machine: Estimating mind perception's effect on user satisfaction with voice-based conversational agents," Journal of Business Research, Elsevier, vol. 175(C).
    11. Maggie Wang, Yazhu & Matook, Sabine & Dennis, Alan R., 2024. "Unintended consequences of humanoid service robots: A case study of public service organizations," Journal of Business Research, Elsevier, vol. 174(C).
    12. Hyungjun Park & Min Kyu Sim & Dong Gu Choi, 2019. "An intelligent financial portfolio trading strategy using deep Q-learning," Papers 1907.03665, arXiv.org, revised Nov 2019.
    13. Giacomo di Tollo & Joseph Andria & Gianni Filograsso, 2023. "The Predictive Power of Social Media Sentiment: Evidence from Cryptocurrencies and Stock Markets Using NLP and Stochastic ANNs," Mathematics, MDPI, vol. 11(16), pages 1-18, August.
    14. Hu, Xiao & Kang, Siqin & Ren, Long & Zhu, Shaokeng, 2024. "Interactive preference analysis: A reinforcement learning framework," European Journal of Operational Research, Elsevier, vol. 319(3), pages 983-998.
    15. Hasnain Iftikhar & Faridoon Khan & Elías A. Torres Armas & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2025. "A novel hybrid framework for forecasting stock indices based on the nonlinear time series models," Computational Statistics, Springer, vol. 40(8), pages 4163-4186, November.
    16. Wang, Jianzhou & Lv, Mengzheng & Wang, Shuai & Gao, Jialu & Zhao, Yang & Wang, Qiangqiang, 2024. "Can multi-period auto-portfolio systems improve returns? Evidence from Chinese and U.S. stock markets," International Review of Financial Analysis, Elsevier, vol. 95(PB).
    17. Ghosh, Indranil & Chaudhuri, Tamal Datta & Alfaro-Cortés, Esteban & Gámez, Matías & García, Noelia, 2022. "A hybrid approach to forecasting futures prices with simultaneous consideration of optimality in ensemble feature selection and advanced artificial intelligence," Technological Forecasting and Social Change, Elsevier, vol. 181(C).
    18. Gergana Taneva-Angelova & Stefan Raychev & Galina Ilieva, 2025. "A Framework for Gold Price Prediction Combining Classical and Intelligent Methods with Financial, Economic, and Sentiment Data Fusion," IJFS, MDPI, vol. 13(2), pages 1-25, June.
    19. Green, Lawrence & Sung, Ming-Chien & Ma, Tiejun & Johnson, Johnnie E. V., 2019. "To what extent can new web-based technology improve forecasts? Assessing the economic value of information derived from Virtual Globes and its rate of diffusion in a financial market," European Journal of Operational Research, Elsevier, vol. 278(1), pages 226-239.
    20. Zeynep Cipiloglu Yildiz & Selim Baha Yildiz, 2022. "A portfolio construction framework using LSTM‐based stock markets forecasting," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(2), pages 2356-2366, April.
    21. Shi, Yu & Song, Xianzhi & Song, Guofeng, 2021. "Productivity prediction of a multilateral-well geothermal system based on a long short-term memory and multi-layer perceptron combinational neural network," Applied Energy, Elsevier, vol. 282(PA).

    More about this item

    Keywords

    ;
    ;

    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:gam:jforec:v:6:y:2024:i:4:p:53-1077:d:1524593. 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: MDPI Indexing Manager The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (email available below). General contact details of provider: https://www.mdpi.com .

    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.