There’s optimism on Wall Street that military operations in the Persian Gulf may be winding down, but oil markets remain on edge.