Site icon R-bloggers

DVI Performance

[This article was first published on Quintuitive » R, 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.

This is the next post in the DVI indicator series. After the first two (here and here) analyzed in details the post-entry returns and the entry power of this indicator, it’s time to take a look at the trading performance.

Using the Systematic Investor Toolbox, we get some pretty decent results:

Equity Curve

Performance Statistics

CAGR of 16.15% and Sharpe Ratio of 0.93 is simply amazing, especially considering the fact that this is just a bare-bone implementation. The massive performance over the last few years is simply astonishing and a proof of the robustness of this indicator. Remember, it was introduced by David Varadi from CSS Analytics circa 2008.

As usual, the full source code is available from GitHub. For the code to work properly, you need to install the latest version of the TTR package from R-Forge, which substantially improves the previous DVI implementation. One way to install this necessary package is by running:

install.packages("TTR", repos="http://R-Forge.R-project.org")

To leave a comment for the author, please follow the link and comment on their blog: Quintuitive » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.