# Does your Parkinson volatility ratio work as Taleb explained?

According to Dynamic Hedging: Managing Vanilla and Exotic Options (Taleb, 1997), the Parkison volatility estimator has several meaningful properties. It is defined

$$P=\sqrt{\frac{1}{n}\sum_{i=1}^{n}\frac{1}{4\log\left(2\right)}\left(\log\left(\frac{S_{H,i}}{S_{L,i}}\right)\right)^{2}}$$

where $$S_{H}$$ and $$S_{L}$$ are the «close-to-close registered high and the registered low respectively in any particular time frame». From Taleb:

An important use of the Parkinson number is the assessment of the distribution of prices during the day as well as a better understanding of market dynamics. Comparing the Parkinson number and the periodically sampled volatility helps traders understand the mean reversion in the market as well as the distribution of stop-losses. Some clear rules can be derived from that information. Comparing the Parkinson number $$P$$ with the definition of periodically sampled historical volatility gives this result:

$$P=1.67\sigma'$$

Such measurement cannot be used to compare close-to-close volatility with intraday high/low. It can compare 24-hour high/low to data sampled every day at the same time. For markets, like most equities, which trade during the day only, it is better to use open-to-close volatility.

Whats $$\sigma'$$? It's defined as the noncentered volatility estimator:

$$\sigma'=\sqrt{\frac{1}{n}\sum_{t=1}^{n}x_{t}^{2}}$$

So Taleb suggests to set $$x_{t}=\log\left(C_{t}\right)-\log\left(O_{t}\right)$$ from a typical OHLC time series and then plot the ratio $$z_{t}=P_{t}/\sigma'_{t}$$: when $$z_{t}>1.67$$ we're in a mean reverting market, trending elsewhere. A figure shows that the Parkinson number ratio to the volatility is «strikingly convincing» because there seems to be a clear bias in favor of a wider high/low range than assumed by random walk when applying the ratio to U.S. Treasury bond futures from Aug-1992 to May-1995: The problem arises when trying to reproduce such results. I downloaded many time series from Bloomberg, but everytime it seems that $$P_{t}<1.67\sigma'_{t}$$. Moreover, I picked even the same time series over the same period and my calculatiosn are really different: $$1.67$$ seems a cap rather than a floor. So I'm going to share my R snippet to see what's wrong with my code. ohlc is the OHLC time series and I've loaded quantmod and magrittr packages. Then:

parkinson.vol <- TTR::volatility(OHLC = ohlc,
n = 20,
calc = 'parkinson')
taleb.vol <- OpCl(ohlc) ^ 2 %>%
runMean(n = 20) %>%
sqrt() * sqrt(260)
parkinson.ratio <- parkinson.vol / taleb.vol


Furthermore, Taleb says that:

Additional testing by the author shows the bias to be permanent in close to the 20 markets surveyed.

Are you able to reproduce Taleb's results?

• One thing is definetely wrong in your calculation because by definition one has $|H-L|>|C-O|$ so term by term the parkinson vol must be higher than non-centered vol. If the ration is calculated correctly then it must have 1 as lower bound at least but it seems you get lower than 1. Do i read your plots correctly ? – Ezy Jan 30 '19 at 17:36
• Yes, you do. But I can't get what's wrong with my code. Parkinson volatility is calculated with a trusted R package. My volatility estimator seems quite straightforward. Do you get different results with any time series? We can make some trials... – Lisa Ann Jan 31 '19 at 8:23
{"ft_lang_label":"__label__en","ft_lang_prob":0.873922,"math_prob":0.98949474,"size":2894,"snap":"2021-31-2021-39","text_gpt3_token_len":759,"char_repetition_ratio":0.105190314,"word_repetition_ratio":0.0,"special_character_ratio":0.26088458,"punctuation_ratio":0.10695187,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.996826,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,6,null,6,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-08-02T19:28:20Z\",\"WARC-Record-ID\":\"<urn:uuid:94c5e548-baca-4b35-bd44-c5f8a2ce733c>\",\"Content-Length\":\"165714\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1a94a32d-3555-44f3-a7a4-dd0c3835ff01>\",\"WARC-Concurrent-To\":\"<urn:uuid:dd5b0811-4147-495d-a688-31c2b2b51683>\",\"WARC-IP-Address\":\"151.101.193.69\",\"WARC-Target-URI\":\"https://quant.stackexchange.com/questions/43794/does-your-parkinson-volatility-ratio-work-as-taleb-explained\",\"WARC-Payload-Digest\":\"sha1:JV67X2OEQATBRY5D2QYQCSRTJO5TFHIB\",\"WARC-Block-Digest\":\"sha1:6W3RZZ5RXIH4MA7XZFVVQGS37K4YO2PH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046154356.39_warc_CC-MAIN-20210802172339-20210802202339-00550.warc.gz\"}"}