Stocks had their best day of the year on Wednesday as the Dow Jones Industrial Average (DJINDICES:^DJI) raced past 21,000 points and the S&P 500 (SNPINDEX:^GSPC) added over 1.25%.

Today's stock market


Percentage Change

Point Change




S&P 500



Data source: Yahoo! Finance.

Financial stocks led the rally, with the Financial Select Sector SPDR ETF (NYSEMKT:XLF) jumping 3%. Gold-focused exchange-traded funds also enjoyed market-beating gains; the Direxion Daily Jr Gld Mnrs Bull 3X ETF (NYSEMKT:JNUG) rose 6% for the day.

Outside the stock exchange in New York.

Image source: Getty Images.

Office Depot (NASDAQ:ODP) and Palo Alto Networks (NYSE:PANW) were some of the biggest individual stock movers following significant surprises in the companies' quarterly earnings reports.

Office Depot's improving holiday quarter

Office Depot shares jumped 16.5% after the retailer posted encouraging, even if still negative, operating trends. Sales declined 2% to $2.73 billion over the holiday quarter, beating analyst expectations for a sharper drop to $2.71 billion. Gross profit margin ticked up to 24% of sales from 23.7% in the year-ago period. That improvement, plus the benefits of lower operating expenses, led to a solid earnings spike. Net income improved to $80 million from $15 million. After accounting for unusual charges, adjusted operating margin expanded to 4.1% of sales from 3% as both the retailing and business solutions divisions enjoyed higher profitability.

"The company made significant progress against its 2016 critical priorities and achieved substantial integration synergies" from the OfficeMax merger, CEO Gerry Smith said in a press release.

Smith and his team are projecting another year of declining sales ahead, primarily due to store closures. Executives believe the retailer will get closer to breakeven as 2017 progresses, though.

Meanwhile, the OfficeMax merger is paying dividends just as expected, with annual cost savings passing $750 million. The prospect for sales growth nearly a year off isn't particularly exciting, but it's better than many investors had feared, and so the stock recovered some of of its recent losses on Wednesday.

Palo Alto Networks' growth slowdown

Cybersecurity specialist Palo Alto Networks sank 24% after missing fiscal second-quarter growth targets and forecasting an even weaker short-term outlook. Sales rose by 26%, marking a slowdown from the prior quarter's 34% increase and falling outside of the 27% to 29% forecast range that management issued back in November. On the bright side, earnings were squarely on target, with non-GAAP net income rising 47% to $0.63 per share.

A visualization of cybersecurity.

Image source: Getty Images.

Executives suggested that the growth shortfall came from the mishandling of a few large contract deals that gummed up the new business pipeline. "We were disappointed that we came in below top-line expectations due to some execution challenges," CEO Mark McLaughlin said in a press release. Management is in the process of addressing those problems, McLaughlin explained.

Palo Alto Networks has its deepest-yet portfolio of next-generation security offerings, which should help it convince more IT managers to sign on for its protection services. Yet the company sees no quick growth rebound ahead. Sales are projected to rise by 17% to 20% as it works on improving contract execution in the fiscal third quarter -- far lower than the 31.5% spike that Wall Street was targeting.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.