Wall Street stocks finished higher for a third straight session Thursday, edging up following a round of mostly good earnings and mixed economic data.

A busy day of results featured companies from across the economy, with Railroad Union Pacific, reporting a 30 percent rise in revenues, while Domino's Pizza notched higher comparable stores sales despite a tough comparison with the year-ago period when pizza orders soared during pandemic lockdowns.

Both American Airlines and Southwest Airlines reported quarterly profits in the latest sign of an industry recovery.

Most of the companies reporting scored "positive earnings surprises," said Briefing.com analyst Patrick O'Hare, adding that "the good earnings news cut across industry groups and sectors."

Also Read | Wall Street buries fears around inflation and COVID surge to finish strong

The Dow Jones Industrial Average finished up 0.1 percent at 34,823.35.

The broad-based S&P 500 gained 0.2 percent to 4,367.48, while the tech-rich Nasdaq Composite Index advanced 0.4 percent to 14,684.60.

Stocks have now rallied the last three days after tumbling on Monday on worries about the Delta variant.

New applications for US unemployment benefits saw a surprise uptick last week, climbing to 419,000, an increase of 51,000 over the previous week.

Also Read | US stocks mostly fall in profit taking after records

But sales of existing homes rose higher in the United States last month, snapping a four-month streak of declines.

Prices jumped to a new record, with the median home price hitting $363,300, more than 23 percent higher than a year ago, the National Association of Realtors said.

Among other companies reporting results, Texas Instruments suffered a drop of 5.3 percent due to disappointment over the chip company's forecast.