Code to perform arbitrage detection.