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

How I use TradingView (and how to get 70%+ off)

​Disclaimer: the links in this post are affiliate links. If you use them to purchase a TradingView subscription, you’ll receive $15 in addition to the massive Black Friday discounts TradingView is currently running. We’ll receive a few dollars, too – so thanks in advance if you purchase using our link. I’m sure you’ve heard of TradingView. …

Read more

Exponentially weighted covariance in an Equal Risk Contribution portfolio optimisation problem

The Equal Risk Contribution (ERC) portfolio seeks to maximally diversify portfolio risk by equalising the risk contribution of each component. The intuition is as follows: Imagine we have a 3-asset portfolio Assets 1 and 2 are perfectly correlated (correlation of 1.0) Asset 3 is uncorrelated with the other two (correlation of 0.0) Let’s say we …

Read more

An Exponentially Weighted Covariance Matrix in R

Exponential weighting schemes can help navigate the trade-off between responsiveness and stability of the inherently noisy estimates we make from market data. We previously saw examples of calculating the exponentially weighted moving average of a vector, and estimating the correlation between SPY and TLT using an exponential weighting scheme [link]. In this article, we’ll implement …

Read more

Using Exponentially Weighted Moving Averages to navigate trade-offs in systematic trading

Using Exponentially Weighted Moving Averages to navigate trade-offs in systematic trading A big part of the job of the indie trader is data analysis. We’re always looking in the past data to validate (or more often, invalidate) a hypothesis about what might predict future returns. And one could argue that recent data is more useful …

Read more