U.S. stocks are closing higher after several big companies reported earnings gains and Greece got help for its banks.
Netflix, eBay and Citigroup all rose Thursday after delivering results that beat analysts' forecasts.
European markets also rose after Greece's creditors agreed to loan the country more money and provide more support for its banks.
The Dow Jones industrial average climbed 70 points, or 0.4 percent, to 18,120.
The Standard & Poor's 500 index gained 16 points, or 0.8 percent, to 2,124. The Nasdaq composite climbed 64 points, or 1.3 percent, to 5,163.
Bond prices didn't move much. The yield on the 10-year Treasury note held steady at 2.35 percent.