NEW YORK (AP) — The stock market capped another week of healthy gains on Friday, but it ended on more of a befuddled note than a bang as confusion about the U.S.-China trade war hung over the market.
Stocks wobbled between small gains and losses through the day amid conflicting signals about the progress being made by U.S. and Chinese negotiators. President Donald Trump said he has not agreed to roll back any tariffs, just a day after a Chinese official said the two sides had agreed to do just that if talks progress.
Stocks and bond yields dipped immediately after Trump told reporters at the White House, "I haven't agreed to anything." But after flip-flopping through the day, the S&P 500 turned higher in the last hour of trading and closed at a record 3,093.08, up 7.90, or 0.3%.
It's the fifth straight week of gains for the index, which matches its longest winning streak in the last two years.
The Dow Jones Industrial Average edged up 6.44 points, or less than 0.1%, to 27,681.24, and the Nasdaq composite gained 40.80, or 0.5%, to 8,475.31.
"The general tone of the market will continue to be very cautiously optimistic," said JJ Kinahan, chief market strategist at TD Ameritrade.
Even with the conflicting signals on the trade war, momentum has seemed to be in the direction of a stopgap deal. Wall Street hopes only that it will keep the trade war from worsening: Another round of tariffs on Chinese goods is scheduled to begin next month. Investors aren't expecting a grand bargain anytime soon that solves all the problems between the world's two largest economies.
Economic reports, meanwhile, have been encouraging recently and show the job market remains strong. Interest rates are low following three cuts by the Federal Reserve, and corporate profits haven't been as bad as Wall Street feared.
Rising confidence can be found not only in record-high stock prices but also in a sharp rise for Treasury yields. When investors feel less need for safety, they sell government bonds. And when Treasury prices fall, their yields rise.
The 10-year Treasury yield climbed to 1.94% from 1.92% late Thursday and from a low of 1.50% just last month.
Not only are yields on the rise, so is the gap between short- and long-term Treasurys. That's seen as a vote of confidence in the economy by the bond market, and it means a closely followed warning bell about recession has turned silent.
The 10-year Treasury yield dropped below the two-year yield in late August and early September. It's a relatively rare thing, and it's often correctly predicted recessions in the past, though it doesn't have a perfect record.
Since the summer, though, increased optimism in the economy and the odds of a U.S.-China trade deal have flipped the yield curve back to normal. The gap between the two- and 10-year Treasurys is back at its healthiest level since July.
Confidence may have gotten so high recently that stock prices have become too expensive, said George Young, portfolio manager at Villere & Co.
He sees so few stocks attractively priced that he now has 15% of his clients' money at mutual funds and separately managed account sitting in cash. In June, when worries about the economy and trade war were higher, Young had only 5% in cash given the many bargains available.
"I wouldn't say I'm negative on the market," Young said, "but when stocks get ahead of themselves, it's incumbent upon me to balance against the long term."
Walt Disney jumped 3.8% for one of the biggest gains in the S&P 500 after it reported stronger profit for the latest quarter than Wall Street expected, thanks in part to its "Toy Story 4"and "The Lion King" movies. The company also said it received a positive response from a test of its planned streaming service, Disney Plus.
On the losing end was Gap, which sank 7.6% for the largest loss in the S&P 500 after the retailer slashed its profit forecast for the year. It also announced the resignation of CEO Art Peck.
Benchmark crude oil rose 9 cents to settle at $57.24 a barrel. Brent crude oil, the international standard, rose 22 cents to $62.51 a barrel. Wholesale gasoline fell 1 cent to $1.63 per gallon. Heating oil was unchanged at $1.92 per gallon. Natural gas rose 2 cents to $2.79 per 1,000 cubic feet.
Gold rose $2.90 to $1,461.30 per ounce, silver rose 19 cents to $16.78 per ounce and copper fell 4 cents to $2.68 per pound.
The dollar fell to 109.15 Japanese yen from 109.31 yen on Thursday. The euro weakened to $1.1024 from $1.1048.
AP Business Writer Damian J. Troise contributed.