Stocks closed higher Thursday as investors grew cautiously optimistic the U.S. and China can make progress in upcoming trade talks.
Technology, financial and consumer-focused stocks helped power the modest rally, which extended the market's solid gains from the day before despite losing some momentum in the final hour of trading. Bond yields rose, oil prices fell.
The S&P 500 index rose 8.64 points, or 0.3%, to 3,009.57.
The Dow Jones Industrial Average gained 45.41 points, or 0.2%, to 27,182.45.
The Nasdaq added 24.79 points, or 0.3%, to 8,194.47.
The Russell 2000 index of smaller company stocks gave up 0.65 points, or less than 0.1%, to 1,575.07.
For the week:
The S&P 500 is up 30.86 points, or 1%.
The Dow is up 384.99 points, or 1.4%.
The Nasdaq is up 91.39 points, or 1.1%.
The Russell 2000 is up 69.90 points, or 4.6%.
For the year:
The S&P 500 is up 502.72 points, or 20.1%.
The Dow is up 3,854.99 points, or 16.5%.
The Nasdaq is up 1,559.19 points, or 23.5%.
The Russell 2000 is up 226.51 points, or 16.8%.