The stock market recovered from a midday swoon caused by the latest worries over Ukraine and ended little changed.
Renewed fighting in Ukraine rattled markets on Friday. Reports that Ukrainian forces attacked Russian military vehicles that had crossed the border knocked stock markets down in the afternoon and sent traders into the safety of U.S. government bonds.
By the end of the day, the Standard & Poor's 500 index was back to where it started as investors realized that a wider conflict wasn't underway.
John Canally, the chief economic strategist at LPL Financial, said it's understandable that traders dropped stocks in response to the flare-up. “Anyone who doesn't want to lose their job over the weekend sells first and asks questions later,” he said.
Canally suspects the dispute between Russia and Ukraine will likely follow the pattern of recent months. Worrying headlines will be followed by soothing speeches. “We've been here before,” he said.
The S&P 500 index fell 0.12 of a point to 1,955.06. It ended the week with a gain of 1.2 percent.
The Dow Jones industrial average fell 50.67, or 0.3 percent, to 16,662.91, while the Nasdaq composite gained 11.93 points, or 0.3 percent, to 4,464.93
Mark Luschini, chief investment strategist at Janney Montgomery Scott, said that one reason world events seem to be driving trading recently is that there's a lack of anything else for traders to focus on. All but a handful of big companies have turned in second-quarter results already, and no major economic reports came out this week.
“For the moment, geopolitical events seem to hold the interest of the few people at their desks in mid-August,” Luschini said.
The news crossed at mid-morning Eastern time that a column of Russian armored carriers had crossed into Ukraine late Thursday. Ukraine claimed that its artillery fire destroyed most of the vehicles, but Russia denied that it happened.
The reports upended major European markets, turning gains into losses. Germany's DAX dropped 1.4 percent, after climbing 1.1 percent earlier. France's CAC 40 lost 0.7 percent.
The yield on the 10-year Treasury note plunged as low as 2.30 percent, the lowest since June 2013, as traders seeking safety shifted money into U.S. government bonds. In late afternoon trading the yield climbed back to 2.34 percent, still down from 2.40 percent late Thursday.
Among companies in the news, Monster Beverage soared 30 percent after Coca-Cola announced plans to pay $2 billion for a stake in the maker of caffeinated drinks. The deal comes as Coca-Cola's flagship soda business is flagging and “energy drinks” have become popular. Monster jumped $21.84 to $93.49.
Supervalu, a grocery store chain, said hackers gained access to its computer network for handling credit-card transactions. The company said it isn't sure yet if customers' account numbers and other information were stolen. Supervalu fell 28 cents, or 3 percent, to $9.31.
After the market closed Wednesday, Nordstrom reported a slight drop in earnings as well as sales that fell just short of analysts' estimates. The department-store's stock slid $3.58, or 5 percent, to $65.11.
In commodities trading, Benchmark U.S. crude oil rose $1.77 to $97.35 a barrel.
The price of gold fell $9.50 to $1,306.20 an ounce. Silver fell four cents to close at $19.53 an ounce and copper edged up a penny to $3.10 a pound.