Tag Archives: tlt

Day-Of-Month Effect On A Bond/Equity Portfolio

In this post we will: Take a look at a simple, momentum based, monthly rebalanced Equity/Bond portfolio. Search for what has been the optimal dates in the month to rebalance such a portfolio. Each month we allocate to two ETFs: SPY and TLT . If SPY has outperformed TLT we rebalance to 60% SPY – 40% TLT. If TLT has outperformed SPY we rebalance to 20% SPY – 80% TLT. For the first run we will re-balance on the first of the month and close at the last day of the month. Click to enlarge source: sanzprophet.com Now we will try different combinations of entry and exit days. We will try to purchase x days before or after the month and instead of exiting at the end of the month we will exit after y days. Click to enlarge source: sanzprophet.com Click to enlarge source: sanzprophet.com The top chart is optimized for Net Profit while the second one for annual return/max drawdown. They are similar in this case, but we will use the second one. According to the chart the best combinations have been: Buy 3-7 days after the month and hold for around 10-18 days. The BuyDayRefToMonth variable refers to when we buy relative to the turn of the month. For example -5 means we buy five days after the turn of the month (i.e., the 6th trading day). +5 means we buy 5 days before the month ends. The BarsnStop variable refers to how many days later we sell the positions. Looking at the charts more closely we see that buying after (not before) the 1st of the month gives consistently better results when set between 2 and 7 days. Click to enlarge source: sanzprophet.com How many days we hold the investment is less obvious and seems to work across the given range: Click to enlarge source: sanzprophet.com Let’s run this again but now only for 2012-May 2016: Click to enlarge source: sanzprophet.com Similar results. The only difference is that the holding times are shorter. Let’s now input the optimized numbers and run the backtest. Obviously we will get something that looks good since it has been fit to the data. We buy 6 days after the month and hold 10 trading days. Click to enlarge source: sanzprophet.com Conclusion: There are many variables that affect how we run a dynamic Equity/Bond portfolio. We optimized only two of them, namely when to rebalance relative to the turn of the month and how many days to hold the investment. In terms of entry it was better to wait 3-6 days after the month changes to enter the trade. When it comes to this bond/equity portfolio, rebalancing late is better. Disclosure: I am/we are long SPY, TLT. I wrote this article myself, and it expresses my own opinions. I am not receiving compensation for it. I have no business relationship with any company whose stock is mentioned in this article.

Reducing Portfolio Risk With Help From Momentum Model

Reduce portfolio risk by activating momentum model. Reduce portfolio risk based on security volatility. Reduce portfolio risk through the use of stop-loss orders. Controlling portfolio risk is every bit as important as seeking portfolio return, particularly when markets are high and volatile. The following analysis takes readers through a process of controlling portfolio risk with help from a tranche momentum spreadsheet. Main Menu: We begin with the following Main Menu where the basic assumptions are laid out by the portfolio manager. In the following example we are using twelve (12) ETFs plus SHY as the cutoff security. Hence the name, Baker’s Dozen. Many of the ETFs carry low correlations with each other, an important factor to consider when identifying securities to populate a momentum oriented portfolio. In the follow screen-shot we set the number of offset portfolios to 8 and the period between offsets to two (2). What this means is that the securities are ranked multiple times (8) on different dates (separated by 2 days) based on two different look-back periods plus volatility. Using these three metrics, the ETFs are ranked each review period. My preference is to review a portfolio every 33 days so the review is rotated throughout the month. Not only are the ETFs ranked based on current data, but they are ranked two, four, six, eight, and etc. days ago so we know what the rankings looked like up to sixteen (8 x 2) days ago. The look-back periods are 60 and 100 trading days. A 20% weight is assigned to the volatility as we are looking for securities with low volatility. Only two securities are selected for each offset portfolio. This becomes more apparent in the second screen-shot so move down to that slide. (click to enlarge) Tranche Recommendations: Here we have what is called the Tranche Momentum model worksheet. This is the first of three risk reducing mechanisms. The tranche model is designed to reduce the “luck-of-trading-day” as this is a problem inherent in all back-tests as well as real portfolio management. Instead of splitting the portfolio into 50% VNQ and 50% MTUM , as the current offset recommends, we note that offset 3 recommended divisions between VNQ and TLT . Offset portfolio #5 recommended 50% allocation to SHY and 50% to VNQ. Using eight (8) portfolio offsets ends up dividing the portfolio into four securities where the percentages are based on the number of times the ETF shows up in one of the eight rankings. The worksheet permits as many as 12 portfolio offsets, but I tend to favor using eight. The following worksheet ranks the ETFs using both absolute and relative momentum principles. Readers will note that the current portfolio holds 200 shares in VTI, but the tranche momentum model recommends none as VTI is under-performing SHY, our “circuit breaker ETF.” Momentum becomes one of our risk reducing mechanisms as under-performing securities are screened out of the active portfolio. (click to enlarge) Risk Reduction Recommendations: The following worksheet combines recommendations from the above tranche data and adds a volatility factor to come up with a list of recommended ETFs. In the following slide the Maximum Trade Position Risk percentage is set to 2.0% so the total portfolio is not exposed to more than a 6% draw-down until the next review period. The still leaves individual ETFs at unacceptable risk levels which we control in the final screen-shot. Before moving to the final slide, look at the individual recommendations. Shares held in VTI and PCY are sold out of the portfolio as VTI is under-performing SHY and PCY has not shown up as a recommended ETF in any of the last 8 offset portfolios. The recommendations are to hold the following four ETFs. 75 shares of SHY – round up from 74. 300 shares of VNQ – rounded to the nearest 100 shares. 100 shares of TLT – rounded to the nearest 100 shares. 350 shares of MTUM – rounded to nearest 50 shares. (click to enlarge) Manual Risk Reduction Recommendations: For the final risk reduction activity the recommendations from the above worksheet are followed which still leaves a few ETF exposed to excess risk. The final step is to place stop-loss or Trailing Stop Loss Orders (TSLOs) on VNQ and MTUM. VTI is either sold at market or a 6% TSLO is used. While the current portfolio holds $8,000 in cash, the recommendation is to increase it to $32,500. Note that the current portfolio carries a risk of 4.8%, but if the suggested adjustments are made, the risk drops to 3.4%. (click to enlarge) With the aid of the tranche momentum spreadsheet we limit portfolio risk through absolute and relative momentum principles as these keep us out of deep bear markets. Further portfolio risk is controlled by placing stop-loss orders as a way of clamping down on excess draw-downs. Granted, these procedures work when we have an orderly market. Guarding against “flash crashes” is an entirely separate problem.

Towards A Zero-Beta Stocks And Bonds Portfolio

Summary A low-risk investor may want to completely remove systematic risk associated with stock market trends (i.e. achieve portfolio beta of 0). You can do this by pairing an S&P 500 mutual fund or ETF with any negative-beta bond fund. The necessary allocation to the S&P 500 fund is given by c = beta / (beta – 1), where beta is the bond fund’s beta. The beta of a bond fund changes over time. One approach is to use a trailing 50-day moving average to estimate your bond fund’s current beta. Backtested performance of a zero-beta SPY/TLT strategy suggest very good raw and risk-adjusted returns since mid-2002 (CAGR 7.2%, MDD 21.4%, Sharpe ratio 0.049). Alpha and Beta of a Two-Fund Portfolio Alpha and beta are the intercept and slope, respectively, when you regress a fund or portfolio’s daily gains vs. daily gains for a standard index. In this article, I use the SPDR S&P 500 Trust ETF ( SPY) as the standard index. For a portfolio with some allocation to two different funds, the portfolio alpha is simply the weighted average of the two funds’ alphas, and the portfolio beta is the weighted average of the two funds’ betas. For example, suppose you pair SPY, which has alpha of 0 and beta of 1 by definition, with a bond fund that has alpha of 0.002% and beta of -0.1. If you allocated 25% to SPY and 75% to the bond fund, your portfolio alpha would be 0.25 (0%) + 0.75 (0.002%) = 0.0015%, and your portfolio beta would be 0.25 (1) + 0.75 (-0.1) = 0.175. One can show that when pairing SPY with a bond fund with some particular beta, the necessary SPY allocation for portfolio beta of 0 is given by c = beta / (beta – 1). Why Target Zero Beta? It may sound strange, but a portfolio with net beta of 0 on average moves 0% for every 1% change in the S&P 500. In other words, it has no dependence on market movement. Generally when investors add exposure to bonds they retain some positive net beta, but much smaller than 1. By reducing beta, they shield themselves from major portfolio losses in the event that the stock market takes a big dip, while also sacrificing raw returns if the stock market performs well and gains, say, 8% a year. With beta of 0, you theoretically completely shield your portfolio from any market movement. Does that mean 0% portfolio gain every day? Thankfully, no. A zero-beta portfolio comprised of a stocks fund and a bond fund has positive alpha due to the bond allocation, which gives the portfolio growth potential. SPY and TLT Consider a two-fund stocks and bonds portfolio comprised of SPY and the iShares 20+ Year Treasury Bond ETF (NYSEARCA: TLT ). If you pool together all daily gains going back to TLT’s inception in July 2002, TLT has alpha of 0.043% and beta of -0.297. That means that various allocations to SPY and TLT can achieve portfolio alphas between 0% and 0.043%, and portfolio betas between -0.297 and 1. The figure below illustrates this. (click to enlarge) We see that 22.9% SPY/77.1% TLT achieves a portfolio beta of 0, with a nice portfolio alpha of 0.033%. Note that 22.9% agrees with our formula for SPY allocation to achieve zero beta: c = beta / (beta – 1) = -0.297 / (-0.297 – 1) = 0.229. In terms of Sharpe ratio, we’re doing pretty well at 22.9% SPY, although Sharpe ratio is maximized at 40.7%. But our goal here is zero beta, so we stick with 22.9% SPY. Note that alpha decreases uniformly with increasing beta in this scenario, since increasing beta requires decreasing the TLT allocation and capturing a lower percentage of its alpha. Historical Performance of 22.9% SPY/77.1% TLT Performance of the zero-beta SPY/TLT portfolio (with free daily rebalancing) since inception is shown below. (click to enlarge) The zero-beta portfolio ended above TLT and slightly below SPY, but had much better risk-adjusted performance, as you can see below. Table 1. Performance metrics from July 30, 2002, to Nov. 3, 2015. Fund CAGR (%) Max Drawdown (%) Sharpe ratio SPY 8.6% 55.2% 0.033 TLT 7.2% 26.6% 0.036 22.9% SPY/77.1% TLT 8.3% 19.3% 0.055 Issues With 22.9% SPY/77.1% TLT Portfolio Two issues with the zero-beta SPY/TLT portfolio come to mind: Actual beta changes over time, because TLT’s beta changes. There is no way we could have predicted that the SPY allocation to achieve average beta of 0 from 2002-2015 was 22.9%. Issue (1) means our zero-beta portfolio’s beta is not always 0. For example, here is how the TLT’s beta, and the 22.9% SPY/77.1% TLT portfolio’s beta, vary over the backtested period, using a 50-day moving average. (click to enlarge) We see that TLT’s beta varies quite a bit (-1.05 to 0.45). The 22.9% SPY/77.1% TLT portfolio’s beta range is smaller (-0.58 to 0.58), but still too great for a supposed zero-beta portfolio. A First Crack at a Truly Zero Beta SPY/TLT Portfolio A natural solution to both issues (1) and (2) is to monitor TLT’s beta over time, and update the asset allocation accordingly. For a first attempt I’ll arbitrarily choose a 50-day trailing moving average. Every day, I’ll calculate TLT’s beta according to the previous 50 daily gains, and re-allocate if the current portfolio beta based on the SPY and TLT balance and TLT’s current beta is outside of (-0.15, 0.15). But what happens when TLT’s beta turns positive? In that case there is no way to achieve zero beta with SPY and TLT. Three options come to mind: Hold cash until TLT’s beta turns negative again. Allocate 100% to TLT, since that is the closest to zero beta we can achieve with SPY/TLT and we utilize all of TLT’s alpha. Swap SPY for an inverse S&P 500 ETF (e.g. SH) to achieve zero beta. I think this is an important topic for future work. The third seems most defensible, but for simplicity I’ll use (2) here. TLT’s beta was only positive about 16% of the time, so it may not make a huge difference. The next figure shows portfolio beta for the adaptive zero-beta SPY/TLT strategy based on 50-day trailing moving averages. (click to enlarge) Much better. The 22.9% SPY/77.1% TLT portfolio and the adaptive zero-beta SPY/TLT portfolio had actual betas outside of (-0.1, 0.1) 63.3% and 43.1% of the time, respectively; outside of (-0.2, 0.2) 38.2% and 18.2% of the time; and outside of (-0.3, 0.3) 19.0% and 6.9% of the time. However, the adaptive strategy did require a whopping 1,264 trades, or an average of about 97 trades per year. I didn’t incorporate trading costs into this backtest, but they would be substantial unless your portfolio balance was very high. In terms of the usual performance metrics, the adaptive strategy had CAGR of 7.2%, MDD of 21.4%, and Sharpe ratio of 0.049. Note that if you only rebalance when portfolio beta goes outside of (-0.3, 0.3) rather than (-0.15, 0.15), you “only” need 618 trades (48 per year), but your portfolio beta deviates more from 0. That portfolio had a backtested CAGR of 8.6%, MDD of 26.6%, and Sharpe ratio of 0.052. Implementation Details Implementing this strategy takes a little work. Every day, you would have to download SPY and TLT’s closing prices for the past 50 days, calculate daily gains, and estimate TLT’s beta. You would then have to calculate your portfolio’s effective beta, and adjust your allocations if necessary. It isn’t actually too hard to do this. You can estimate TLT’s trailing 50-day beta in a few lines of R code using my “stocks” package. First install the package (you only have to do this once): > install.packages(“stocks”) Then load it and call the beta.trailing50 function: > library(“stocks”) > beta.trailing50(“TLT”) Then you’d have to log into your investments account, get your current SPY and TLT allocation, and calculate your effective beta (SPY allocation * 1 + TLT allocation * current beta). If effective beta is out of range, calculate the target SPY allocation (c = beta / (beta – 1)) and rebalance accordingly. It’s not ideal, but it really only takes a few minutes. My sense is that you could monitor TLT’s beta and your portfolio’s beta a little less stringently (e.g. once a month rather than every day) and still do all right. I plan to test this in future work. Conclusions I really like the idea of having a portfolio with considerable growth potential but no systematic dependence on stock market trends. TLT is a good candidate to pair with SPY for this purpose, because it is has positive alpha and negative beta. TLT’s average beta since inception is -0.297, which means you need to allocate 22.9% to SPY and 77.1% to TLT to achieve zero beta. Such a portfolio had excellent performance since 2002, but wasn’t entirely satisfactory because the actual beta often deviated far from 0, and you couldn’t have known to allocate 22.9% to SPY during that 13-year period to achieve average zero beta. While it may not be the optimal solution, I found that you could keep the portfolio beta much closer to 0 by monitoring TLT’s beta using a trailing 50-day moving average. Future work will focus on comparing the three approaches mentioned for when TLT’s beta turns positive, and on adjustments to keep the portfolio beta as close to zero as possible without suffering excessive trading costs.