Oil held an overnight gain as a US cold snap roiled energy markets.