The Canadian dollar softened on Wednesday to its weakest close in one-and-a-half weeks against the U.S. dollar as depressed oil prices offset the Bank of Canada's shift to a more hawkish stance.

The Bank of Canada's top two officials said last week that rate cuts put in place in 2015 had largely done their work, and the bank would assess whether rates need to be kept at near-record lows.

But with the price of oil, a main Canadian export, hitting a 10-month low, having dropped some 20 per cent since peaking in late February, some currency strategists said it was wiping out expectations the central bank could raise rates sooner rather than later.

"It's really changed the tone that we saw over the last couple of weeks where we saw the loonie rising on the basis of strong economic fundamentals," said Rahim Madhavji, president at KnightsbridgeFX.com, who is expecting the loonie to struggle over the next couple of quarters.

"I think the rosiness of the loonie is gone ... It's back to grinding lower."



At 4:00 p.m. ET, the Canadian dollar was trading at $1.3318 to the greenback, or 75.09 cents US, down 0.4 per cent.

The currency's strongest level of the session was $1.3263, while it touched its weakest in one-and-a-half weeks at $1.3348.

U.S. crude prices were down 2.3 per cent to US$42.51 a barrel as growing U.S. production and reduced Chinese refinery activity fed mounting concern over excess global supply.

Canadian government bond prices were mostly higher across the yield curve, with the two-year up half a cent to yield 0.908 per cent and the 10-year rising 10 cents to yield 1.489 per cent.

The Bank of Canada's auction of $3 billion 10-year bonds on behalf of the federal government yielded an average 1.504 per cent.

Canadian retail sales data for April is due out on Thursday, while inflation data for May is due on Friday.