TORONTO - Canada's biggest stock market closed above the 15,000-mark for the first time in more than five months as oil prices rallied amid hopes that OPEC will strike an output deal.

The Toronto Stock Exchange's S&P/TSX composite index climbed 175.84 points, or 1.18 per cent, to 15,039.87, with energy, metals and materials stocks racking up the most gains.

All three major U.S. stock markets also finished at record levels.

In New York, the Dow Jones industrial average added 88.76 points to 18,956.69, the Nasdaq composite rose 47.35 points to 5,368.86, and the S&P 500 advanced 16.28 points to 2,198.18.

The January crude contract jumped $1.88 at US$48.24 per barrel, helping the Canadian dollar gain half a cent. The loonie was ahead 0.55 of a U.S. cent to 74.55 cents US.

Other commodities were also positive as December gold rose $1.10 to US$1,209.80 an ounce, December natural gas advanced 11 cents to US$2.95 per mmBTU, and December copper contracts went up five cents at US$2.52 a pound.