NEW YORK - U.S. stock indexes edged higher in afternoon trading Monday, and the Standard & Poor's 500 index was within reach of setting a record high for the fifth time in six days. Technology stocks led the way.
The Standard & Poor's 500 index was up 4 points, or 0.2 percent, to 2,166 as of 2:17 p.m. ET. Its latest closing high is 2,163.75, set on Thursday. The Dow Jones industrial average rose 11 points, or 0.1 percent, to 18,528. The Nasdaq composite climbed 28, or 0.6 percent, to 5,058. Five of the 10 sectors that make up the S&P 500 were up.
This past weekend's attempted coup in Turkey, which caught investors' attention after most stock markets closed for trading Friday, initially triggered a jolt in the currency markets. But when stock markets around the world got their first opportunity for trading since the attempt, they largely held steady, and the Turkish lira recovered some of its steep losses.
"The market is looking at things with a half-full lens these days, and there's some basis for the market to take this in stride," said Matthew Peron, head of global equity at Northern Trust Asset Management.
The coup attempt was quickly halted. Plus, economic reports around the world have been coming in better than analysts expected. "There is a firmer footing to the global economy, and this isn't enough to knock that narrative," Peron said.
Technology stocks rose the most, 0.7 percent. Japanese tech company SoftBank Group is buying Britain's ARM Holdings for $32 billion in the first big acquisition announced since the United Kingdom voted to leave the European Union. SoftBank also owns Sprint. ARM's U.S.-listed shares soared $19.40, or 42 percent, to $66.49.
Financial stocks rose after Bank of America reported earnings that were better than analysts were expected. Banks have been struggling with low interest rates, which limit the profits they can make from making loans. Bank of America nevertheless reported a smaller decline in earnings than analysts forecast, due in part to higher trading revenue and cost cuts.
Bank of America jumped 54 cents, or 4 percent, to $14.20, the second-largest gain among stocks in the S&P 500.
Monday marked a flip of the leaderboard that investors have seen for much of the year. Financial stocks are the only sector of the S&P 500's 10 that are still down for the year, while technology has made one of the smallest gains.
For much of 2016, the types of stocks seen as the safest and steadiest have led the way. Telecom stocks, for example, are up nearly 22 percent when the S&P 500 is up less than 2 percent.
Energy stocks lagged the market with a loss of 0.2 percent. They fell with the price of crude oil, which lost 77 cents, or 1.7 percent, to $45.18 per barrel. Brent crude fell 71 cents to $46.90 a barrel in London.
Hasbro was the worst-performing stock in the S&P 500. It fell $6.78, or 7.9 percent, to $78.84. The company reported better-than-expected overall quarterly earnings, but revenue growth for its boys' toy unit was slower than analysts expected. The unit produces 40 percent of the company's total revenue.
The traditional hiding spots investors have flocked to when scared were mixed. The price of gold was up 0.1 percent to $1,329 per ounce, but U.S. government bond prices fell. The yield on the 10-year Treasury note, which moves in the opposite direction of its price, rose to 1.58 percent from 1.55 percent late Friday.
A slew of companies are scheduled to report their quarterly earnings this week, including nearly a fifth of the S&P 500 index. Analysts have dim expectations, with forecasts for a fourth consecutive decline in earnings.
But many investors will be paying more attention to what companies have to say about upcoming earnings trends than how they did during the spring. Analysts are expecting earnings for the S&P 500 to return to growth in the current quarter, and investors hope to hear CEOs say at least that conditions are improving, if not good.
Britain's FTSE 100 rose 0.4 percent, France's CAC 40 was down 0.3 percent and South Korea's Kospi index rose 0.2 percent. Japan's stock market was closed for a holiday.
The dollar rose to 106.25 yen from 105.53 yen late Friday. The euro edged up to $1.1066 from $1.1063. The pound rose to $1.3283 from $1.3206.