US Stock Market Today: The S&P 500 last gained 20.65 points, or 0.32%, to 6,394.10 and the Nasdaq Composite gained 69.38 points, or 0.32%, to 21,454.78.