S&P 500 eyes third weekly gain in a row