However investors shouldn't be complacent about the risks from rising prices