validate stock selection