US Markets

Dow, S&P close at records despite rising yields, Greece concerns

Cashin says: Where's the short covering?
Clock is ticking for Greece
Risks to the bull market

U.S. stocks closed higher on Monday, with the Dow Jones industrial average and S&P 500 ending at new records, as investors shook off earlier concerns about Greek debt and a renewed rise in bond yields. (Tweet This)

"The decision today by markets is the path of least resistance is up and today's data didn't change our view about whether or not we get a (second-quarter economic) bounce," said John Canally, investment strategist and economist at LPL Financial.

The major indices extended gains in afternoon trade after earlier fluctuating around the flatline.

"Some people (were) a little bit on the sidelines and they're going back into stocks because they don't want to miss out," said Robert Pavlik, chief market strategist at Boston Private Wealth.

Read More'Twilight zone' market could see big correction: Strategist

The Dow Jones industrial average set a record for the fifth time in 2015, closing above its previous closing and intraday high of 18,288.63. The S&P 500 closed at a record for the third day in a row, its ninth for the year, passing its closing high set on Friday and topping its intraday high of 2,125.92.

The Nasdaq Composite ended 20 points within its closing record, outperforming the major indices with the iShares Nasdaq Biotechnology ETF (IBB) gaining 1.3 percent.

"I get a sense that investors want to rotate out of bonds into stocks and having a dovish Fed speaker helps," said Jack Ablin, chief investment officer at BMO Private Bank. "Having the Fed on the sidelines is probably the biggest thing—a Fed reluctant to tighten is emboldening investors."

Speaking early Monday at the Swedish capital, Chicago Fed President Charles Evans said the U.S. Federal Reserve could look at a rate hike in June if the economy is strong enough, Reuters said. His speech argued for rates to start rising in early 2016.

Evans told reporters if the Federal Open Market Committee had confidence that inflation was going to move up and that first quarter economic softness was temporary, "you could imagine a case being made for a rate increase in June."

Most of the second-quarter data reports have showed a slower-than-expected rebound from a weak first quarter.

"The focus is back on the macro," said Art Hogan, chief market strategist at Wunderlich Securities. "All things equal we're really going to have a focus on the European markets."

He noted little market-moving news on Monday for U.S. stocks as just a few retail names post earnings and most data reports come later in the week.

The only data out Monday was the National Association of Home Builders' survey, which showed builder confidence slipped two points in May, missing expectations of a slight gain. Housing starts and existing home sales come out later in the week, along with the Federal Open Market Committee's meeting minutes.

Apple closed up more than 1 percent after activist investor Carl Icahn said in an open letter to CEO Tim Cook that the tech company's shares remain undervalued and are worth almost double the current price.

A U.S. appeals that Apple won in 2012 against Samsung Electronics. In a mixed ruling, the court said the iPhone maker's trade dress (a trademark on how a product is presented for sale) could not be protected.

In Europe, stocks closed higher amid abating fears that Greece is on the verge of bankruptcy.

"Regardless of how the Greek impasse resolves itself, the global financial markets' ability to blissfully ignore Greece suggests that it expects one of two outcomes: (i) that a Greek default/exit is nowhere in the realm of possibility, or that (ii) even if Greece were to exit the Euro, the authorities have appropriately 'foamed down the runway' to curtail any contagion and the world will emerge largely unscathed from Grexit," MatlinPatterson's chief risk officer Ashwin Bulchandani said in a note.

Earlier, U.S. stocks opened mildly lower as European equities dipped on news that a Greece government spokesman said on Monday that authorities will pay public-sector wages and pensions in May, but needs a deal with creditors by the end of the month.

Read MoreWatch out: Greece's 'endgame' is in sight

Greece proposed to its international lenders that Europe's bailout fund pay back maturing Greek government bonds held by the European Central Bank as a way to overcome a funding crunch, Finance Minister Yanis Varoufakis said on Monday in a Reuters report. Athens could then pay the European Stability Mechanism (ESM), at a later date, Varoufakis told the annual assembly of the Greek Industrial Federation.

National officials in Athens also sent a letter to the International Monetary Fund that showed Greece came close to defaulting on a 750 million euro ($860 million) repayment last week, local newspaper Kathimerini and the Financial Times reported.

"Some of those markets in Europe have come under some pressure because of concerns about Greece and high flying bond yields," said Nick Raich, CEO of The Earnings Scout.

The DAX reversed losses to close higher, helped by a weaker euro at $1.135, while the ATHEX Composite ended up 1.6 percent after dipping 2 percent.

Greek bond yields soared, with the 10-year leaping 7 percent, as a leaked internal memo from the International Monetary Fund said the country had little chance of making the June 5 payment.

Spanish and Italian bond yields also briefly jumped more than 7 percent, while the German bund yield gained 3 percent to yield 0.65 percent.

U.S. Treasury yields edged higher, with the 10-year note yield briefly topping 2.23 percent and the 30-year climbing as high as 3.03 percent. Most analysts said bond yields remain in a range, as longer-term yields remain below 6-month highs touched last Tuesday.

"The rise in yields is not a concern about inflation or about the Fed. It simply reflects that global growth is better," Canally said.

The U.S. dollar gained more than 1 percent after posting five straight weeks of losses on Friday.

Analysts noted that morning losses in U.S. equities remained muted despite the renewed concerns about Greece.

"The market is acting on technical factors and remains strong," said Peter Cardillo, chief market economist at Rockwell Global Capital. "I think a deal will be reached (on Greece)—probably get down to the wire. Investors will keep an eye on that."

"We're probably going to stay range-bound with the S&P 500 trying to reach 2,130 - 2,135," he said.

Read MoreMarket's new biggest fear: Economic stall

The S&P 500 eked out a record on Friday for the second day in a row, while the other major indices advanced towards recent highs.

Crude oil pared early gains, with the contract for June delivery settling down 26 cents, or 0.44 percent, at $59.43 a barrel, as dollar strength and a bearish analyst outlook weighed on the commodity. Also adding to some volatility, the June contract will expire Tuesday after the close.

Earnings expected after the closing bell on Monday include Urban Outfitters, Agilent and Momo.

Major U.S. Indexes

The Dow Jones Industrial Average closed up 26.32 points, or 0.14 percent, at 18,298.88, with Intel leading advancers and Chevron the greatest laggard.

The closed up 6.47 points, or 0.30 percent, at 2,129.20, with financials leading seven sectors higher and materials the greatest laggard.

The Nasdaq closed up 30.15 points, or 0.60 percent, at 5,078.44.

The CBOE Volatility Index (.VIX), considered the best gauge of fear in the market, traded below 13.

Advancers were a step ahead of decliners on the New York Stock Exchange, with an exchange volume of 660 million and a composite volume of nearly 2.9 billion in the close.

Gold futures settled up $2.30 at $1,227.60 an ounce.

Cree jumped nearly 6 percent on the announcement that the LED manufacturer's wholly owned Power and RF subsidiary submitted a draft registration statement on a confidential basis to the Securities and Exchange Commission for a potential initial public offering of the unit's Class A common stock.

Skyworks leaped 5.6 percent on news it expanded its product offering for components that could be used in Internet of Things applications related to smart lighting.

GoPro gained 2 percent after being upgraded to "perform" from "underperform" by Oppenheimer, which maintains long-term negative biases but does not see notable near-term headwinds.

Endo International closed down 5.3 percent after the firm said it will buy Par Pharmaceutical from private equity firm TPG for $8.05 billion in cash and stock. Par was taken private by TPG in 2012 for just under $2 billion.

Ann Inc., the parent of Ann Taylor and Loft, surged nearly 20 percent after news that it will be acquired by ascena retail group for $47 per share in cash and stock. Justice and Lane Bryant are among the brands currently owned by ascena.

Read MoreEarly movers: ENDP, ANN, BABA, INTC, COP, TM & more

Talks of a possible Intel purchase of Altera have resumed, according to the New York Post. The two discussed a deal earlier this year without resolution.

CNBC's Peter Schacknow contributed to this report.

On tap this week:


Earnings: Urban Outfitters, Take Two Interactive


Earnings: Wal-Mart, Home Depot, TJX, Dick's Sporting Goods, Medtronic, Autodesk, Red Robin Gourmet Burgers, Vodafone, Analog Devices

08:30 a.m.: Housing starts


Earnings: Lowe's, Target, Staples, Target,, Synopsys, American Eagle Outfitter, Rexnord, Eaton Vance, Hormel Foods, Burberry, L Brands, Sears Holdings

03:00 a.m.: Chicago Fed's Evans on economic growth, monetary policy, Munich

02:00 p.m.: FOMC minutes


Earnings: Hewlett-Packard, Intuit, Williams-Sonoma, Gap, Trina Solar, Toro, The Buckle, Ross Stores, Aeropostale, Aruba Networks, Brocade

08:30 a.m.: Initial claims

10:00 a.m.: Existing home sales

01:30 p.m. Fed Vice Chairman Stanley Fischer on economic outlook at ECB forum

07:00 p.m.: San Francisco Fed President John Williams on impact of form


Earnings: Campbell Soup, Deere, Foot Locker, Ann, Mentor Graphics, Krispy Kreme

08:30 a.m.: CPI

09:45 a.m. Manufacturing PMI

01:00 p.m. Fed Chair Janet Yellen at the Greater Providence Chamber of Commerce on economic outlook

More From