BLOG

Explore our step-by-step research in systematic trading, machine learning, coding and more

Posted on Jul 20, 2017 by Kris Longmore
16 comments.
10,792 Views

Earlier this year, I attended the Google Next conference in San Francisco and gained some first hand perspective into what’s possible with Google’s cloud infrastructure. Since then, I’ve been leaning on Google Cloud Platform (GCP) to run my trading algorithms (and more) and it has become an important tool in my workflow. In this post, I’m going to show you how to set up a GCP cloud compute instance to act as a server for hosting a trading algorithm. I'll also discuss why such a setup can be a good option and when it might pay to consider alternatives. But cloud compute instances are just a tiny fraction of the whole GCP ecosystem, so before we go any further, let's take a high level overview of the various components that make up GCP. What is Google Cloud Platform? GCP consists of a suite of cloud storage, compute, analytics and development infrastructure and services. Google says that GCP runs on the very same infrastructure that Google uses for its own products, such as Google Search. This suite of services and infrastructure...

Posted on May 21, 2017 by Kris Longmore
15 comments.
5,911 Views

Recently, Yahoo Finance - a popular source of free end-of-day price data - made some changes to their server which wreaked a little havoc on anyone relying on it for their algos or simulations. Specifically, Yahoo Finance switched from HTTP to HTTPS and changed the data download URLs. No doubt this is a huge source of frustration, as many backtesting and trading scripts that relied on such data will no longer work. Users of the excellent R package [crayon-5c17186431f46458313613-i/]  however are in luck! The package's author, Joshua Ulrich, has already addressed the change in a development version of [crayon-5c17186431f4e630112619-i/]. You can update your [crayon-5c17186431f50361203142-i/]  package to the development version that addresses this issue using this command in R: [crayon-5c17186431f51846152954-i/] Of course, you need the [crayon-5c17186431f52109480742-i/]  package installed, so do [crayon-5c17186431f54370497952-i/]  first if you don't already have it installed. Once the package updates, [crayon-5c17186431f55466183656-i/]  should work just as it did prior to the updates on the Yahoo Finance server. I can verify that this worked for me. Of course, if you don't want to update quantmod to a version that lives on a Git branch,...

Posted on Apr 28, 2017 by Kris Longmore
3 comments.
8,747 Views

I recently read Gary Antonacci's book Dual Momentum Investing: An Innovative Strategy for Higher Returns with Lower Risk, and it was clear to me that this was an important book to share with the Robot Wealth community. It is important not only because it describes a simple approach to exploiting the "premier anomaly" (Fama and French, 2008), but because it is ultimately about approaching the markets with a critical, inquisitive mindset, while not taking oneself too seriously. I think we can all do with a dose of that sometimes. Gary's style is unique: this is the work of a free and critical thinker who is not afraid to question the status quo. While articulately drawing from a range of sources, from Shakespeare to Bacon and Einstein to Buffet (even Thomas Conrad's 1970 book Hedgemanship: How to Make Money in Bear Markets, Bull Markets and Chicken Markets While Confounding Professional Money Managers and Attracting a Better Class of Women, which has got to be the greatest title in the history of trading books), Gary comes across as playful and slightly eccentric (which is wonderfully refreshing...

Posted on Apr 12, 2017 by Kris Longmore
7 comments.
2,039 Views

  This is the final post in our 3-part Back to Basics series. You may be interested in checking out the other posts in this series: Part 1: An Introduction to Algorithmic Trading Part 2: How to Succeed at Algorithmic Trading We've also compiled this series into an eBook which you can download for free here. Nearly all research related to algorithmic trading is empirical in nature. That is, it is based on observations and experience. Contrast this with theoretical research which is based on assumptions, logic and a mathematical framework. Often, we start with a theoretical approach (for example, a time-series model that we assume describes the process generating the market data we are interested in) and then use empirical techniques to test the validity of our assumptions and framework. But we would never commit money to a mathematical model that we assumed described the market without testing it using real observations, and every model is based on assumptions (to my knowledge no one has ever come up with a comprehensive model of the markets based on first principles...

Posted on Mar 20, 2017 by Kris Longmore
4 comments.
1,926 Views

[vc_row][vc_column][vc_column_text] This is the second post in our 3-part Back to Basics series. You may be interested in checking out the other posts in this series: Part 1: An Introduction to Algorithmic Trading Part 3: Backtesting in Algorithmic Trading We've also compiled this series into an eBook which you can download for free here. [/vc_column_text][vc_column_text]There is a lot of information about algorithmic and quantitative trading in the public domain today. The type of person who is attracted to the field naturally wants to synthesize as much of this information as possible when they are starting out. As a result, newcomers can easily be overwhelmed with “analysis paralysis” and wind up spending a lot of their valuable spare time working on algorithmic trading without making much meaningful progress. This article aims to address that by sharing the way in which I would approach algorithmic trading as a beginner if I were just starting out now, but with the benefit of many years of hindsight. This article is somewhat tinged with personal experience, so please read it with the understanding that I am...

Posted on Feb 04, 2017 by Kris Longmore
6 comments.
6,006 Views

This is the first post in our 3-part Back to Basics series. You may be interested in checking out the other posts in this series: Part 2: How to Succeed at Algorithmic Trading Part 3: Backtesting in Algorithmic Trading This is the first in a series of posts in which we will change gears slightly and take a look at some of the fundamentals of algorithmic trading. So far, Robot Wealth has focused on machine learning and quantitative trading research, but I had several conversations recently that motivated me to explore some of the fundamental questions around algorithmic trading. In the next few posts, we will investigate questions such as: What is algorithmic trading? What can algorithmic trading do for me? What are the pre-requisites? What should I think about before getting started? What's all this fuss about curve fitting and robust optimisation? Why should I care? So without further ado, lets dive in! What is Algorithmic Trading? At its most basic level, algorithmic trading is simply the automated buying and selling of financial instruments, like stocks, bonds and futures. It requires a...