I am trying to compute the contest score using the data from get_backtest().daily_performance["returns"] and the formula given in the contest rules https://www.quantopian.com/contest/rules, but there it is not specified what is meant by volatility:
Is it the a)returns volatility or the b)portfolio equity volatility?
According to my calculations the score published on the 8/2/2019 leaderboard (I think it has not been updated for few days so the could be a bug there) is not obtained from neither a) or b), but in this notebook https://www.quantopian.com/posts/contest-constraint-check-notebook-with-compact-output it is computed using a). Is there any public code with the exact calculation of the score?
By the way I don't think the function in volatility_adjusted_daily_return in that notebook is consistent with the mathematical definition give at https://www.quantopian.com/contest/rules, because it uses the annualized volatility instead of the 63 trailing volatility.
Thanks
JC