Europe’s biggest investment banks missed out on gains from commodities in quarter marked by oil swings