check to see if works for multiple stocks