U.S. stock indexes closed slightly lower Friday after a day of mostly listless trading.
Despite the downbeat finish to the day, the stock market posted strong gains for the quarter. The Standard & Poor's 500 index's gains amounted to its best three-month stretch since the fourth quarter of 2015. The Nasdaq composite turned in its best quarter since the end of 2013.
The S&P 500 index fell 5.34 points, or 0.2 percent, to 2,362.72.
The Dow Jones industrial average lost 65.27 points, or 0.3 percent, to 20,663.22.
The Nasdaq fell 2.61, or 0.04 percent, to 5,911.74.
The Russell 2000 index of smaller-company stocks picked up 3.57 points, or 0.3 percent, to 1,385.92.
For the week:
The S&P 500 is up 18.74 points, or 0.8 percent.
The Dow is up 66.50 points, or 0.3 percent.
The Nasdaq is up 83 points, or 1.4 percent.
The Russell 2000 is up 31.28 points, or 2.3 percent.
For the year:
The S&P 500 is up 123.89 points, or 5.5 percent.
The Dow is up 900.62 points, or 4.6 percent.
The Nasdaq is up 528.62 points, or 9.8 percent.
The Russell 2000 is up 28.79 points, or 2.1 percent.