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

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

Full description

Bibliographic Details
Main Authors: Ana Lorena Jiménez-Preciado, Francisco Venegas-Martínez, Abraham Ramírez-García
Format: Article
Language:English
Published: MDPI AG 2022-11-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/10/23/4449
_version_ 1797462751782633472
author Ana Lorena Jiménez-Preciado
Francisco Venegas-Martínez
Abraham Ramírez-García
author_facet Ana Lorena Jiménez-Preciado
Francisco Venegas-Martínez
Abraham Ramírez-García
author_sort Ana Lorena Jiménez-Preciado
collection DOAJ
description 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.
first_indexed 2024-03-09T17:41:06Z
format Article
id doaj.art-e4d619ace6ee400f829c2a034b52c327
institution Directory Open Access Journal
issn 2227-7390
language English
last_indexed 2024-03-09T17:41:06Z
publishDate 2022-11-01
publisher MDPI AG
record_format Article
series Mathematics
spelling doaj.art-e4d619ace6ee400f829c2a034b52c3272023-11-24T11:33:43ZengMDPI AGMathematics2227-73902022-11-011023444910.3390/math10234449Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning ApproachAna Lorena Jiménez-Preciado0Francisco Venegas-Martínez1Abraham Ramírez-García2Escuela Superior de Economía, Instituto Politécnico Nacional, Mexico City 11350, MexicoEscuela Superior de Economía, Instituto Politécnico Nacional, Mexico City 11350, MexicoEscuela Superior de Economía, Instituto Politécnico Nacional, Mexico City 11350, MexicoThis 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.https://www.mdpi.com/2227-7390/10/23/4449stock’s moatcompetitive advantageinvestment portfoliomachine learning
spellingShingle Ana Lorena Jiménez-Preciado
Francisco Venegas-Martínez
Abraham Ramírez-García
Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach
Mathematics
stock’s moat
competitive advantage
investment portfolio
machine learning
title Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach
title_full Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach
title_fullStr Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach
title_full_unstemmed Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach
title_short Stock Portfolio Optimization with Competitive Advantages (MOAT): A Machine Learning Approach
title_sort stock portfolio optimization with competitive advantages moat a machine learning approach
topic stock’s moat
competitive advantage
investment portfolio
machine learning
url https://www.mdpi.com/2227-7390/10/23/4449
work_keys_str_mv AT analorenajimenezpreciado stockportfoliooptimizationwithcompetitiveadvantagesmoatamachinelearningapproach
AT franciscovenegasmartinez stockportfoliooptimizationwithcompetitiveadvantagesmoatamachinelearningapproach
AT abrahamramirezgarcia stockportfoliooptimizationwithcompetitiveadvantagesmoatamachinelearningapproach