Publications by The R Trader

Financial Data Accessible from R – part II

30.10.2013

I updated my initial post with two new sources of data and the associated R packages: Datastream and PWT. I also added the fImport package from Rmetrics. Following a reader suggestion, I made the initial table  more interactive, moved  the data description and package detail below the main table and updated them. Enjoy! Source R Package Free A...

3422 sym 1 tbl

Finding Reversal Zone in Intraday FX prices

05.11.2013

There is no holy grail in trading instead there are strategies that work for a while or in a specific market environment. The role of the analyst is therefore twofold.  First find a good trading strategy, second find the right environment for this strategy. The present post focuses on the latter. More specifically it aims at estimating good entr...

4773 sym 12 img

Financial Data Accessible from R – part III

08.11.2013

I came across a new source of data which I think is really worth sharing: ThinkNum. It gathers around 2,000 sources of data but more importantly it allows the user to manipulate this data via functions and graphics and there is an R package available on CRAN. Interested readers can find a very good post exploring some of the functionalities here....

3703 sym 1 tbl

Evaluating Quandl Data Quality

15.11.2013

Quandl has indexed millions of time-series datasets from over 400 sources. All of Quandl’s datasets are open and free. This is great news but before performing any backtest using Quandl data, I want to compare it with a trusted source: Bloomberg for the purpose of this post. I will focus only on daily Futures data here (front month contract). ...

2668 sym 1 tbl

Evaluating Quandl Data Quality – part II

02.12.2013

This post is a more in depth analysis of Quandl futures data vs. Bloomberg data. Since my last post Quandl has updated its futures database to 200+ contracts from 68 contracts originally. For practical reasons, I limit myself here to the initial list of 60+ contracts. I’m still comparing the “Front Month” contract between the two sources. W...

2421 sym 6 img 1 tbl

Financial Data Accessible from R – part IV

13.12.2013

DataMarket is the latest data source of financial data accessible from R I came across. A good tutorial can be found here. I updated the table and the descriptions below. Source R Package Free Access Available on CRAN Provider url Yahoo, FRED, Oanda, Google Quantmod Yes Yes Quantmod Quandl Quandl Yes Yes Quandl TrueFX TFX Yes Yes TrueFX Bloo...

3889 sym 1 tbl

Introduction to R for Quantitative Finance – Book Review

10.01.2014

I used some spare time I had over the christmas break to review a book I came across: Introduction to R for Quantitative Finance. An introduction to the book by the authors can be found here. The book targets folks with some finance knowledge but no or little experience with R. Each chapter is organised around a quant finance topic. Step by st...

1824 sym 2 img

Overnight vs. Intraday ETF Returns

25.01.2014

I haven’t done much “googling” before posting, so this topic might have been covered elsewhere but I think it’s  really worth sharing or repeating anyway. A lot has been written about the source of  ETF returns (some insights might be found here). In a nutshell some analysis found that the bulk of the return is made overnight (return b...

2032 sym R (1205 sym/1 pcs) 1 tbl

A million ways to connect R and Excel

11.02.2014

In quantitative finance both R and Excel are the basis tools for any type of analysis. Whenever one has to use Excel in conjunction with R, there are many ways to approach the problem and many solutions. It depends on what you really want to do and the size of the dataset you’re dealing with. I list some possible connections in the table below...

3694 sym R (418 sym/6 pcs) 1 tbl

Using CART for Stock Market Forecasting

28.02.2014

There is an enormous body of literature both academic and empirical about market forecasting. Most of the time it mixes two market features: Magnitude and Direction. In this article I want to focus on identifying the market direction only. The goal I set myself, is to identify market conditions when the odds are significantly biased toward an up ...

6756 sym 6 img