Stock indexes in the United States edged higher in midday trading on Monday, holding at record levels, as investors looked past a failed military coup in Turkey. Technology stocks led the way.

KEEPING SCORE The Standard & Poor’s 500-stock index was up five points, or 0.2 percent, to 2,167. The Dow Jones industrial average rose 31 points, or 0.2 percent, to 18,548. The Nasdaq composite climbed 32 points, or 0.6 percent, to 5,062. Six of the 10 sectors that make up the S.&P. 500 were up.

CARRY ON This past weekend’s attempted coup in Turkey, which began after most stock markets closed for trading on Friday, initially jolted 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. In addition, economic reports around the world have come in better than analysts expected.

“There is a firmer footing to the global economy, and this isn’t enough to knock that narrative,” Mr. Peron said.

Read the complete article…