Correct Historical Volatility Formula?

Forums ProRealTime English forum ProBuilder support Correct Historical Volatility Formula?

  • This topic has 2 replies, 2 voices, and was last updated 4 years ago by avatarBard.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #113130

    Which is the correct formula (or approximation) for Daily, 30 Day Historical Volatility (HV)?:

    ivolatility uses the second formula: https://www.ivolatility.com/help/2.html#hv

    I found the first set of code on PRC.

    or:

    Also shouldn’t it be:

    because it’s the sample std deviation we’re calculating?

    Thanks, it’d be good to clear this up as I see it has been discussed in these forums.

    #113131

    I don’t think so, because in this case, in real time, you are calculation a standard deviation offset HVPeriod in the past.

    #113133

    “Offset?”

    Why do ivolatility state for HV calculations: https://www.ivolatility.com/help/2.html#hv

    Note: In denominator we use n-1 instead of n to receive unbiased estimate of general dispersion (a square of a standard deviation). This adjustment is essential if we estimate standard deviation on the basis of a small number of observations.

    Same with this quant site in Step #1: https://www.macroption.com/historical-volatility-calculation/

    So wouldn’t n-1 be more appropriate if we’re attempting to calculate small samples of 10, 30 and 30 day returns from 252 periods?

    Also why is there a divide by “periods” in the first formula – what is that doing, is it needed?

    Cheers!

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login