Silverio J. Vasquez
December 12, 2017
Buy low-beta (< 1) stocks and sell short high-beta (> 1) stocks in the S&P 500. Inspired by paper from Andrea Frazzini and Lasse H. Pedersen titled “Betting Against Beta”
quantmod package and Quandl.comData was sourced from:
rvest packagequantmod packagedata.table, subsetting only desired stocks, and converting data format from long to wideBeta was calculated on a rolling 2-year basis using CAPM and Blume's beta adjustment:
CAPM Formula
\[ \scriptstyle Return = Riskfree Rate + \beta * (Market Return - Riskfree Rate) \]
CAPM Rearranged
\[ \scriptstyle (Return - Riskfree Rate) = \beta * (Market Return - Riskfree Rate) \]
Blume's Beta Adjustment
\[ \small \bar\beta = \frac{2}{3} * \beta + \frac{1}{3} * 1 \]
Two dataframes representing two portfolios:
Rebalancing on a weekly basis resulted in the following performance:
Rebalancing on a monthly basis resulted in the following performance:
Rebalancing on a quarterly basis resulted in the following performance:
Rebalancing on an annual basis resulted in the following performance:
Clearly the only time this strategy made money was when rebalancing was done on an annual basis. This differs from the results of the authors where they found this strategy to make money more often than not.
Reasons for differences are due to my limited dataset and computational power of R (authors used daily timeseries to calculate betas, while I did it on a weekly basis - this takes 30-60mins).