Skip to content

Commit

Permalink
Remove information_ratio to stay current with empyrical
Browse files Browse the repository at this point in the history
  • Loading branch information
twiecki committed Jun 23, 2017
1 parent 04614e8 commit a34222e
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions pyfolio/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,32 +291,6 @@ def sharpe_ratio(returns, risk_free=0, period=DAILY):
return empyrical.sharpe_ratio(returns, risk_free=risk_free, period=period)


@deprecated(msg=DEPRECATION_WARNING)
def information_ratio(returns, factor_returns):
"""
Determines the Information ratio of a strategy.
Parameters
----------
returns : pd.Series or pd.DataFrame
Daily returns of the strategy, noncumulative.
- See full explanation in :func:`~pyfolio.timeseries.cum_returns`.
factor_returns: float / series
Benchmark return to compare returns against.
Returns
-------
float
The information ratio.
Note
-----
See https://en.wikipedia.org/wiki/information_ratio for more details.
"""

return empyrical.information_ratio(returns, factor_returns)


@deprecated(msg=DEPRECATION_WARNING)
def alpha_beta(returns, factor_returns):
"""
Expand Down

0 comments on commit a34222e

Please sign in to comment.