Calculate stock price difference.