US stocks inched higher on Monday as the Standard & Poor's 500 index steadied following back-to-back losses over the last two weeks.
This week may be a calmer one for the market after an uncharacteristically bumpy stretch shook what had been a smooth ride higher for stocks this year.
Few market-moving events are on the calendar this week, and the highlight will probably arrive when central bankers from around the world gather in Wyoming as the weekend approaches.
The S&P 500 rose 2.82 points, or 0.1%, to 2,428.37 after it and other indexes flipped between small gains and losses throughout the day.
The Dow Jones industrial average gained 29.24, or 0.1%, to 21,703.75, and the Nasdaq composite slipped 3.40 points, or 0.1%, to 6,213.13.
The modest moves were a return to form for the market. It has had just four days this year where the S&P 500 has dropped by more than 1%, which is well below the typical number in recent decades. But half of those instances occurred in the last two weeks, stoked by worries about discord in Washington and the potential for war abroad.
"One of the reasons the market has held in and performed well recently - although it's wobbled a bit in the last two weeks - has been earnings," said Ernie Cecilia, chief investment officer at Bryn Mawr Trust. "Without the earnings that we saw, it would have been a much more difficult period of time for the market."
Companies are mostly finished reporting their results for the spring quarter, and their growth in profits was stronger than analysts expected. Businesses also reported higher revenues, which is encouraging given the struggles many companies have had in recent years to grow amid the still-sluggish global economy.
Mr Cecilia said he sees few potential drivers that could move markets much in either direction in the coming weeks, and he expects the market to "trade in some sort of sideways fashion".
One potential highlight could be the upcoming gathering in Jackson Hole, Wyoming, for central bankers, economists and policy makers. Federal Reserve chairwoman Janet Yellen and European Central Bank head Mario Draghi are expected to speak at the symposium, which begins on Thursday and is hosted by the Fed's regional bank in Kansas City.
Tremendous stimulus from central banks has been one of the main reasons for the stock market's surge since the Great Recession, but the Federal Reserve is slowly raising interest rates and preparing to pare back the vast trove of bonds it bought following the 2008 financial crisis.
Jackson Hole has been the site of market-moving news in the past, including in 2010 when former Fed chairman Ben Bernanke signalled the bank may embark on another round of bond buying to shore up the economy.
Another wild card for markets may lie in Asia, where US and South Korean forces on Monday started their annual joint military exercises. Tensions are higher than usual with North Korea, and Pyongyang has in the past responded to the drills with weapons tests and a string of belligerent rhetoric.
In Asia, South Korea's Kospi index dipped 0.1%, Japan's Nikkei 225 index fell 0.4%, and the Hang Seng in Hong Kong rose 0.4%.
In Europe, France's Cac 40 fell 0.5%, Germany's Dax lost 0.8% and the FTSE 100 in London slipped 0.1%.
In the US, mining companies helped to lead the market after prices for metals and other commodities rose. Freeport-McMoRan had the biggest gain in the S&P 500, up 58 cents, or 4.1%, to 14.73 dollars. Not far behind was Newmont Mining, which rose 78 cents, or 2.2%, to 36.61 dollars.
Gold rose 5.10 dollars to settle at 1,296.70 dollars per ounce, silver rose 2 cents to 17.02 dollars per ounce, and copper gained 4 cents to 2.98 dollars per pound.
Dividend-paying stocks were also strong, with real-estate investment trusts the best-performing sector of the 11 that make up the S&P 500. Investors snapped up dividend-paying stocks as bond yields fell on Monday.
The yield on the 10-year Treasury note dipped to 2.17% from 2.20% late on Friday. The two-year yield slipped to 1.30% from 1.31%, and the 30-year yield fell to 2.77% from 2.78%.
On the losing side of the US stock market were stocks of athletic-gear companies. Shares had tumbled across the industry on Friday after Foot Locker and Hibbett Sports said revenue fell last quarter.
Foot Locker fell 2.56 dollars, or 7.4%, to 31.82 dollars for Monday's biggest loss in the S&P 500. It plunged 27.9% on Friday.
The dollar dipped to 108.85 Japanese yen from 109.26 yen late Friday. The euro rose to 1.1813 dollars from 1.1760, and the British pound rose to 1.2901 dollars from 1.2876.
Benchmark US crude fell 1.14 dollars to settle at 47.37 dollars per barrel. Brent crude, the international standard, lost 1.06 dollars to 51.66 dollars a barrel.
Natural gas rose 7 cents to 2.96 dollars per 1,000 cubic feet, heating oil fell 5 cents to 1.57 dollars per gallon and wholesale gasoline lost 4 cents to 1.58 dollars per gallon.