Investigation of Stochastic Pairs Trading Strategies