data preparation for one stock