US stocks jumped to record highs on Friday after a strong jobs report for the month of July gave investors more confidence that the economy is still growing.
Financial and technology stocks soared and investors sold the safe assets they have favoured for most of this year.
The Labour Department said US employers added 255,000 jobs in July, far more than investors expected and the second straight month of strong gains after shaky reports this spring.
Stocks made their biggest gain in almost a month. Banks traded higher as investors anticipated higher interest rates and bigger profits on mortgages and other loans.
The Nasdaq composite closed at a record high as tech stocks continued to climb. Consumer companies also made big gains. Investors sold bonds, precious metals, and phone and utility companies, safe investments that soared earlier this year as investors worried about the health of the economy.
"It looks like the economy is improving, it looks like corporate earnings are on the upswing," said Sam Stovall, US equity strategist for S&P Capital IQ.
That marks a change from earlier this year, he said, when investors worried the US would fall into a recession and tech companies would suffer as businesses cut spending. But tech stocks have come back to lead the market higher over the last few months.
The Dow Jones industrial average rose 191.48 points, or 1%, to 18,543.53. The Standard & Poor's 500 index climbed 18.62 points, or 0.9%, to 2,182.87. The Nasdaq advanced 54.87 points, or 1.1%, to 5,221.12.
The strong jobs report suggests that Britain's vote to leave the European Union in late June did not have much effect on hiring plans for US companies. The unemployment rate remained at 4.9 percent and hourly pay continued to rise. The hiring spree follows an even larger surge in June and represents a turnaround from weak job growth in the first half of this year, including disappointing job gains in April and May.
Banks rose the most, as higher interest rates boost their profits on lending. Bank of America rose 57 cents, or 3.9 percent, to 15.05 US dollars and Citigroup added 1.88 dollars, or 4.3%, to 45.72 dollars.
Kate Warne, an investment strategist for Edward Jones, said the report reassured investors but will not vanquish their fears entirely.
"With an election where both candidates are likely to talk about how badly the economy is doing and how disappointing growth has been, investors as a whole are more anxious than the job picture would suggest," she said.
The Federal Reserve has been saying for months that it intends to raise interest rates if the economy's strength warrants it. July's report provides more evidence the economy is doing well, boosting the chances that interest rates will go up. But Warne said investor views on the economy and the Fed will keep fluctuating.
"When the Fed indicates that they're data dependent, that means investors are going to be data dependent as well," she said.
Bond prices fell and the yield on the 10-year U.S. Treasury note jumped to 1.59% from 1.50%.
Kraft Heinz, the company behind Oscar Mayer bologna, Jell-O pudding and Velveeta cheese, also traded higher after it reported a larger profit than analysts expected. Its stock picked up 3.25 dollars, or 3.8 percent, to 88.79 dollars.
After Bristol-Myers Squibb said one of its cancer drugs failed in a clinical trial, its stock suffered its biggest slump since 2000. Meanwhile rival drugmaker Merck soared by the most in seven years. Bristol-Myers sank 12.04 dollars, or 16%, to 63.28 dollars after saying its drug Opdivo did not halt progression of non-small cell lung cancer in the study.
Merck makes a drug called Keytruda that also stimulates patients' immune systems to fight lung cancer. The company, which took in 533 million dollars from Keytruda this year, rose 6.02 dollars, or 10.4%, to 63.86 dollars. Merck was the largest gainer among S&P 500 stocks, and Bristol-Myers Squibb took the largest loss.
Security software maker FireEye tumbled after it reported weak sales, cut its forecasts and announced job cuts. Its stock plunged 2.02 dollars, or 12.1%, to 14.73 dollars. Rival software firm Symantec disclosed a larger profit and better sales than expected in its fiscal first quarter, and its full-year profit forecast was stronger than expected. Its stock climbed 86 cents, or 4.1%, to 21.89 dollars.
Benchmark U S crude slid 13 cents to 41.89 dollars per barrel in New York while Brent crude, used to price international oils, dipped two cents to 44.27 dollars a barrel in London.
The price of gold fell 23 dollars, or 1.7%, to 1,344.40 dollars an ounce, its biggest loss since May. Silver fell 63 cents, or 3.1%, to 19.82 dollars an ounce. Copper lost two cents to 2.15 dollars a pound.
In other energy trading, wholesale petrol held steady at 1.38 dollars a gallon. Heating oil lost one cent to 1.32 dollars a gallon. Natural gas fell six cents to 2.77 dollars per 1,000 cubic feet.
The dollar rose to 101.75 yen from 101.17 yen and the euro fell to 1.1091 from 1.1127 dollars.
European stocks also advanced. France's CAC-40 rose 1.5% and the Dax in Germany advanced 1.4%. London's FTSE 100 was 0.8% higher. The Shanghai Composite Index shed 0.2% and Tokyo's Nikkei 225 was little changed. In South Korea, the Kospi rose 0.9%.