NEW YORK (AP) — A better outlook for global manufacturing pushed the stock market to an all-time high on Tuesday.
The Dow Jones industrial average climbed within two points of 17,000 for the first time after separate surveys showed that manufacturing expanded in China and the U.S., the world’s two biggest economies. In China, manufacturing grew in June for the first time in six months and in the U.S. the sector notched its 13th straight month of growth.
General Motors rose the most in almost a month. The automaker reported that its U.S. sales increased 1 percent in June despite a record-setting string of safety recalls. Netflix jumped after analysts at Goldman Sachs raised their outlook on the stock, predicting the company will benefit from its international expansion.
‘‘The economic news, by and large, isn’t bad here,’’ said Phil Orlando, chief equity strategist at Federated Investors. ‘‘Maybe investors are starting to think that this thing is going to grind higher.’’
The Standard & Poor’s 500 index rose 13.09 points, or 0.7 percent, to 1,973.32. The Dow gained 129.47 points, or 0.8 percent, to 16,956.07. The index climbed as high as 16,998.70 in early afternoon trading before falling back slightly. Both indexes closed at all-time highs.
The Nasdaq composite rose 50.47, or 1.1 percent, to 4,458.65.
Stocks climbed from the open after HSBC said its Chinese purchasing managers index rose to 50.7 in June from 49.4 a month earlier. Numbers above 50 signal growth. The market added to its gains after another survey showed that U.S. manufacturing kept growing.
The gains were broad. Nine of the 10 industry sectors that make up the S&P 500 rose. Utilities were the only sector to fall.
Health care stocks had the biggest advance with gains led by Regeneron. The company rose $19.53, or 7 percent, to $301.94 after French drugmaker Sanofi said in a regulatory filing that it had raised its stake in Regeneron.
The S&P 500 index has now gained 6.8 percent this year, after jumping almost 30 percent in 2013. While stocks are no longer cheap, they are still a compelling investment compared with bonds or cash because interest rates are close to zero, said Joe Tanious, a global market strategist at JPMorgan Funds.
‘‘In the long run market prices are dictated by the fundamentals,’’ said Tanious. ‘‘And the underlying fundamentals suggest that markets can move higher from here.’’
Government bonds prices fell. The yield on the 10-year Treasury note climbed to 2.56 percent from 2.53 percent late Monday. Bond prices have risen this year, pushing interest rates lower, even as the Federal Reserve has reduced its economic stimulus and the economy has improved.
Among other stocks making big moves:
— Netflix jumped $32.50, or 7.4 percent, to $473.10 after analysts at Goldman Sachs raised their outlook for the streaming video company. Goldman estimates that Netflix’s potential audience of subscribers will double over the next three years as the company expands internationally.
— Twitter rose $1.08, or 2.6 percent, to $42.05 after analysts at Stern Agee raised their estimates for the company’s earnings for next year and said that the social media company should benefit from increased use during the World Cup. The company also said today that it was hiring Anthony Noto, a Goldman Sachs executive, as its new chief financial officer.
— GM gained $1.29, or 3.6 percent, to $37.59 after reporting its June sales figures. Its sales gains were led by the Buick Encore small SUV, which gained 82 percent.