Major US indexes stood stock-still for the third consecutive day Thursday as gains for retailers were canceled out by losses for banks and other companies.
Energy companies again headed lower after a sharp drop in oil prices the day before. Amazon and media company Viacom led consumer-focused companies higher. The Nasdaq Composite inched higher and notched its eighth gain in a row.
Banks fell along with interest rates after the Labor Department reported that wholesale prices were little changed in July. That’s a sign inflation pressures weakened slightly, which could encourage the Federal Reserve to go slower in its process of raising interest rates.
Activity on Wall Street this week has been light, and investors seem to have set aside their worries about international trade tensions. The S&P 500 made a solid gain Monday but has hardly budged since then. The VIX, a measure of how much volatility investors expect, has fallen to its lowest level since early January.
‘‘It’s not that risk has gone away,’’ said JJ Kinahan, chief market strategist for TD Ameritrade. ‘‘Quantifiable risk is not there right now.’’
The S&P 500 index fell in the final minutes of trading, closing down 0.1 percent, to 2,853.58. The Dow Jones industrial average slipped 0.3 percent, to 25,509.23.
The Nasdaq added 3.46 points to 7,891.78. The Russell 2000, an index of smaller companies, added 0.2 percent, to 1,690.89.
The Labor Department said wholesale prices were unchanged in July. Gas and food prices both slipped and soybeans prices tumbled, probably reflecting a buildup in stockpiles after China imposed tariffs on them in retaliation for US duties.
Bond prices jumped. The yield on the 10-year Treasury note fell to 2.93 percent from 2.97 percent. That hurt banks, as lower interest rates make long-term loans like mortgages less profitable.
Several companies traded on deal news, but most of the news was about deals that fell apart. Rite Aid called off its sale to the grocery chain Albertsons following opposition from advisory firms and one of Rite Aid’s biggest shareholders. Rite Aid fell 11.5 percent.
Walgreens tried to buy Rite Aid last year, but settled for buying about half of its stores after regulators opposed a full sale. The company has been struggling with high debt and tough competition.
Tribune Media withdrew from its planned sale to Sinclair Broadcasting and said it will sue Sinclair for breach of contract. Both stocks plunged in mid-July when the Federal Communications Commission expressed major concerns about the deal.
Tribune rose 2.9 percent and Sinclair added 2.6 percent Thursday.
Electric car maker Tesla tumbled 4.8 percent. The stock surged 11 percent Tuesday, mostly because CEO Elon Musk tweeted that he was considering taking Tesla private.
The Wall Street Journal has reported that the Securities and Exchange Commission has opened an inquiry into the wording and the method of Musk’s announcement, while Bloomberg News reported that the SEC started an inquiry even before the tweet.
Tesla has given up most of Tuesday’s gain, suggesting investors are dubious about the potential deal.
Business information provider Dun & Bradstreet agreed to be bought by a group of investors for $145 a share, or about $5.4 billion. The stock rallied 15.8 percent.
The S&P 500 is on track for its sixth weekly gain in a row as an unusually strong round of corporate earnings winds down. Retailers including Macy’s and Walmart are scheduled to report their results next week, and Kinahan, of TD Ameritrade, said stocks could resume their upward climb if those companies say shoppers are still spending freely.
Online reviews company Yelp jumped 26.7 percent after it raised its revenue forecast and said advertising revenue surged in the second quarter. Video streaming company Roku climbed 21.3 percent after it took a smaller loss than analysts expected while its revenue surpassed expectations.
Travel site Booking Holdings lost 5 percent after a weak profit forecast. Drug maker Perrigo cut its forecasts because of weak results from its prescription business and said it plans to split that unit into a separate company. The stock sank 10.6 percent.
Crude prices stabilized following a 3 percent drop a day earlier. Benchmark US crude oil dipped 0.2 percent to $66.81 a barrel in New York. Brent crude, the standard for international oil prices, lost 0.3 percent to $72.07 in London.