* Ballard Power up on technology partnership with Vertiv

* TSX up 0.3%, its first daily gain in four

June 18 (Reuters) - Canada's main stock index rose on Tuesday, boosted by gains in energy shares, while investors parsed through U.S. retail sales data and Federal Reserve officials' commentary.

At 10:31 a.m. ET (1431 GMT), S&P/TSX was up 61.88 points, or 0.3%, at 21649.65. The Toronto Stock Exchange's composite index gained after three straight sessions of losses, though it hovered around a two-month low it hit last week.

Energy shares rose 2.2% to lead sectoral gains as oil prices firmed, with markets awaiting signs of a summer demand boost even as strong supply threatened to blunt gains.

The materials sector climbed 0.5% as gold prices appreciated.

Information technology shares slipped 0.6%, while communications services stocks lost 0.5%.

Over on Wall Street, equities traded cautiously as investors digested a softer-than-expected U.S. retail sales reading and focused on Fed commentary expected throughout the day.

The Bank of Canada cut its interest rates earlier this month, but noted further easing would be gradual and dependent on data. On the contrary, U.S. Fed has maintained a hawkish stance on monetary policy, indicating only one rate cut later this year.

"Officials will be looking for further evidence and data that supports that disinflationary narrative over the coming months before making any move to lower borrowing costs," said Candice Bangsund, vice president and portfolio manager, global asset allocation at Fiera Capital Corporation.

Among individual stocks, Ballard Power Systems jumped 9.1% after the fuel cell manufacturer announced a technology partnership with packaging firm Vertiv.

(Reporting by Nikhil Sharma and Shashwat Chauhan in Bengaluru; Editing by Shreya Biswas)