Beyond R, or on the Hunt for New Tools

May 12, 2014
By

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

For more than four years now (judging by the first post on my old blog), R has been my primary tool for market research. It has thought me a lot, and it has helped me to me advance smoothly in the field of semi-automated trading. Lately however I started realizing that R is lacking essential tools for my new needs and after some serious deliberation, I have decided (surprisingly for myself) that R is NOT the right platform for my new research.

For about few months now, I have been working on strategies for trading US future markets. In terms of duration – nothing new, the strategies I have been researching are mostly daily. In my experiments however I found an ever growing need for a good charting support. Nothing really can beat the eye in terms of evaluation and pattern spotting. That’s when I started feeling uncomfortable with R.

R does have great packages for charting, but these are mostly “static” charts and after considering briefly creating a new package for interactive financial charts, I decided to look elsewhere.

Some of the strategies I looked at, exposed other R shortcomings. Strategies that require advanced risk management, like stop loss, stop trailing etc, are simply not suitable for an efficient implementation in R. My experience with the quantstrat package was simply annoying, but my own btutils package, which had no issues with performance (it’s simply C++ interface), was not satisfying either.

Let me emphasize, this wasn’t the first time I hit obstacles with R. Until now however the benefits of using R have always dwarfed the little inconveniences here and there. This time however things were different – R wasn’t providing much in terms of infrastructure either. For example, for futures, there is no convenient getSymbols interface, no great support for futures as instruments either.

Thus, it was time for a change. After some research, I found a tool to fill, at least temporarily, the gap – Ninja Trader. It’s a nice charting program, but what I really love about it is the backtesting platform based on C# and their excellent forum-based support. Oh, and did I mention, it’s free until one needs a brokerage connection! Tough to beat for proof-of-concept work based on charts.

So, is Ninja Trader going to be my platform then? Not at all. In fact, I am already seeing areas which make Ninja Trader an unlikely choice. However, it’s definitely here to stay, and I might have a post or two (especially if there is interest) to show how I am using it.

As to what the next tool is going to be … it will have to wait, but I must tell you, there are certain developments that make me feel quite excited.

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 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...

Comments are closed.

Search R-bloggers


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)