Quantitative trading can yield huge long term returns if done correctly. It utilizes computers to build a portfolio and execute trades. In this context, an algorithm is a set of instructions that determines which stocks to trade and when to trade them.
There are many types of quantitative investing techniques that one can employ, ranging from the very simple to the very complex.
In this article, I will give an overview of the different types of investing strategies out there and then delve deeper into how you can choose a quantitative investing strategy.
Let’s dive in!
Types of Algorithmic Trading / Quantitative Investing
Factor investing is an investment approach that chooses securities based on attributes that have historically been associated with higher returns. There are two main types of factors: macroeconomic and style. The investing in factors can help improve portfolio outcomes, reduce volatility and enhance diversification.
Factor investing is a form of algorithmic trading for long term investors – it is Aikido Finance’s vehicle of choice. The history of factor investing is very interesting, dating back to 17th century Holland – though really taking off in the 1960s. You can read more about that here.
There are 5 generally-accepted factors:
Note: Dividend gets an honourable mention for position number 6, though is not typically part of the standard model.
A fantastic video was made by Investopedia giving an overview of Factor investing. In their words: “factors are to securities what nutrients are to food”.
Value searches for stocks that have low prices relative to their fundamental value.
Here is the list of common metrics / ratios that an algorithmic trader might use for the value factor:
Backtested returns of price-to-earnings since 1965. Universe is split by decile (lowest P/E to highest P/E). Source: O’Shaughnessy, What Works on Wall Street
Historically, portfolios consisting of nano, micro, and small-cap stocks exhibit greater returns than portfolios with just large stocks.
Market capitalization is the go to metric here.
Retail algo traders have a unique advantage here over large hedge funds. This is due to the face that the lion’s share of the gains come from nano-caps (<25M), which are normally off limits for funds as they are too small.
Stocks that have outperformed in the past tend to exhibit strong returns going forward. A simple momentum strategy uses relative returns from three months to a one-year time frame.
Lower volatility stocks earn greater risk-adjusted returns than highly volatile stocks. This may not mean better returns over all, but rather, a better Sharpe ratio.
Quality picks stocks based on companies that are considered health. Investors can identify quality stocks by using common financial metrics like a return to equity, debt to equity and earnings variability.
Typical quality metrics / ratios are:
- Stable growth
A dividend is the distribution of some of a company’s earnings to its shareholders.
How to Choose an Algorithmic Trading Strategy
Throughout this section, we will take examples from The Stable Dividend Strategy, in an attempt to give everyone a firm understanding of algorithmic trading principles.
Choose your geography / sectors
Choosing your country or region can be important in adding diversification and reducing risk. As a rule of thumb in investing, the more concentrated you are (eg. factor, industry, country, asset class), the more volatile the portfolio will be; it will also be correlated very highly with macroeconomic cycles.
Unfortunately, due to the algorithmic trading tools available to retail investors being quite new – most retail algo traders will only have access to the US stock market. Even at Aikido, the universe is currently limited to the USA, however due to our access to the Factset database we are expanding to global scope in 2022.
Investors can also choose if they want a sector weighting; either sector-neutral or a heavy weighting towards a single industry. Needless to say, sector neutral will be far less volatile.
Choose your Factor Explosure
This is hands down the most important part of the algorithmic trading process. Different trading strategies are weighted in favour of different factors. For example, The Stable Dividend Strategy focuses on the Dividend and Quality factors. Whereas Deep Value Blend focuses solely on the Value factor.
If your goal is to maximise long-term performance and increase your risk vs. reward, you will want to mix several algorithmic trading strategies together in order to get good factor diversification.
If you fancy your hand at factor-timing, you could check out this whitepaper from the FTSE. It discusses the cyclical nature of factors and the best times historically to invest in different factors
Above is a great guide to which factors to invest in at different parts of the market cycle. Consider this a cheat sheet from one of the greatest minds in quantitative investing: James O’Shaughnessy.
AQR also wrote a superb whitepaper on a Factor Momentum strategy they built which invests in factors depending on how well they are currently performing. “Factor Momentum Everywhere” won “Best Quant Paper” in the 2019 Savvy Investor Awards.
Choose a Rebalance Period and Portfolio Weighting
Some algorithmic traders / quantitative investors will choose to use a set rebalance period for their portfolio. This is the easiest way to keep a portfolio up to date with the algorithm.
For traditional investors, keeping a portfolio up-to-date (AKA rebalancing) is really hard work! I know from personal experience… It would take hours of my time every month to review old stocks, purchase new stocks, ensure correct weighting, review exposure and risk, etc. etc. It was really hard work and I really didn’t want a second job.
Luckily, for algo traders and quantitative investors, it’s easier; a lot easier! You utilize computers to do the whole process for you – saving hundreds of hours and ensuring you don’t sprout any (more) grey hairs.
Typically the algo trader will choose a rebalance period of weekly, monthly, quarterly, or yearly. More you rebalance (ie. keep your portfolio up to date) is not necessarily correlated with higher returns. Indeed, sometimes the more you look, the more you lose.
Many algorithmic traders use a intra-day, signal-based method to keep a portfolio up to date. eg. buy 10 shares of AAPL when 50 day SMA crosses the 100 day SMA. This means that you will be trading at any time (mid-month). This is a more risky method of trading as you are very likely to over trade and take away from the underlying algorithm. You could also be receiving high fees for this frequency of trading. However, if this signal-based method is paired with a very solid underlying factor-based strategy, it can be very powerful indeed.
This is simply the weighting on each stock in your portfolio. Most investors will choose to use an equal-weighting – where the same amount is invested in each stock. The most common portfolio weighting methods are:
- Kelly-weighting (Kelly Criterion)
Ironically, the S&P500 and most of the best known indexes use a market cap weighting (ie. the biggest weighting is on the largest stocks); this is a terrible idea for retail quants! As we saw earlier, this goes against the size factor entirely. Though it might yield lower volatility, it also tends to yield a lower sharpe ratio (risk vs. return).
Choose your Risk vs. Reward
There are several very important metrics to look at when picking a strategy. Those are:
- Average return
- Highest annual return
- Worst decline / drawdown
- Sharpe ratio (Risk vs. Reward)
- Beta (Market correlation)
- Base rates (how often it beats the market in rolling periods)
The two Most Important Metrics
If I were to boil it down to the two most important things to look at, I would say Sharpe ratio and the Base rates.
The Sharpe ratio compares a strategy’s return to its risk (volatility). A higher Sharpe ratio is desirable for investors as it implies a higher risk-adjusted return.
Base rates are a little more complicated, but equally as important. They are frequently overlooked by novice algo traders. The base rates is the amount of time a strategy has outperformed the benchmark (eg. S&P500) in in-sample and out-of-sample tests. Below are sample base rates showing rolling 1 year, 3 year, 5 year, and 10 year excess returns. If you are a long term algorithmic trader, you want to know that your strategy consistently beats the market in the long term.
Do your Research
Before you choose an investing strategy, it is important to do your homework. What research papers and academic journals is the strategy based on? For example, at the bottom of any Aikido Strategy, you will get a list of reference papers that the strategy is based on. Read through the research and use strategies with reputable sources.