Blog Archives

xts and GSOC 2012

November 23, 2012
By
xts and GSOC 2012

Josh Ulrich and Jeff Ryan mentored a Google Summer of Code (GSOC) project this summer focused on experimental functionality for xts in collaboration with R. Michael Weylandt, a student in operations research and financial engineering from Princeton. You might recognize Michael from his presentation at R/Finance this year, where he gave a talk entitled “A

Read more »

FinancialInstrument Moves to CRAN

September 19, 2012
By
FinancialInstrument Moves to CRAN

I thought I would break up the posts about GSOC (no, I’m not done yet – there are a few more to do) with a quick note about FinancialInstrument. The FinancialInstrument package provides a construct for defining and storing meta-data for tradable contracts (referred to as instruments, e.g., stocks, futures, options, etc.). The package can

Read more »

Conversion of Meucci’s MatLab Code

September 7, 2012
By
Conversion of Meucci’s MatLab Code

You might remember a second proposal I put forward for this summer’s Google Summer of Code (GSoC). This project was ambitious, looking to convert a subset of Attillio Meucci’s MatLab code to R. Thankfully, Brian Peterson took the lead mentor position for this particular project. Coincidently, the day before GSoC started we received a very

Read more »

New Attribution Functions for PortfolioAnalytics

September 1, 2012
By
New Attribution Functions for PortfolioAnalytics

Another Google Summer of Code (GSoC) project this summer focused on creating functions for doing returns-based performance attribution. I’ve always been a little puzzled about why this functionality wasn’t covered already, but I think that most analysts do this kind of work in Excel. That, of course, has its own perils. But beyond the workflow

Read more »

…Now With More Bacon (2008)!

August 29, 2012
By
…Now With More Bacon (2008)!

I’m sure that Carl Bacon sighs deeply when he reads such headlines, but it is clearly appropriate in this case. Perhaps you remember that I proposed a Google Summer of Code project for 2012 around a considerable code contribution to PerformanceAnalytics from Diethelm Wuertz at ETHZ. That code was focused on adding a large number

Read more »

Framing investing as a decision-making process

June 23, 2012
By
Framing investing as a decision-making process

Brian Peterson and I had a chance to visit the University of Washington a couple of weeks ago at the behest of Doug Martin, where we gave a seminar covering various R packages we’ve written. Here are the slides we used. We also had quite a bit of time that we spent with Doug, Eric

Read more »

Download and parse EDHEC hedge fund indexes

June 4, 2012
By
Download and parse EDHEC hedge fund indexes

In our pre-conference workshop, Brian Peterson and I worked with the EDHEC hedge fund indexes as a way to demonstrate how to use PortfolioAnalytics within the context of long-term allocation problems. Although they are not investible, these indexes are probably more representative than most given that they are, in fact, meta-indexes. Other indexes might be

Read more »

Slides for R/Finance 2012

May 23, 2012
By
Slides for R/Finance 2012

Another succeessful* year of R/Finance is behind us. It was certainly more: a larger crowd, a longer session, more seminars, more presentations, more sponsors – perhaps even to the point where we’ve reaching a certain capacity. What began as an interesting idea among a few friends has more than credible momentum – it’s now more

Read more »

Registration for R/Finance 2012 is Open

April 15, 2012
By
Registration for R/Finance 2012 is Open

Registration has been open for a while, but I wanted to point out the pre-conference seminars. Registrations are strong this year, so if you’re interested you’ll need to sign up before they sell out. Register here… As you probably know by now, the fourth annual R/Finance conference for applied finance using R will be held

Read more »

Download and Parse DJ/UBS Commodities Indexes

March 16, 2012
By
Download and Parse DJ/UBS Commodities Indexes

Here is another data downloading and parsing script, this one for the Dow Jones/UBS Commodities Indexes. Compared to the last post, this parser deals with multiple sheets and multiple columns in each sheet. It also constructs monthly series from the daily data, and stores it using a different symbol. Finally, it’s a good example of

Read more »