Publications by The R Trader

Introducing fidlr: FInancial Data LoadeR

21.04.2016

fidlr is an RSutio addin designed to simplify the financial data downloading process from various providers. This initial version is a wrapper around the getSymbols function in the quantmod package and only Yahoo, Google, FRED and Oanda are supported. I will probably add functionalities over time. As usual with those things just a kind reminder...

1995 sym 2 img

Trading strategy: Making the most of the out of sample data

19.08.2016

When testing trading strategies a common approach is to divide the initial data set into in sample data: the part of the data designed to calibrate the model and out of sample data: the part of the data used to validate the calibration and ensure that the performance created in sample will be reflected in the real world. As a rule of thumb aroun...

3485 sym R (902 sym/1 pcs) 2 img

BERT: a newcomer in the R Excel connection

30.11.2016

A few months ago a reader point me out this new way of connecting R and Excel. I don’t know for how long this has been around, but I never came across it and I’ve never seen any blog post or article about it. So I decided to write a post as the tool is really worth it and before anyone asks, I’m not related to the company in any way. BERT ...

5167 sym R (821 sym/4 pcs) 8 img

Linking R to IQFeed with the QuantTools package

04.06.2017

IQFeed provides streaming data services and trading solutions that cover the Agricultural, Energy and Financial marketplace. It is a well known and recognized data feed provider geared toward retail users and small institutions. The subscription price starts at around $80/month. Stanislav Kovalevsky has developed a package called QuantTools. It�...

3830 sym R (1276 sym/6 pcs) 2 img

Visualizing Time Series Data in R

26.06.2017

I’m very pleased to announce my DataCamp course on Visualizing Time Series Data in R. This course is also part of the  Time Series with R skills track. Feel free to have a look, the first chapter is free! Course Description As the saying goes, “A chart is worth a thousand words”. This is why visualization is the most used and powerful wa...

2127 sym 2 img

Machine Learning Modelling in R : : Cheat Sheet

22.03.2018

I came across this excellent article lately “Machine learning at central banks” which I decided to use as a basis for a new cheat sheet called Machine Learning Modelling in R. The cheat sheet can be downloaded from RStudio cheat sheets repository. As the R ecosystem is now far too rich to present all available packages and functions, this�...

1032 sym 2 img

R Code – Best practices

01.09.2018

Nothing is more frustrating than a long piece of code with no standard way of naming elements, presenting code or organizing files. It’s not only unreadable but more importantly not reusable. Unfortunately, unlike other programming languages, R has no widely accepted coding best practices. Instead there has been various attempts to put together...

5851 sym R (1932 sym/3 pcs) 2 img

Converting LOBSTER demo R code into Python

18.12.2019

It has been more than a year since my last post, I’ve been super busy with consulting assignments working on algorithmic/electronic trading. The workload is still heavy but I managed to find a few hours to write this post as I came across a new great tool: LOBSTER (and before anyone asks I’ve no link whatsoever with the company) LOBSTER stand...

2592 sym Python (16515 sym/4 pcs) 10 img