The long-awaited agreement on a second international financial rescue for Greece failed to inspire investors overnight. Instead, Wall Street looked to corporate earnings for direction.
Home Depot, Macy's and Kraft Foods delivered, pushing their respective shares higher. Earnings of Wal-Mart Stores fell short of expectations, sending its stock down more than 3 per cent.
"The market is reacting to good US economic fundamentals. The earnings side has been fine. That's providing the biggest seeds to the strength in equities," Michael Strauss, chief investment strategist at Commonfund in Wilton, Connecticut, told Bloomberg News.
According to Thomson Reuters data, of the 418 companies in the S&P 500 that have reported earnings, 64 per cent have surpassed analysts' forecasts.
In early afternoon trading in New York, the Dow Jones Industrial Average gained 0.31 per cent, the Standard & Poor's 500 Index advanced 0.45 per cent and the Nasdaq Composite Index rose 0.18 per cent. The Dow Jones briefly topped the 13,000 level, while the S&P 500 topped its highest close since 2008.