Oct 06, 2017
Regime Change
This backtest defines a Regime by comparing the performance of EFA and QQQ, two standard ETFs with plenty of market cap. The backtest then decides to allocate to EFA or QQQ depending on which Regime is in place. SPY is held in either case as a core position:
Jan 23, 2017
Ratio
Last month we did a blog post on using high-yield bonds as a key indicator. This month we continue with a focus of using financial stock ETFs as a second indicator.
Many people seem to want to try to simplify everything down to one variable -- often something like a P/E ratio or a moving average. We think investors should look at a range of important indicators and then take a weight-of-the-evidence approach. Indeed, we built ETFreplay.com so that you can easily run and update a list of strategies AND do this on a continuous basis and thereby stay in tune with the overall structure of the market.
There is no better information than that which the market itself generates. A good market participant will learn to read what the market structure is telling you by analyzing its intermarket relationsihps.
Financial companies have business models that make our economy go. From mortgages and credit cards for individuals to bank loans and payment services for corporations, financial companies are absolutely vital indicators on overall conditions and this is why these companies are regulated closely by government agencies.
It makes sense that when financial stocks are doing well, how bad can the market environment be?? Look back at past recessions and you will see very poor performance of financial stocks.
The backtest below is meant as an INDICATOR -- not a strategy to implement per se.
When financial stocks are beating a known risk-off stable segment like US Consumer Staples, we will bring our portfolio Beta up above 1.00 by adding a 25% position in SSO (the 2x S&P 500 ETF).
When financial stocks are underperforming, we will split our holdings into 50% SPY and 50% TLT. This is the 'risk-off' portfolio. (Note that in this example -- no matter which regime is in play, the portfolio will hold at LEAST 50% SPY -- think of that as the 'core' portfolio and the other 50% as the 'satellite').
Here are the results. Make sure to dive-in and immerse yourself in this topic. Alter the time periods incrementally. Alter the risk-on risk-off portfolios. Study sub-period backtests. What are the good aspects to this backtest? What are the possible limitations?
Dec 02, 2016
Regime Change
Back in 2011 we produced a little video that compared the performance of two very different 60-40 allocations: an aggressive portfolio invested in Emerging Markets, Financials and High Yield; and a defensive strategy based around Treasury Bonds, Utilities and Healthcare.
The purpose of that video, was not to show which allocation was best but rather to illustrate that 'that different sectors perform differently during the course of the business cycle'. It therefore makes sense that when there is a change in the overall regime, allocations should be materially adjusted.
Below is an update to that original example. The same two aggressive and defensive allocations are used, but this time we have employed the Regime Portfolios Backtest to dynamically switch between them depending on the prevailing regime. For this example with have used a simple credit spread style ratio to define the regime. When high yield bonds are outperforming treasuries, the backtest invests in the aggressive allocation. When the opposite is true, it switches to the defensive portfolio.
This is not meant to be a comprehensive strategy by any means, it's just a simple example to illustrate the concept of adapting to change. Hopefully though it provides a solid starting point for subscribers to conduct their own regime based research.
Mar 10, 2015
Regime Change
Q. What is regime change?
Regime change in financial markets terms means that there is a shift in a basic financial relationship that has governed a backtest periods results. Some examples might be an inflationary regime changing to a disinflationary era, reflected in how long-term treasury bonds behave. Or it might be a period of sustained high equity market volatility changing to a more narrow range market. Or a rising US Dollar vs a US dollar bear market. Rising price of oil vs declining etc....
Q. Why is understanding what regime you are in important?
Models and backtests are good at identifying relationships and how to profit from those relationships. But standard backtesting is only good if that financial relationship you are backtesting actually stays in-tact. Relationships develop, exist for a period of time --- often lengthy -- and then they can change.
Recall that the rules of financial markets are not like the rules of other areas of observation like in science. The temperature at which water freezes is the same across time. However, the financial markets are different and need to be thought about differently. You cannot be sure that a given financial law will continue into the future. Water doesn't learn from its freezing in the past and adapt -- but investors do.
Thus, regime change is one of the main problems with many articles you see written that study only very long periods of time. You get caught thinking something is true over the long-run and so -- since you are a long-term investor after all -- you don't care about a 3-7 year period of poor performance.
But there is a key problem with that, what if the underlying regime assumption has been mined and through that long-term analysis papers were written about this financial 'law' that exists. But we know that the thing you are counting on is NOT a law of nature, it is just a financial relationship. If you are wrong in your belief system, how much drawdown (or lost performance) will it take you before you figure out your previous thinking was simply flawed in terms of a reasonable time frame of performance analysis (3-7 years) ?
Q. How do you identify regime change?
This takes ongoing research. This takes ongoing thinking. This takes work. You can and should think about very long-term backtests too -- we are not advising taking only a short-term approach --- but then you should also put time and effort into intermediate-term backtesting to help determine whether the model you are relying upon is acting correctly. Balance the long-term backtests with shorter/intermediate term backtests. There is no way to know exactly how relationships will hold/change in the future --- but you can monitor them in ongoing fashion. You don't have to ride a relationship down into oblivion.
New ETFreplay Backtesting Module: "Regime Relative Strength"
This new module uses some existing methods that have been on ETFreplay.com for years --- but it now combines them into a single process. Before, you had to build this using component modules and then assemble and enter the information as an imported backtest. Now we have automated portions to take more of the monotonous sludgework out and give you more time to do what you should be doing with your time, doing research and thinking about the relationships to test -- not the mechanics of how to make a backtest work and the associated de-bugging.
Think of this as a multi-step process rolled into a single backtest. First, you come up with a rule of how to define Regime 1 vs Regime 2. Once the regime is determined, you line up a backtest strategy for that regime. When the regime switches, you associate a 2nd strategy for that regime. You are always in one regime or the other, there is no grey area -- (backtests need to be specific in the details).
We have defined the 'rule' in this case based on the concept of the Ratio Moving Average. Recall that if you are judging many ETFs (more than 2) against each other, you should use a multi-factor model. But if you are just looking at 2 ETFs, one vs the other, then you may want to just use the total return ratio of the 2 and define rules that way.
Once you have defined what constitutes Regime 1 or Regime 2, you can then set up a strategy for each regime.
Example:
Regime 1 Rule: When QQQ / SHY is trending up (above its 100-day MA because QQQ is stronger)
Regime 1 Portfolio: Own the top 2 performing basic NASDAQ Sectors
Regime 2 Rule: All Other Times (i.e. QQQ / SHY is trending down because QQQ is weaker)
Regime 2 Portfolio: Reduce drawdown risk but maintain equity exposure by owning lower vol ETFs.
This is a very simple example. You can of course add filters such as cash or moving average filters just like the regular backtesting applications elsewhere on ETFreplay.
Update: If you want to run a backtest that switches Relative Strength strategy based on whether or not QQQ alone is above / below its x-period MA, then you can use the ratio of QQQ / XZERO. ZERO is a constant (i.e. zero return), so an MA of the ratio QQQ / XZERO is the same as a moving average of QQQ itself. See 'Using SPY as a regime switch'