Dear users
I would like to calculate the 52-Week High stock price on a certain date. What I have right now is a list of dates with the Stock Price/day. So I would like to generate a new variable that gives me the max value over a period of 52 weeks before that date. See the screen below for an example of my data set. I hope my question is clear enough this way.
I would like to calculate the 52-Week High stock price on a certain date. What I have right now is a list of dates with the Stock Price/day. So I would like to generate a new variable that gives me the max value over a period of 52 weeks before that date. See the screen below for an example of my data set. I hope my question is clear enough this way.
Comment