Hot answers tagged

3

There is one minor mistake: If you compute sum(mean.var) you'll obtain $-1$ instead of $1$. So it should be mean.var<-xt/sum(xt) in order to ensure that the weights sum up to one. The remainder is correct. Incorporating a risk aversion parameter into the framework requires the solution to the minVar problem (See for example here). Therefore, dividing ...


2

While I've never used SIT, I have used quantstrat quite a bit and can attest to its strength. It has a solid developer community backing it (7 contributors on Github), is part of the TradeAnalytics project on R-Forge, and while it's still technically in beta, it should provide plenty of functionality. There is admittedly a pretty steep learning curve when ...



Only top voted, non community-wiki answers of a minimum length are eligible