US stocks are opening higher and the Dow Jones industrial average is nearing 13,000 after Greece secured a bailout deal to keep it from default.
The Dow is up 25 points to 12,975. It came within 17 points of 13,000 just after the open. The Dow hasn't been at 13,000 since the pre-financial crisis days of May 2008.
The broader Standard & Poor's 500 is up three at 1,364. The Nasdaq composite index is up four at 2,956.
The Greek deal didn't have the same effect on European markets, which are down. The US has the advantage of strong earnings reports from several big-name companies, including Home Depot, Dollar Thrifty rental car and Macy's.
The weak spot was Wal-Mart, which missed expectations on revenue and per-share earnings. - Sapa-AP