Oil prices edge higher but trade row caps gains