[This article was first published on Timely Portfolio, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I was intrigued by the CRAN update on a package ttrTests, especially since quantstrat is not built for backtesting system parameters and analyzing system performance as I mentioned in A Quantstrat to Build On Part 6. ttrTests offers a nice start to my ideal setup for system development, testing, and reporting. In upcoming posts, I hope to build some functionality on top of ttrTests to accomplish my objectives.
I proposed a basic counting system in A Quantstrat to Build On Part 6, but randomly assigned a 50 week (250 days or 1 trading year) parameter to the count. With the help of ttrTests and a couple of index series from Yahoo!Finance, let’s see what parameters work best. Then we can aggregate and graph to visualize the results. As always, THIS IS NOT INVESTMENT ADVICE, and I welcome comments and suggestions.