NEW YORK (AP) -- U.S. stocks inched ahead on Tuesday after the makers of Kellogg's cereal and Oreo cookies joined the parade of companies reporting stronger-than-expected profits.
The Standard & Poor's 500 index gained 2.43 points, or 0.1 percent, to 2,575.26, the latest tick higher in what's been a remarkably smooth ride this year. The index closed out October with its seventh straight month of gains, the longest such streak in more than four years.
The Dow Jones industrial average rose 28.50, or 0.1 percent, to 23,377.24, and the Nasdaq composite gained 28.71, or 0.4 percent, to 6,727.67, a new record. Smaller stocks did better than the rest of the market, and the Russell 2000 index of small-cap stocks gained 11.64, or 0.8 percent, to 1,502.53.
Food companies helped lead the market higher after Kellogg and Mondelez International both reported stronger results for the latest quarter than analysts expected. Kellogg jumped $3.66, or 6.2 percent, to $62.53, and Mondelez rose $2.13, or 5.4 percent, to $41.43.
"It's been a fantastic earnings season," said JJ Kinahan, chief market strategist at TD Ameritrade. "People talk about taxes, low interest rates and all these other things, but what really drives the market is earnings."
More than half the companies in the S&P 500 have reported their results for the July-through-September quarter, and most have topped Wall Street's forecasts. Several big names are still on the docket for this week, with Facebook set to report on Wednesday and Apple on Thursday.
Rockwell Automation surged to the biggest gain in the S&P 500 after it received a buyout bid worth $215 per share in cash and stock. The company said it rejected the unsolicited bid from Emerson Electric on Oct. 10. Rockwell Automation jumped $13.82, or 7.4 percent, to $200.82.
On the losing end was Under Armour, which recorded the largest loss in the S&P 500 after it said demand for its sporting gear in North America weakened last quarter and cut its forecast for earnings this year. Its Class A shares fell $3.89, or 23.7 percent, to $12.52.
Besides earnings, investors are also facing a deluge of other events that could be headliners on their own.
Several of the world's largest central banks are meeting this week, and the Bank of Japan decided on Tuesday to keep its interest rates at ultra-low levels. The Bank of England is expected to raise interest rates on Thursday, which would be the first increase in in a decade. And the Federal Reserve will wrap up a two-day meeting on Wednesday, though most economists expect it to wait until its December gathering to raise rates for the third time this year.
More attention is on President Donald Trump's choice for the next Fed chair. He's expected to make the announcement on Thursday, and the leading candidate appears to be Jerome "Jay" Powell, who is already a member of the Fed's board.
The Fed has been slowly raising interest rates, and encouraging economic reports on Thursday further strengthened expectations that it will continue. Confidence among U.S. consumers hit its highest level last month in nearly 17 years, for example.
Investors are also waiting to hear details about Washington's attempts to cut income-tax rates. A cut would help boost profits for companies, and stocks of smaller companies in particular have been rising and falling in sync with expectations for an overhaul of the tax system.
At the end of the week, the government will unveil the month's most anticipated economic data, its jobs report. Economists expect to see continued strength in hiring.
Bond yields held steady Tuesday as prices for Treasurys were close to flat. The yield on the 10-year Treasury note was flat at 2.37 percent, and the two-year yield rose to 1.60 percent from 1.58 percent late Monday. The 30-year Treasury slipped to 2.87 percent from 2.88 percent.
In overseas stock markets, the French CAC 40 rose 0.2 percent, and the FTSE 100 in London rose 0.1 percent. Japan's Nikkei 225 index was virtually flat, while the Hang Seng in Hong Kong lost 0.3 percent and South Korea's Kospi advanced 0.9 percent.
The dollar inched up to 113.71 Japanese yen from 113.18 yen late Monday. The euro ticked up to $1.1651 from $1.1637, and the British pound rose to $1.3282 from $1.3199.
Benchmark U.S. crude oil rose 23 cents to settle at $54.38 per barrel. Brent crude, the international standard, rose 47 cents to $61.37 per barrel.
Natural gas fell 7 cents to $2.90 per 1,000 cubic feet, heating oil was close to flat at $1.88 per gallon and wholesale gasoline rose 2 cents to $1.78 per gallon.
Gold slipped $7.20 to $1,270.50 per ounce, silver lost 15 cents to $16.69 per ounce and copper dipped a penny to $3.10 per pound.