Stocks close mostly higher on earnings

NEW YORK (AP) - The stock market closed mostly higher Thursday, helped by positive earnings out of several large U.S. companies including Apple and construction equipment maker Caterpillar.

The markets gains were modest, however, as investors turned their eyes back to Russia and Ukraine, where geopolitical tensions were heating up once again. Some earnings reports, such as 3M and Facebook, also failed to impress investors.

It was the seventh time in the last eight days that the S&P 500 has closed higher. Despite the recent upward momentum, traders remain nervous.

The Standard & Poor's 500 index rose 3.22 points, or 0.2 percent, to 1,878.61 and the Nasdaq composite rose 21.37 points, or 0.5 percent, to 4,148.34. The Dow Jones industrial average closed at 16,501.65, unchanged on the day.

Apple was among the biggest gainers in the S&P 500 and helped push the Nasdaq composite up more than the rest of the broader market.

Apple rose $43.02, or 8 percent, to $567.77 after the California-based company reported a profit of $11.62 a share, beating forecasts.

Apple also announced it would increase its share buyback program from $60 billion to $90 billion, raise its quarterly dividend, and split its stock seven-for-one.

Upcoming Events