S&P, Nasdaq open higher to extend winning streak