Updated to handle 5 stocks