Demonstration of enhancing stock portfolio performance with AI-powered investment models

Advice & Tips / News in the App

Demonstration of enhancing stock portfolio performance with AI-powered investment models

Many investment analysts have pre-selected stock titles that they trust in the long run, hold them in their portfolios, and adjust their weightings now and then. In today’s article, we will take a look at how to work effectively with your stock universe and achieve better performance by leveraging machine learning and AI-powered stock-picking models (Learn more in our article Stock Analysis with The Power of AI).

According to our approach, you only hold stocks that you or your analysts believe in. However, you select only a portion of them for your portfolio to achieve a higher CAGR, a lower Drawdown, or any other indicator that might be important to you.

The process of creating AI-powered Investment Models

To illustrate the case, we took the AMC (Actively Managed Certificate) of one of the portfolio management interested parties. The instrument is composed of 18 shares (We cannot display all of them due to the protection of trade secrets. However, for instance, the shares of Nvidia Corp., Palantir Technologies Inc., Mobileye Global Inc., or Intuitive Surgical Inc. are included in the portfolio) and cash.

Later on, we looked at its performance[i] from 26 Jan 2018 to the end of 2023, i.e. over the last 6 years.

In the next step, we trained 4 investment models on this 18-stock universe to select stocks for the portfolio.First, let’s take a general and very simplified look at how investment models can be trained.

Models used

According to these models, we modeled sample portfolios with 6, 7, or 8 selected stocks in the portfolio.

An example of what a monthly rebalance looks like on the AP US Large-Cap Hedged 1.5X Shares Strategy, where 20 Long positions and 20 Short positions are always held in the portfolio.
Strategies used
  • Long only: The strategy selects N stocks (6, 7 or 8) with the highest growth potential as estimated by the model. The hypothesis of the strategy is that the model can generate and estimate the scoring for each firm, where higher scoring means higher future growth potential (in line with the theory of factor models).
  • Short only (used for hedging): the purpose is to compare performance with Long only (the “best” ones as estimated by the model). If the model works correctly, the Short only strategy should underperform the Long only.
  • Long/short: A market-neutral strategy where the hypothesis is that returns, unless they are random (i.e. the model can distinguish between “good” and “bad” stocks), are greater than 0 (because: returns long > short). Long/short portfolios have been constructed using leverage, specifically leverage of 1.5, where we borrow 50% extra capital. 2/3 (1.0) of the portfolio is invested in Long positions and 1/3 (0.5) is hedged within Short positions.In the test, the portfolio was rebalanced once a month. That means, that once a month, according to the individual investment models, a score was calculated for all shares in the pool. The stocks were sorted from the share with the highest value to the share with the lowest value. 6, 7, or 8 shares were subsequently included in the portfolio (in the case of a Long/short portfolio, 12, 14, or 16 shares). The portfolio was always equally weighted, i.e. equal capital was invested in each share.

We got interesting results.

Results of AI-powered Stock-Picking Models

  • Rating of the AMC: more volatile, dynamic firms, often in the technology sector, are present in the assessed pool. Over the period under review, performance is above average compared to, for example, the S&P 500. The universe as a whole has performed at +194% for the period considered. That is, of the $100,000 invested, $294,000 would have been at the end of the period.
  • Tested models rating: using our approach it was possible to significantly improve the performance of the portfolio. For instance, using the xgboost model with 7 stocks in the portfolio, the performance of the Long only portfolio would be +292% ($392,000), while having a lower maximum drawdown than the entire 18 stocks.

Let’s take a closer look at the results of the stock pool and the individual AI-powered models. We present the performance of all the indicators we track for the model that achieved the highest equity value, followed by the Final-Equity for the Long only portfolio for all assessed models.

Xgboost - 7 stocksLongOnlyLongTheShortLongShortUniverse

Information on the various investment metrics we use in building investment strategies can be found in our ‘Configuration of investment strategies‘ series of articles. Would you like to take the same approach to managing your portfolio? Take advantage of our  AI-powered Factor Investing Software/ models.

6 stocks2,4747453,4644982,6085613,1898533,0147392,949433
7 stocks3,4011763,2622713,0790373,9180123,2242392,949433

Invest in the forces that move stock prices

Leverage the power of factor investing with revolutionary software

[i] To make things simpler, we have set each stock to have the same weight in the portfolio at all times; in real life, analysts adjust the weights dynamically.