Modified pairs backtest for financial sector