By Anora Mahmudova and Victor Reklaitis, MarketWatch

Facebook shares drop more than 4%, weighing on main indexes

U.S. stocks traded mostly higher Thursday, with the S&P 500 struggling to end its longest losing streak in five years as investors grappled with mixed economic data and earnings, as well as growing uncertainty about the tightening presidential race.

A number of economic reports, including jobless claims, productivity data, factory orders and the nonmanufacturing ISM survey, underlined a theme of steady economic growth and were seen as strong enough to justify expectations for the Federal Reserve to raise interest rates at its December meeting. The central bank kept interest rates unchanged Wednesday, but signaled that it's inching closer to a December interest-rate hike (http://www.marketwatch.com/story/fed-doesnt-need-to-see-much-more-evidence-before-raising-interest-rates-2016-11-02).

The S&P 500 inched up by 3 points, or 0.1%, to 2,100, with six of the main 11 sector trading higher. Consumer discretionary and health-care sector led the gains.

On Wednesday, the S&P 500 closed lower for the seventh session in a row, notching its longest losing streak in five years (http://www.marketwatch.com/story/us-stocks-under-pressure-as-tighter-election-race-rattles-investors-2016-11-02), with analysts suggesting the tightening race for the U.S. presidency is unsettling investors.

"The market is acting uneasy, restless and nervous, which is why we are seeing a measured drift with weak undertones. Investors are not scared, but on top of who might win, there is uncertainty about whether the results would be accepted," said Michael Antonelli, equity sales trader at Robert W. Baird & Co.

The Dow Jones Industrial Average was up 32 points, or 0.2%, at 17,992, with more than 20 of the 30 components gaining ground.

The Nasdaq Composite was off by 6 points, or 0.1%, at 5,099, as sharp losses in Facebook, one of its largest components, limited gains.

Shares in Facebook(FB) dropped 4.4% after the social-media giant warned (http://www.marketwatch.com/story/facebook-needs-its-big-bets-to-pay-off-soon-after-spooking-investors-2016-11-02) late Wednesday that growth rates for its advertising revenue will "come down meaningfully." The stock's drop also limited the S&P's gain.

The White House race continued to be a key factor.

"Based on the latest polls, Hillary Clinton is still favored to win, but the margin of victory has narrowed. Assuming the baseline scenario of a Clinton presidency and Republican majority in the House, we think the coast will be clear for the Fed to deliver a hike in December," wrote analysts at Bank of America Merrill Lynch.

"Markets remain very much focused on the outcome of next week's U.S. presidential election," said Tony Cross, market analyst for TopTradr, in a note.

"Donald Trump's turnaround in the opinion polls is being taken seriously by financial markets, with short USD positions building and a breakdown in U.S. equity markets being observed, too."

"Short USD positions" refers to bets against the dollar, and a key index for the buck traded down modestly Thursday, stretching its weekly decline to 1.1%.

Hillary Clinton's lead in a RealClearPolitics average of polls stood at 1.9 points (http://www.realclearpolitics.com/epolls/2016/president/us/general_election_trump_vs_clinton-5491.html) early Thursday, up from 1.7 on Wednesday but still down sharply from about 7 points in mid-October.

See also:5 reasons stocks will rally after the presidentialelection (http://www.marketwatch.com/story/five-reasons-stocks-will-rally-after-the-us-presidential-election-2016-11-03)

Individual movers: On the upside, natural gas producer (http://www.marketwatch.com/story/chesapeake-energys-stock-soars-after-surprise-adjusted-profit-2016-11-03)Chesapeake Energy Corp.(CHK) rallied 7.2%, after quarterly results, while cosmetics seller (http://www.marketwatch.com/story/avon-swings-to-profit-but-revenue-hurt-by-dollar-2016-11-03)Avon Products Inc.(AVP) gained 3.8% following better-than-expected profits.

Whole Foods Market Inc.(WFM) advanced 3.1% after the grocery chain late Wednesday announced better-than-expected profit (http://www.marketwatch.com/story/whole-foods-shares-rise-after-earnings-beat-dividend-hike-2016-11-02), a dividend hike and the elimination of its dual-CEO structure (http://www.marketwatch.com/story/john-mackey-to-be-sole-ceo-of-whole-foods-market-2016-11-02), leaving co-founder John Mackey as sole boss.

On the downside, fitness-tracker seller Fitbit Inc.(FIT) plunged 29% after results and outlook came in below Wall Street's expectations (http://www.marketwatch.com/story/flex2-manufacturing-issues-will-hurt-fitbits-holiday-season-2016-11-02)

Games maker Zynga Inc.(ZNGA) shares rose despite missing earnings and revenue estimates (http://www.marketwatch.com/story/zynga-posts-loss-as-number-of-active-users-dips-2016-11-02).

Other markets: The pound jumped to an almost four-week high (http://www.marketwatch.com/story/pound-leaps-after-court-delivers-blow-to-uks-brexit-plan-2016-11-03) against the dollar on Thursday after a U.K. court ruled the government can't trigger the Brexit process without approval from parliament. Oil futures and European stocks traded higher, while Asian markets closed mixed. Gold futures dropped, paring their gain for the week.

Economic news:The number of people who applied for unemployment benefits (http://www.marketwatch.com/story/jobless-claims-hit-3-month-high-of-265000-2016-11-03)at the end of October rose by 7,000 to a three-month high of 265,000, but the rate of layoffs in the U.S. remains extremely low.

Meanwhile, American firms and employees boosted their productivity (http://www.marketwatch.com/story/us-productivity-surges-31-in-third-quarter-2016-11-03)in the third quarter for the first time in 2016, but the longer-term trend is still a poor one that bodes ill for the U.S. economy.

Factory orders rose (http://www.marketwatch.com/story/factory-orders-see-third-straight-rise-in-september-2016-11-03) 0.3% in September. Meanwhile, ISM services index fell to 54.8% in October from 57.1%, below the 56% forecast by economist polled by MarketWatch.

(END) Dow Jones Newswires

November 03, 2016 11:42 ET (15:42 GMT)

Copyright (c) 2016 Dow Jones & Company, Inc.