It might be a blue Christmas for Amazon.

The world's largest online retailer gave a disappointing forecast for the crucial holiday season. The company also reported a wider loss than analysts expected for the third quarter.

Amazon has been investing heavily in an array of new products as it works on trying to grow its Amazon Prime membership base. The new products include its Fire smartphone, music and video streaming services and new versions of its Kindle tablet.

Investors have been patient with thin profits, but that patience might not last: Amazon's shares are down 22 percent this year. They fell another 11 percent on Thursday, as the company said it expects holiday revenue of $27.3 billion and $30.3 billion, below analyst expectations of $30.86 billion.