(Reuters) - U.S. stocks ended sharply higher on Tuesday, breaking a five-day losing streak as attention shifted from trouble in Chinese equities to U.S. corporate earnings and to speculation the first Federal Reserve interest rate hike may not come until December.
The Dow Jones industrial average and S&P 500 chalked up gains of more than 1 percent, while the Nasdaq Composite lagged slightly.
After the S&P sank over the past week toward the low end of a range it has traded in since February, some investors wagered the market was primed for a technical bounce-back.
“The S&P has had five down days in a row and a lot of people are starting to nibble,” said Michael Matousek, head trader at U.S. Global Investors Inc in San Antonio, which manages about $1 billion.
Market sentiment also reflected expectations the Fed would wait until December, rather than September, to raise interest rates for the first time since 2006, Matousek added.
With a two-day Fed policy meeting ending on Wednesday, investors are looking for hints about the timing of that rate increase. No move on rates is expected this week.
“September is possible but the probability for a December rate hike is increasing,” said Terry Sandven, chief equity strategist at U.S. Bank Wealth Management in Minneapolis.
The Dow Jones industrial average .DJI rose 1.09 percent, to end the session at 17,630.27. The S&P 500 .SPX gained 1.24 percent to 2,093.25 and the Nasdaq Composite .IXIC added 0.98 percent to finish at 5,089.21.
All the 10 major S&P 500 sectors rose, with the energy index leaping .SPNY 2.99 percent as oil prices recovered from near six-month lows.
U.S. consumer confidence weakened in July to its lowest level since September, due in part to a less optimistic outlook on the labor market.
Ongoing uncertainty related to China’s stock market, which closed lower again on Tuesday, took a backseat to U.S. corporate earnings.
With second-quarter reports well under way, analysts now expect overall earnings of S&P 500 companies to edge up 0.3 percent and revenue to decline 4.0 percent, according to Thomson Reuters data.
“Earnings are growing but very slowly. The market’s biggest concern is the lack of top-line growth and where that growth is going to come from,” said Tim Courtney, chief investment officer of Exencial Wealth Advisors, which oversees $1.3 billion.
After the bell, Twitter (TWTR.N) jumped 5.2 percent and Gilead Sciences (GILD.O) rose 3 percent after both companies posted their second-quarter results. Yelp (YELP.N) slumped 13 percent after its report.
During Tuesday’s session, SuperValu (SVU.N) jumped 10.60 percent. It said it was exploring a spinoff of its discount grocery chain Save-A-Lot into a publicly-traded company.
Advancing issues outnumbered declining ones on the NYSE by 2.7 to 1. On the Nasdaq, 1.67 stocks gained for each that declined.
The S&P 500 racked up 15 new 52-week highs and 12 lows. The Nasdaq Composite posted 36 new highs and 163 lows.
Some 7.3 billion shares changed hands on U.S. exchanges, above the daily average of 6.7 billion so far this month.
Additional reporting by Tanya Agrawal; Editing by Don Sebastian and Nick Zieminski