Skip to content

Commit

Permalink
Fixed quantopian#61, annualization of Sortino Ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieleiacono committed Nov 10, 2017
1 parent dd634dd commit e3166af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion empyrical/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def sortino_ratio(returns, required_return=0, period=DAILY,
else downside_risk(returns, required_return,
period=period, annualization=annualization))
sortino = mu / dsr
return sortino * ann_factor
return sortino * np.sqrt(ann_factor)


def downside_risk(returns, required_return=0, period=DAILY,
Expand Down

0 comments on commit e3166af

Please sign in to comment.