Hi,
I have daily stock market data but I need to convert it to be monthly. Does anyone know the best way to do this?
I was thinking of taking the first available daily observation in each month to be the 'monthly value', but because I have stock data (and the market is closed on the weekends), I do not always have a value for the the first day of the month. For instance, sometimes the first observation for that month might be on the second day. Does anybody know what code I would use to do this?
Thanks,
Amy
I have daily stock market data but I need to convert it to be monthly. Does anyone know the best way to do this?
I was thinking of taking the first available daily observation in each month to be the 'monthly value', but because I have stock data (and the market is closed on the weekends), I do not always have a value for the the first day of the month. For instance, sometimes the first observation for that month might be on the second day. Does anybody know what code I would use to do this?
Thanks,
Amy
Comment