S&P 500 ended its 4-day positive series