Getting Started with the Interactive Brokers Native API

Here at Robot Wealth, we trade with Interactive Brokers (IB) primarily because they offer access to global markets at a reasonable price. In recent times, IB has put some time and effort into upping its tech game, including development of an API for interacting with its desktop trading applications. An application that interacts with IB’s …

Read more

Navigating Tradeoffs with Convex Optimisation

Navigating Tradeoffs with Convex Optimisation This is the final article in our recent stat arb series. The previous articles are linked below: A short take on stat arb trading in the real world A general approach for exploiting stat arb alphas Ideas for crypto stat arb features Quantifying and combining crypto alphas A simple and …

Read more

Building Intuition for Trading with Convex Optimisation with CVXR

This article continues our recent stat arb series. The previous articles are linked below: A short take on stat arb trading in the real world A general approach for exploiting stat arb alphas Ideas for crypto stat arb features Quantifying and combining crypto alphas A simple and effective way to manage turnover and not get …

Read more

How to Model Features as Expected Returns

Modeling features as expected returns can be a useful way to develop trading strategies, but it requires some care. The main advantage is that it directly aligns with the objective of predicting and capitalising on future returns. This can make optimisation and implementation more intuitive. It also facilitates direct comparison between features and provides a …

Read more

A Simple, Effective Way to Manage Turnover and Not Get Killed by Costs

Every time we trade, we incur a cost. We pay a commission to the exchange or broker, we cross spreads, and we might even have market impact to contend with. A common issue in quant trading is to find an edge, only to discover that if you executed it naively, you’d get killed with costs. …

Read more

Quantifying and Combining Crypto Alphas

In this article, I’ll take some crypto stat arb features from our recent brainstorming article and show you how you might quantify their strength and decay characteristics and then combine them into a trading signal. This article continues our recent articles on stat arb: A short take on stat arb trading in the real world …

Read more

Ideas for Crypto Stat Arb Features

This article continues our recent articles on stat arb: In this article, I’ll brainstorm some ideas for predictive features that you could potentially use in a crypto stat arb model. The ideas draw insights from recent discussions and market observations, but of course, you should do your own research. In future articles, I’ll pick some …

Read more

A General Approach for Exploiting Statistical Arbitrage Alphas 

Last week, I wrote a short article about statistical arbitrage trading in the real world. Statistical arbitrage is a well-understood concept: find pairs or baskets of assets you expect to move together, wait for them to diverge, and bet on them converging again. Simple enough. But making it work, especially at scale, is a little …

Read more