Buy top X hold while in top Y

We have added a Hold Filter option to the Portfolio Relative Strength and RS - Combine Portfolios backtests.

When the Hold Filter is turned on, the ETFs will be held as long as they remain ranked in the top (or bottom) Y.

i.e. If you choose a Buy Top of 2 and a Hold rank of 4, then the backtest will invest in 2 ETFs, but will only rotate out of an ETF when it drops below the top 4.

Using the Hold Filter makes a model less reactive and as a consequence it reduces trade activity.  By not switching each and every time a security moves in and out of the top X, it can also result in fewer whipsaws.  However, the higher the hold rank number is, the less responsive to changes the model will be, so a balance must be struck.

 

click image to view full size version

 

Note: the hold rank must be greater than the buy top / bottom number and be less than the number of securities in the chosen portfolio(s).

Tracking Error

We have added a new tool that enables subscribers to see how closely the ETFs, stocks or mutual funds in their various lists track a given benchmark security.

Tracking error is the annualized standard deviation of the daily return difference between the security and the benchmark. i.e.

TE = StDev(daily total return - benchmark daily total return) x SQRT(252)

1% Tracking Error therefore means that, if returns are normally distributed, the security’s return will be within +/- 1% of the benchmark return 68% of the time and within +/- 2% of the benchmark 95% of the time.

Realized daily returns are obviously not perfectly normally distributed, so those probabilities are not to be taken literally, they are simply a rough guide.  Nonetheless, tracking error provides an alternative perspective on risk from volatility and maximum drawdown.

A stock or ETF that has a persistently high tracking error will deviate substantially from the benchmark and is therefore unpredictable.  This does not mean the security must automatically be excluded from the portfolio, but it would be prudent to set its position size accordingly.

Side note: The tracking error of a 2x leveraged ETF will be approximately the same as the volatility of its benchmark. i.e.

StDev (2x Daily Return - Daily Return) x SQRT(252) =  StDev (Daily Return) x SQRT(252) = Volatility
SSO tracking error vs SPY  ~= SPY volatility
QLD tracking error vs QQQ  ~= QQQ volatility
etc.

 

click image to view full size version

Go to the Tracking Error tool

Using a Regime Ratio to switch between Mean Reversion and Relative Strength strategies

This example employs a simple credit spread style ratio to define the prevailing risk on / off regime and uses that to switch between different strategies.

When the High Yield / Treasury ratio is trending upwards (i.e. short MA above long MA) the backtest pursues a mean-reversion strategy, investing in the weakest short-term performers (buying wholesale) in a list of broad U.S. equity ETFs.

Conversely, when the HYG / IEI ratio trends down (short MA below long MA), the backtest switches to a Relative Strength strategy; buying the top five from a list of mixed asset class ETFs.   Selecting the strongest five securities from the list provides some diversification while also giving the backtest the opportunity, in bear markets, to allocate 80% to fixed income and, in the most severe periods, to avoid equities entirely. 

 

 

Specific parameters and ETFs are not the focus of this example, rather, it is intended to highlight the backtest functioanlity and to provide a starting point for subscribers to further research and develop.

Instructional video on how to use the Parameter Performance Summary functionality for ETF Backtesting

Instructional video on how to use the Parameter Performance Summary functionality.  #STUDY

to expand video on screen, click the '4 expanding arrows' icon in the bottom right corner of the video screen. Use the settings icon to change to 1080 quality if it seems at all blurry

MA, Ratio & Channel Parameter Performance Summaries

We have added three new Parameter Performance Summaries to the website:

As with the Relative Strength and TRD summaries that we introduced in July, each of the above can be accessed from their respective backtests.


Set the min, max and step / increment for each parameter, then click 'Run Backtests' and the tabulated results will be displayed:


Parameter Performance Summaries are available to all (regular and pro) annual subscribers.


**  studying the guidelines that we published within the original Parameter Summaries announcement is highly recommended  **