This post will aim to explore the effective number of bets (http://kylebalkissoon.wordpress.com/2014/04/15/effective-number-of-bets/) of various risk parity strategies (http://kylebalkissoon.wordpress.com/2014/04/14/risk-parity-using-various-risk-measures-volatility-expected-shortfall-semi-deviation-maximum-draw-down/). Why? Let’s see if it explains why some strategies outperform and others underperformed. If it is because we are not betting efficiently (ENB<Assets) relative to the other strategies it may indicate that a certain method or […]

Yesterday, I had a post on Risk Parity, however one of the drawbacks is if the assets are highly correlated the performance may not be the best. ( http://kylebalkissoon.wordpress.com/2014/04/14/risk-parity-using-various-risk-measures-volatility-expected-shortfall-semi-deviation-maximum-draw-down/ ). Today I will be analyzing the previous group from yesterday to see what was the effective number of bets. This is built off Attilio Meucci […]

A lot of people talk about equal risk contribution or balancing risk. This post aim’s to explore how a risk parity portfolio performs depending on the risk metric used in it’s calculation. I explore using Expected Shortfall. Volatility, Semi deviation and maximum drawdown as risk factors. The strategy is rebalanced monthly. Mathematically. Choose W such […]

Quick blog post about the sixty forty rule rebalanced annually. As always this is not investment advice. Whipped it up using SPY for stocks and BND for bonds, I used adjusted closes, you could use closes or whatever you like, you can also change rebal to a different number of days. library(quantmod) library(PerformanceAnalytics) getSymbols(“SPY”) getSymbols(“BND”) […]

The sharpe ratio can be viewed as a signal to noise ratio (when rf = 0), and this is a quick strategy to execute on “momentum” when the signal to noise ratio is appropriate, it appears to be profitable on the backtest. Here is quick example using the sharpe ratio to trade on. This is […]

Made an example using a basic autoregressive process (lags chosen by Yule Walker equations). This is a proof of concept to show how to build a basic AR process that acts as a way to predict the market, I created a spread between model prediction and market. When the market shifts away from the “smoothed […]

Quantstrat version of a reddit post: http://www.reddit.com/r/algotrading/comments/wrblb/not_enough_code_on_this_sub_check_out_my_first/ Two rules: 1. Buy when SMA(10) > SMA(100) 2. Hold Cash Otherwise *** THIS IS NOT INVESTMENT ADVICE, I AM NOT YOUR BROKER, ADVISOR, FUND MANAGER OR HAVE ANY DUTY OF CARE, FIDUCIARY DUTY OR ANYTHING SIMILAR. I AM NOT LIABLE FOR ANY LOSSES *** As always Credit […]