IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i23p4449-d984000.html
   My bibliography  Save this article

Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach

Author

Listed:
  • Ana Lorena Jiménez-Preciado

    (Escuela Superior de Economía, Instituto Politécnico Nacional, Mexico City 11350, Mexico)

  • Francisco Venegas-Martínez

    (Escuela Superior de Economía, Instituto Politécnico Nacional, Mexico City 11350, Mexico)

  • Abraham Ramírez-García

    (Escuela Superior de Economía, Instituto Politécnico Nacional, Mexico City 11350, Mexico)

Abstract

This paper aimed to develop a useful Machine Learning (ML) model for detecting companies with lasting competitive advantages (companies’ moats) according to their financial ratios in order to improve the performance of investment portfolios. First, we computed the financial ratios of companies belonging to the S&P 500. Subsequently, we assessed the stocks’ moats according to an evaluation defined between 0 and 5 for each financial ratio. The sum of all the ratios provided a score between 0 and 100 to classify the companies as wide, narrow or null moats. Finally, several ML models were applied for classification to obtain an efficient, faster and less expensive method to select companies with lasting competitive advantages. The main findings are: (1) the model with the highest precision is the Random Forest; and (2) the most important financial ratios for detecting competitive advantages are a long-term debt-to-net income, Depreciation and Amortization (D&A)-to-gross profit, interest expense-to-Earnings Before Interest and Taxes (EBIT), and Earnings Per Share (EPS) trend. This research provides a new combination of ML tools and information that can improve the performance of investment portfolios; to the authors’ knowledge, this has not been done before. The algorithm developed in this paper has a limitation in the calculation of the stocks’ moats since it does not consider its cost, price-to-earnings ratio (PE), or valuation. Due to this limitation, this algorithm does not represent a strategy for short-term or intraday trading.

Suggested Citation

  • Ana Lorena Jiménez-Preciado & Francisco Venegas-Martínez & Abraham Ramírez-García, 2022. "Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach," Mathematics, MDPI, vol. 10(23), pages 1-16, November.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:23:p:4449-:d:984000
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/23/4449/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/23/4449/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. E. Raguseo & Pigni, F. & Claudio Vitari, 2021. "Streams of digital data and competitive advantage: The mediation effects of process efficiency and product effectiveness," Post-Print hal-03323663, HAL.
    2. Ruiz-Moreno, Felipe & Mas-Ruiz, Francisco J. & Sancho-Esper, Franco M., 2021. "Strategic groups and product differentiation: Evidence from the Spanish airline market deregulation," Research in Transportation Economics, Elsevier, vol. 90(C).
    3. Gianfranco Lombardo & Mattia Pellegrino & George Adosoglou & Stefano Cagnoni & Panos M. Pardalos & Agostino Poggi, 2022. "Machine Learning for Bankruptcy Prediction in the American Stock Market: Dataset and Benchmarks," Future Internet, MDPI, vol. 14(8), pages 1-23, August.
    4. Seo, Young-Joon & Park, Jin Suk, 2016. "The estimation of minimum efficient scale of the port industry," Transport Policy, Elsevier, vol. 49(C), pages 168-175.
    5. Berendt, Johannes & Uhrich, Sebastian & Thompson, Scott A., 2018. "Marketing, get ready to rumble—How rivalry promotes distinctiveness for brands and consumers," Journal of Business Research, Elsevier, vol. 88(C), pages 161-172.
    6. Wen-Jie Liu & Yu-Ting Bai & Xue-Bo Jin & Ting-Li Su & Jian-Lei Kong, 2022. "Adaptive Broad Echo State Network for Nonstationary Time Series Forecasting," Mathematics, MDPI, vol. 10(17), pages 1-21, September.
    7. E. Raguseo & Pigni, F. & Claudio Vitari, 2021. "Streams of digital data and competitive advantage: The mediation effects of process efficiency and product effectiveness," Grenoble Ecole de Management (Post-Print) hal-03323663, HAL.
    8. Bet, Germán, 2021. "Product specification under a threat of entry: Evidence from Airlines’ departure times," International Journal of Industrial Organization, Elsevier, vol. 75(C).
    9. Lim, Steve C. & Macias, Antonio J. & Moeller, Thomas, 2020. "Intangible assets and capital structure," Journal of Banking & Finance, Elsevier, vol. 118(C).
    10. Azeem, Muhammad & Ahmed, Munir & Haider, Sajid & Sajjad, Muhammad, 2021. "Expanding competitive advantage through organizational culture, knowledge sharing and organizational innovation," Technology in Society, Elsevier, vol. 66(C).
    11. Rizkiah, Siti K. & Disli, Mustafa & Salim, Kinan & Razak, Lutfi A., 2021. "Switching costs and bank competition: Evidence from dual banking economies," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 75(C).
    12. Guthrie, Graeme, 2020. "Investment flexibility as a barrier to entry," Journal of Economic Dynamics and Control, Elsevier, vol. 116(C).
    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. Barbara Grabinska & Dorota Kedzior & Marcin Kedzior & Konrad Grabinski, 2021. "The Impact of CSR on the Capital Structure of High-Tech Companies in Poland," Sustainability, MDPI, vol. 13(10), pages 1-20, May.
    2. He, Yi & You, Ya & Chen, Qimei, 2020. "Our conditional love for the underdog: The effect of brand positioning and the lay theory of achievement on WOM," Journal of Business Research, Elsevier, vol. 118(C), pages 210-222.
    3. Emmanuel Adu‐Ameyaw & Albert Danso & Linda Hickson, 2022. "Growth opportunity and investment policy: The role of managerial incentives," Managerial and Decision Economics, John Wiley & Sons, Ltd., vol. 43(8), pages 3634-3646, December.
    4. Chaffai, Mohamed & Coccorese, Paolo, 2023. "Banking market power and its determinants: New insights from MENA countries," Emerging Markets Review, Elsevier, vol. 55(C).
    5. Ha, Min-Ho & Yang, Zaili & Lam, Jasmine Siu Lee, 2019. "Port performance in container transport logistics: A multi-stakeholder perspective," Transport Policy, Elsevier, vol. 73(C), pages 25-40.
    6. Priyanka, & Jain, Mahima & Dhir, Sanjay, 2022. "Antecedents of organization ambidexterity: A comparative study of public and private sector organizations," Technology in Society, Elsevier, vol. 70(C).
    7. Altomonte, Carlo & Favoino, Domenico & Morlacco, Monica & Sonno, Tommaso, 2021. "Markups, intangible capital and heterogeneous financial frictions," LSE Research Online Documents on Economics 114280, London School of Economics and Political Science, LSE Library.
    8. repec:zib:zbmbmj:v:1:y:2022:i:2:p:53-58 is not listed on IDEAS
    9. Oliveira, Bruno F. & Oliveira, Alessandro V.M., 2022. "An empirical analysis of the determinants of network construction for Azul Airlines," Journal of Air Transport Management, Elsevier, vol. 101(C).
    10. Ebrahim A. A. Ghaleb & P. D. D. Dominic & Narinderjit Singh Sawaran Singh & Gehad Mohammed Ahmed Naji, 2023. "Assessing the Big Data Adoption Readiness Role in Healthcare between Technology Impact Factors and Intention to Adopt Big Data," Sustainability, MDPI, vol. 15(15), pages 1-25, July.
    11. Ebina, Takeshi & Matsushima, Noriaki & Nishide, Katsumasa, 2022. "Demand uncertainty, product differentiation, and entry timing under spatial competition," European Journal of Operational Research, Elsevier, vol. 303(1), pages 286-297.
    12. Bilgin, Rumeysa, 2023. "The Selection Of Control Variables In Capital Structure Research With Machine Learning," SocArXiv e26qf, Center for Open Science.
    13. Guthrie, Graeme & Hobbs, Cameron, 2021. "How managerial ownership and the market for corporate control can improve investment timing," Journal of Banking & Finance, Elsevier, vol. 128(C).
    14. Guangchun Jin & Jian Xu, 2022. "Does Intellectual Capital Affect Financial Leverage of Chinese Agricultural Companies? Exploring the Role of Firm Profitability," Sustainability, MDPI, vol. 14(5), pages 1-14, February.
    15. Anaza, Nwamaka A. & Luis Saavedra, José & Hair, Joe F. & Bagherzadeh, Ramin & Rawal, Monika & Nedu Osakwe, Christian, 2021. "Customer-brand disidentification: Conceptualization, scale development and validation," Journal of Business Research, Elsevier, vol. 133(C), pages 116-131.
    16. Zixia Cao & Kehan Xu, 2022. "CEO narcissism, brand acquisition and disposal, and stock returns," Journal of the Academy of Marketing Science, Springer, vol. 50(4), pages 777-799, July.
    17. Fang, Zhen & Razzaq, Asif & Mohsin, Muhammad & Irfan, Muhammad, 2022. "Spatial spillovers and threshold effects of internet development and entrepreneurship on green innovation efficiency in China," Technology in Society, Elsevier, vol. 68(C).
    18. Liu, Yixin & Liu, Yu & Wei, Zuobao, 2022. "Property rights protection, financial constraint, and capital structure choices: Evidence from a Chinese natural experiment," Journal of Corporate Finance, Elsevier, vol. 73(C).
    19. Liao, Junyun & Chen, Jiawen & Zhao, Haichuan & Li, Muhua, 2023. "Fanning the flames: Transmitting negative word of mouth of rival brands," Journal of Business Research, Elsevier, vol. 154(C).
    20. Ahmed, Huson Joher Ali & Azad, A.S.M. Sohel & Poon, Wai Ching & Safiullah, Md, 2023. "Is there a CSI-leverage nexus?," International Review of Financial Analysis, Elsevier, vol. 89(C).
    21. Enkeleda Lulaj & Blerta Dragusha & Eglantina Hysa, 2023. "Investigating Accounting Factors through Audited Financial Statements in Businesses toward a Circular Economy: Why a Sustainable Profit through Qualified Staff and Investment in Technology?," Administrative Sciences, MDPI, vol. 13(3), pages 1-28, March.

    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:jmathe:v:10:y:2022:i:23:p:4449-:d:984000. 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 (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.