Simplified Example of Systematic Investor’s Fine Work

February 10, 2012
By

(This article was first published on Timely Portfolio, and kindly contributed to R-bloggers)

THIS IS ONLY AN EXAMPLE AND IS NOT INVESTMENT ADVICE. ACTING ON THIS WILL LOSE LOTS OF MONEY.

Systematic Investor Blog (be sure to check out the site) offers extremely good examples of how to use R in finance.  Since I firmly believe more examples are always better, I wanted to provide an additional very simple example of how to use his Systematic Investor Toolbox (SIT) for systems development.  This will provide a building block for a series of posts similar to my A Quantstrat to Build On Part 6.  We’ll use our good old count up/down (CUD) indicator on the S&P 500 Index and compare it to Mebane Faber’s 10 month moving average.

I know this is not pretty, but I wanted to start with as simple a base as possible.  Any loyal readers will already have known that CUD is not so great at making money.

From TimelyPortfolio

R code in GIST:

To leave a comment for the author, please follow the link and comment on their blog: Timely Portfolio.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: ,

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)