Statistical arbitrage with cointegration