Change to allow any stock type to be used