We give an algorithm and source code for a cryptoasset statistical arbitrage alpha based on a mean-reversion effect driven by the leading momentum factor in cryptoasset returns discussed in "https://ssrn.com/abstract=3245641" https://ssrn.com/abstract=3245641. Using empirical data, we identify...