TORONTO - Canada's benchmark stock index dipped on Wednesday, breaking a five-session stretch of gains, pressured by a sharp fall in shares of online retail platform Shopify Inc (SHOP.TO) and losses in the energy sector as oil fell.

Shopify, which was the most influential mover on the index, slid 11.5 per cent to $128.95 after short-seller Citron Research commented negatively about the company.

The overall information technology group retreated 1.3 per cent, while energy dropped 0.6 per cent as a surprise jump in U.S. crude exports fanned worries about global oversupply.

U.S. crude prices settled 0.9 per cent lower at US$49.98 a barrel and Canadian Natural Resources Ltd (CNQ.TO) also lost 0.9 per cent, to end at $41.87. 

The Toronto Stock Exchange's S&P/TSX composite index closed down 7.51 points, or 0.05 per cent, at 15,721.

"It's a breather" after a very strong run, said Ian Nakamoto, equity specialist at MacDougall, MacDougall & MacTier, a division of Raymond James.

The index has rallied more than 5 per cent since August, moving within range of its February record peak at 15,943.09.

"I expect to take that out by the end of the year," Nakamoto said. "The stars are all lining up for Canada."

Solid growth in many major countries is boosting the outlook for commodity-linked shares and investors are embracing high dividend paying stocks, Nakamoto added.

The resources group accounts for 30 per cent of the TSX's weight, while the shares of financials, which tend to pay high dividends, account for nearly 35 per cent.

Financials ended near flat on Wednesday. But the materials sector, which includes miners and fertilizer companies, added 0.6 per cent as gold prices rose.

Franco Nevada Corp climbed 1.1 per cent to $98.34.

Just four of the index's 10 main sector groups ended lower. Advancing issues outnumbered declining ones by 137 to 105, for a 1.30-to-1 ratio on the upside.