Nothing puts investors into the holiday spirit more than a nice rally, and that's exactly what the market gave them today. Despite mixed economic data, a positive reading on leading economic indicators and a rise in consumer confidence to a five-year high helped distract from fears about the looming fiscal cliff, and a cease-fire in the Middle East helped soothe geopolitical turmoil. The Dow Jones Industrials (^DJI -0.98%) finished the day up 48 points, with other broad market measures following suit with modest gains.

Leading the way higher was Hewlett-Packard (HPQ 0.11%), which reversed a small portion of its huge losses yesterday in gaining about 2% today. Many analysts, including Fool contributor Travis Hoium, are skeptical that today's bounce is anything other than a knee-jerk reaction to yesterday's plunge. Until HP starts to address fundamental problems facing its business more successfully, a lasting recovery will remain elusive.

Bank of America (BAC -1.07%) rose 1.5% as analyst upgrades have been pouring into the stock. Even with the stock's gains, though, B of A remains a shell of its former self, and it's uncertain how the bank will be able to grow in a regulatory environment that restricts its ability to do business to a much greater extent than before the financial crisis. Moreover, B of A's competitors haven't been standing still, and Wells Fargo (WFC -1.11%) in particular seems to have dealt with its mortgage woes a lot more efficiently than B of A has.

Finally, Microsoft (MSFT -2.45%) climbed almost 1%. A trial in connection with a lawsuit from Google over wireless technology patents ended today, with Google seeking royalties for Microsoft's use of patented technology belonging to Motorola Mobility. The two sides are far apart on damage estimates, with Microsoft arguing $1 million in annual payments is fair compensation, while Google seeks closer to $4 billion. Patent litigation has become a key part of the tech industry lately, and these high-profile players are only the latest in a long series of fights.