If history is an indication, the stock market could extend its rally into December.
U.S. stocks finished the shortened-holiday week with another gain, up for eight consecutive weeks. The set its longest winning streak in nearly 10 years, while it was the Dow's longest consecutive weekly increase in three years. Both indexes are up 6.8 percent and 6.7 percent, respectively, in that period.
Since the 1900s, December is the best month for the Dow, and second-best month for the S&P 500 and Nasdaq. Historically, all three indexes have gained on average between 1 and 2 percent, respectively.
The trend holds in recent times as well. In the past 20 years, the S&P finished positive in December 80 percent of the time, while the Dow industrials rose 75 percent of the time, and 55 percent for the Nasdaq. The real outlier, however, has been the Russell 2000 index, which posted a gain 85 percent of the time, up on average 3.36 percent.
Small-caps outperformed large caps by a large margin in 2013, rising 35 percent compared with an increase of 27 percent for the S&P. It's shaping out to be the best year for the Russell since 2003, and the best for the S&P since 1998.
But the rally may not be over. Below is a look at how the market performed in December during the past 20 years.
—BY CNBC's Giovanny Moreano. Follow him on Twitter: @giovannymoreano