Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ranaroussi committed Jun 22, 2023
1 parent f7d71b0 commit d30dd6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quantstats/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ def _prepare_returns(data, rf=0., nperiods=None):
unnecessary_function_calls = ['_prepare_benchmark',
'cagr',
'gain_to_pain_ratio',
'rolling_volatility',]

'rolling_volatility']

if function not in unnecessary_function_calls:
if rf > 0:
Expand Down

0 comments on commit d30dd6c

Please sign in to comment.