Canada’s main stock index retreated while the oil-sensitive loonie climbed higher Friday after rosy economic data increased the odds of an imminent rate hike from the central bank.

The Toronto Stock Exchange’s S&P/TSX composite index gave back 31.23 points to 15,182.19, led by energy stocks, which dropped 0.53%.

The financials sector of the TSX was down 0.39%, while the consumer discretionary sector added 0.53% and gold stocks were up 0.24%.

Meanwhile, the Canadian dollar advanced 0.23 of a U.S. cent to an average price of US77.06¢.

The gain in the loonie came as the August crude contract added US$1.11 to US$46.04 per barrel and as Statistics Canada reported that the economy posted yet another month of solid growth in April.

Meanwhile, a survey from the Bank of Canada found that business sentiment has climbed to its highest level since 2011.

“Over the last couple of weeks we have seen a change in the tone from the Bank of Canada in signalling that there is a higher probability of a rate increase in Canada, so that’s being reflected in stocks,” says Colum McKinley, vice president of Canadian equities at CIBC Asset Management. “The Bank of Canada is saying that the economy is stronger than they had envisioned, and ultimately that’s good for earnings and profitability. On the financials, obviously higher rates are positive for bank earnings but investors will worry about the effect that could have on housing.”

In New York, the Dow Jones industrial average gained 62.60 points to 21,349.63 and the S&P 500 composite index edged up 3.71 points to 2,423.41 while the Nasdaq composite index declined by 3.93 points to 6,140.42.

The August crude contract added US$1.11 to US$46.04 per barrel and the August natural gas contract slipped almost a cent to US$3.04 per mmBTU.

The August gold contract was down US$3.50 to US$1,242.30 an ounce and the September copper contract added US2¢ to US$2.71 a pound.