Exporting Zorro Data to CSV

Earlier versions of Zorro used to ship with a script for converting market data in Zorro binary format to CSV. That script seems to have disappeared with the recent versions of Zorro, so I thought I’d post it here. When you run this script by selecting it and pressing [Test] on the Zorro interface, you …

Read more

Evolving Thoughts on Data Mining

Several years ago, I wrote about some experimentation I’d done with data mining for predictive features from financial data. The article has had several tens of thousands of views and nearly 100 comments. I think the popularity of the article lay in its demonstration of various tools and modeling frameworks for doing data mining in R …

Read more

Trading FX using Autoregressive Models

I’m a big fan of Ernie Chan’s quant trading books: Quantitative Trading, Algorithmic Trading, and Machine Trading. There are some great insights in there, but the thing I like most is the simple but thorough treatment of various edges and the quant tools you might use to research and trade them. Ernie explicitly states that …

Read more

Tesla’s inclusion in the S&P 500 – Is there a trade?

The S&P index committee recently announced that Tesla, already one of the biggest stocks listed in the country, would be included in the S&P 500. Here’s the press release: Due to TSLA’s size, it was widely expected to have entered the S&P 500 index much earlier – but S&P has some discretionary criteria it applies …

Read more

How to Connect Google Colab to a Local Jupyter Runtime

Colaboratory, or Colab, is a hosted Jupyter notebook service requiring zero setup and providing free access to compute resources. It is a convenient and powerful way to share research, and we use it extensively in The Lab. What’s The Lab? The Lab is the RW Pro group’s portal for doing collaborative research together as a …

Read more

Where does FX sit in a Systematic Trading Portfolio?

You rarely meet a rich forex trader. I’ve met plenty of rich traders who trade quant factors or stat arb. Plenty of market makers, futures spreaders and volatility traders that do nicely. But I don’t think I’ve ever met a rich forex trader. Jeez man – what a downer! Don’t run away, we’re gonna turn …

Read more

Some Things Just Go Up (If You Wait Long Enough)

  Here’s a chart of long-term asset performance…. The blue line shows returns from US stocks from 1900 to today. That’s a 48,000x increase in nominal value. The yellow line shows the returns from US bonds from 1900 to today. That’s a 300x increase in nominal value. If you look at this in isolation things …

Read more

What Assumptions Are You Making About “Time” In Your Trading?

I recently listened to a podcast about one of the earliest human civilizations – the ancient Sumerians. Apparently, our system of minutes, hours, and days has been with us since the time of these ancient people, who developed it based on a simple base-12 counting system: There are three joints in each of the four …

Read more

My Thoughts on Quantopian’s Closing

I was very sad to learn that Quantopian is shutting down its community services. Quantopian’s efforts to bring quant finance outside of institutions was a genuine game-changer. The educational content was solid, the tech was excellent, and the QuantCon conferences were professional, well-run, and inclusive in a way that you never see at the “finance …

Read more