The misbehaviour of markets