Hi,
I have a dataset with date, time, high/low price transaction price every minute, closing price every minute, for several different companies. The transaction prices are given for one particular day for all the firms. There may also be missing time stamps for some companies.
Based on the Roll Model in finance for calculating the bid-ask spread, I have to calculate the covariance between closing price at t, and closing price at t-1. How can I create a formula for this on excel?
Thank you!
Bookmarks