The Canadian dollar closed lower Wednesday amid data showing slightly fewer housing starts last month and lower oil and gold prices.

The loonie was was off 0.1 of a cent to $1.0125 (U.S.) as Canada Mortgage and Housing Corp. reported that December housing starts came in at a seasonally adjusted annual rate of 197,976.

That was down slightly from 201,376 starts in November but still higher than the 195,000 that economists had expected.

Story continues below advertisement

CMHC said the decline was due to fewer starts in rural areas of the country while Canadian urban starts remained stable.

"Today's data suggest that the homebuilding sector, once an engine of growth for the Canadian economy, is on a clear softening trend," said CIBC World Markets economist Emanuella Enenajor.

Commodity prices were mixed.

Oil shed early gains after the U.S. Energy Information Administration reported a 1.3-million-barrel climb in crude supplies last week, which was actually below the 1.5-million-barrel gain that economists expected. But gasoline inventories jumped 7.4 million barrels, much higher than the 2.6 million that had been forecast.

Story continues below advertisement

February crude drifted 5 cents lower to $93.10 a barrel.

March copper on the New York Mercantile Exchange was unchanged at $3.67 a pound.

February gold bullion lost $6.70 to $1,655.50 an ounce.

Bullion and gold stocks have suffered in recent days because of uncertainty about whether the U.S. Federal Reserve might end its stimulus program of bond buying in the second half of 2013. Minutes from the Fed's latest policy meeting showed a split over how long to continue the purchases amid concerns that they could destabilize the economy.

Story continues below advertisement

The bond buying, known as quantitative easing, has supported bullion prices because of worries the program would drive inflation higher.