Stocks also got a boost from deal news in the health care and energy sectors.
The Dow Jones industrial average added 103.83 points, or 0.6 percent, to 18,119.78. The Standard & Poor’s 500 index rose 12.86 points, or 0.6 percent, to 2,122.85 and the Nasdaq composite climbed 36.97 points, or 0.7 percent, to 5,153.97.
European nations were cautiously optimistic on Monday that a deal on Greece’s bailout was within reach this week, easing fears that the country would default on its debt and leave the euro region. The country needs more loans from European lenders and the International Monetary Fund to enable it to make a June 30 debt payment.
Greece and its creditors have been negotiating for months over what economic reforms the Mediterranean nation should implement in return for the loans. U.S. stocks slumped earlier this month, in part on investors’ concerns that a Greek default could potentially cause turmoil in global financial markets.
“An eleventh hour compromise was always the likely scenario and it looks like that is what we are getting,” said Russ Koesterich, global chief investment strategist at BlackRock.
The Greek stock market surged 9 percent and the yield on the 10-year Greek government bond dropped 1.48 percentage points to 10.90 percent as traders bought the bonds.
The main stock indexes in Europe closed broadly higher. Germany’s DAX and France’s CAC 40 each rose 3.8 percent and the U.K.’s FTSE 100 rose 1.7 percent
In the U.S., health insurers Cigna and Anthem were sharply higher after Anthem made a $47 billion bid to buy its competitor. Anthem, which runs the largest Blue Cross Blue Shield health insurance network, was up $5.98, or 3.6 percent, to $171.04. Cigna was up $7.34, or 4.7 percent, to $162.60.
Cigna described the bid as “inadequate” and not in the best interests of its shareholders.
Other health insurers rose on speculation of more mergers in the industry. Aetna rose $3.98, or 3.2 percent, to $128.05.
In the energy markets, the price of oil finished little changed from Friday. Benchmark U.S. crude rose 7 cents to close at $59.68 a barrel in New York. Brent crude, a benchmark for international oils used by many U.S. refineries, rose 32 cents to close at $63.34 in London.
In other futures trading on the NYMEX, wholesale gasoline fell 2.9 cents to close at $2.030 a gallon. Heating oil rose 0.2 cents to close at $1.869 a gallon. Natural gas fell 8.3 cents to close at $2.733 per 1,000 cubic feet.
The energy sector also had some merger news. Williams Cos. rejected a buyout offer from Energy Transfer Equity for $48 billion, but said that it may still put itself up for sale.
Williams shares rose $12.52, or 26 percent, to $60.86.
U.S. government bond prices fell. The yield on the benchmark 10-year note rose to 2.37 percent from 2.26 percent on Friday. The euro was little changed against the dollar at $1.1361, while the dollar rose to 123.37 yen.
Precious and industrial metals futures mostly fell. Gold lost $17.80 to $1,184.10 an ounce, silver rose three cents to $16.14 an ounce and copper edged down less than a penny to $2.57 a pound.