Oil dips as stocks rise