stock validate