(CNBC) — U.S. stocks closed higher on Tuesday in a slight recovery from the worst trading day of the year, as investors remained on edge amid the imminent Greece repayment deadline to the IMF.
The S&P 500 posted its smallest gain on record (going back to 1928) for the first half of the year, up just 0.20 percent. The index ended the quarter 0.24 percent lower, ending 9 consecutive quarterly gains. That is the longest stretch since the 14-quarter streak that ended in the second quarter of 1998.
The Dow Jones industrial average closed about 1.1 percent lower for the first half of the year and posted a 0.89 percent loss for the second quarter.
Advertisement - story continues below
The Nasdaq had the best performance, up 5.3 percent for the year so far and up 1.75 percent for the second quarter, boosted by a surge in the Nasdaq iShares biotechnology ETF (IBB) and gains in Apple.