I've been tring to get an accurate stock beta calculation and am currently stuck. Based on what Dan posted last year, "We are computing your beta to SPY over a trailing 1-year period at the end of each month for a year, and then averaging those results. In practice, that means computing your beta to SPY for the year previous to April 30, 2015, for the year previous to March 31, 2015, for the year previous to February 28, 2015, etc. until we have 12 computations, and then averaging them.", what I've done so far is taking the price from 25, 24, [...] and 12 months ago, then the price from 24, 23, [...] and 11 months ago, and so on, 12 times and putting these 12 results' average in the Wikipedia beta formula (COV/VAR).
The results I get seem to make sense but when I use a backest to buy 1 random share and then print that ticker's beta, according to my calculations, the numbers don't match (at all!).
Can anyone help me figure this one out?
Aitor