Beyond R, or on the Hunt for New Tools

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

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

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)